19 Jun 2005 13:44
Re: Kernel compilation for -current
Naopic Tastalian <tastalian <at> free.fr>
2005-06-19 11:44:51 GMT
2005-06-19 11:44:51 GMT
> I think I just fixed that in revision 1.68 of sys/conf/Makefile.kern.inc. Well, when I try to compile now it seems warning are considered as errors, and I can't even compile autoconf.c : [...] # compile GENERIC/autoconf.o /usr/pkg/cross-ps2/bin/mipsEEel-netbsd-gcc -mcpu=r5900 -mips1 -fno-pic -D__NetBSD__ -Ulinux -U__linux__ -U__linux -G 0 -mno-abicalls -msoft-float -ffreestanding -Os -mmemcpy -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-uninitialized -Dplaystation2 -I. -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -DMIPS3 -DMIPS3_5900 -DIPL_ICU_MASK -DSOFTFLOAT -D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ -DMAXUSERS=16 -D_KERNEL -D_KERNEL_OPT -I/usr/src/sys/dist/ipf -c /usr/src/sys/arch/playstation2/playstation2/autoconf.c cc1: warnings being treated as errors /usr/src/sys/arch/playstation2/playstation2/autoconf.c: In function `cpu_configure': /usr/src/sys/arch/playstation2/playstation2/autoconf.c:58: warning: passing arg 2 of `config_rootfound' discards qualifiers from pointer target type *** Failed target: autoconf.o *** Failed command: echo '# ' "compile GENERIC/autoconf.o"; echo /usr/pkg/cross-ps2/bin/mipsEEel-netbsd-gcc -mcpu=r5900 -mips1 -fno-pic -D__NetBSD__ -Ulinux -U__linux__ -U__linux -G 0 -mno-abicalls -msoft-float -ffreestanding -Os -mmemcpy -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-uninitialized -Dplaystation2(Continue reading)
RSS Feed