NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/39302: can't compile non-WAPBL kernel



>Number:         39302
>Category:       kern
>Synopsis:       can't compile non-WAPBL kernel
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 06 17:00:00 +0000 2008
>Originator:     Martin Husemann
>Release:        NetBSD 4.99.72
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 4.99.72 NetBSD 4.99.72 (NELLY.MP) #42: Mon Aug 
4 15:50:32 CEST 2008 
martin%emmas.aprisoft.de@localhost:/nelly/usr/src/sys/arch/sparc64/compile/NELLY.MP
 sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Trying to build a kernel for a diskless configuration fails:

cc1: warnings being treated as errors
../../../../ufs/ffs/ffs_alloc.c: In function 'ffs_freefile':
../../../../ufs/ffs/ffs_alloc.c:2158: warning: empty body in an if-statement

>How-To-Repeat:
n/a

>Fix:
define UFS_WAPBL_UNREGISTER_INODE() to do { } while (0) instead of nothing?



Home | Main Index | Thread Index | Old Index