Current-Users archive

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

build failure in current in ndiscvt



systm.h has types included #ifdef _KERNEL, but it seems bool is needed
for mp_online.  I couldn't figure this out in a few minutes.


/usr/obj/gdt-current/tools/bin/nbmake-i386 
#   compile  ndiscvt/ndiscvt.o
/usr/obj/gdt-current/tools/bin/i386--netbsdelf-gcc -O2 -I. 
-I/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt 
-I/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/../../sys  -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings 
-Wextra -Wno-unused-parameter -std=gnu99  -Werror   -nostdinc -isystem 
/usr/obj/gdt-current/destdir/i386/usr/include   -c    
/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/ndiscvt.c
In file included from 
/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/../../sys/compat/ndis/nbcompat.h:4,
                 from 
/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/../../sys/compat/ndis/pe_var.h:39,
                 from /n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/ndiscvt.c:59:
/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/../../sys/sys/systm.h:95: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before 'mp_online'

*** Failed target:  ndiscvt.o
*** Failed command: /usr/obj/gdt-current/tools/bin/i386--netbsdelf-gcc -O2 -I. 
-I/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt 
-I/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/../../sys -Wall 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare 
-Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings 
-Wextra -Wno-unused-parameter -std=gnu99 -Werror -nostdinc -isystem 
/usr/obj/gdt-current/destdir/i386/usr/include -c 
/n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt/ndiscvt.c
*** Error code 1

Stop.
nbmake: stopped in /n0/gdt/NetBSD-current/src/usr.sbin/ndiscvt



Home | Main Index | Thread Index | Old Index