Current-Users archive

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

Re: build faillure




On Apr,Wednesday 1 2009, at 10:23 AM, NONAKA Kimihiro wrote:

Today's source can't build.

#   compile  crash/db_command.o
/usr/local/netbsd-tools/bin/i486--netbsdelf-gcc -O2  -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra
-Wno-unused-parameter  -Werror   -I/usr/src/usr.sbin/crash
-I/usr/src/usr.sbin/crash/obj.i386 -I/usr/src/usr.sbin/crash/../../sys
-fno-strict-aliasing -DDDB_VERBOSE_HELP -DDB_MAX_LINE=10000000
-D_KMEMUSER -nostdinc -isystem
/home/snapshot/20090331/root/i386/usr/include   -c
/usr/src/usr.sbin/crash/../../sys/ddb/db_command.c
In file included from /usr/src/usr.sbin/crash/obj.i386/x86/cpu.h:58,
from /usr/src/usr.sbin/crash/obj.i386/machine/cpu.h: 40,
                from /usr/src/usr.sbin/crash/../../sys/sys/cpu.h:34,
from /usr/src/usr.sbin/crash/../../sys/ddb/ db_command.c:89:
/usr/src/usr.sbin/crash/obj.i386/x86/via_padlock.h:62: error: expected
specifier-qualifier-list before 'rndsource_element_t'


This patch fixes build for me, but it exposes rnd.h to crash command.

Attachment: rnd.h.diff
Description: Binary data


Regards

Adam.



Home | Main Index | Thread Index | Old Index