Port-vax archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Problems compiling kernel from NetBSD-current
Hi,
I run into two problems when crosscompiling vax kernel
1
cc1: warnings being treated as errors
/n4/usr/src/sys/arch/vax/vax/machdep.c: In function 'dumpsys':
/n4/usr/src/sys/arch/vax/vax/machdep.c:431: warning: format '%u'
expects type 'unsigned int', but argument 2 has type 'long long
unsigned int'
/n4/usr/src/sys/arch/vax/vax/machdep.c:431: warning: format '%u'
expects type 'unsigned int', but argument 3 has type 'long long
unsigned int'
/n4/usr/src/sys/arch/vax/vax/machdep.c:435: warning: format '%u'
expects type 'unsigned int', but argument 2 has type 'long long
unsigned int'
/n4/usr/src/sys/arch/vax/vax/machdep.c:435: warning: format '%u'
expects type 'unsigned int', but argument 3 has type 'long long
unsigned int'
*** Failed target: machdep.o
*** Failed command: echo '# ' "compile GENERIC/machdep.o"; echo
/n4/usr/src/../tools/bin/vax--netbsdelf-gcc -fno-pic -ffreestanding
-fno-zero-initialized-in-bss -g -O2 -std=gnu99 -fno-strict-aliasing
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes -Werror -D_VAX_INLINE_ -I.
-I/n4/usr/src/sys/../common/include -I/n4/usr/src/sys/arch
-I/n4/usr/src/sys -nostdinc -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT
-I/n4/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/n4/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/n4/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/vax/string
-I/n4/usr/src/sys/dist/ipf -c /n4/usr/src/sys/arch/vax/vax/machdep.c;
/n4/usr/src/../tools/bin/vax--netbsdelf-gcc -fno-pic -ffreestanding
-fno-zero-initialized-in-bss -g -O2 -std=gnu99 -fno-strict-aliasing
-Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith
-Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wno-unreachable-code -Wno-sign-compare
-Wno-pointer-sign -Wno-attributes -Werror -D_VAX_INLINE_ -I.
-I/n4/usr/src/sys/../common/include -I/n4/usr/src/sys/arch
-I/n4/usr/src/sys -nostdinc -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT
-I/n4/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/n4/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/n4/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/vax/string
-I/n4/usr/src/sys/dist/ipf -c /n4/usr/src/sys/arch/vax/vax/machdep.c
*** Error code 1
2 vax/vax/sig_machdep.c
void
sendsig_sigcontext(const ksiginfo_t *ksi, const sigset_t *mask)
{
#error Implement sendsig_sigcontext
...
}
Does anyone run into the same problems?
Home |
Main Index |
Thread Index |
Old Index