NetBSD-Users archive

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

Problem in prop_array when compiling 4.0.1 kernel



Hi,

I've been trying, unsuccessfully, to compile a kernel on 4.0.1.

It fails with warnings :
:
:
making sure the kern library is up to date...
#   compile  kern/prop_array.o
cc -ffreestanding -fno-zero-initialized-in-bss -O2 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -fno-strict-aliasing -I../../../../../../lib/libkern/arch/i386 -Di386 -I../../. -I../../../../../../../common/include -I../../../../../../arch -I../../../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -I../../../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../../../lib/libkern/../../../common/lib/libc/string -I../../../../../../lib/libkern/../../../common/lib/libc/arch/i386/string -I../../../../../../dist/ipf -I../../../../../../lib/libkern/../../../common/lib/libc/quad -I../../../../../../lib/libkern/../../../common/lib/libc/string -I../../../../../../lib/libkern/../../../common/lib/libc/arch/i386/string -I../../../../../../lib/libkern/../../../common/include -c ../../../../../../lib/libkern/../../../common/lib/libprop/prop_array.c -o prop_array.o
cc1: warnings being treated as errors
../../../../../../lib/libkern/../../../common/lib/libprop/prop_array.c: In function '_prop_array_equals': ../../../../../../lib/libkern/../../../common/lib/libprop/prop_array.c:216: warning: cast from pointer to integer of different size ../../../../../../lib/libkern/../../../common/lib/libprop/prop_array.c:220: warning: cast from pointer to integer of different size ../../../../../../lib/libkern/../../../common/lib/libprop/prop_array.c:220: warning: cast from pointer to integer of different size ../../../../../../lib/libkern/../../../common/lib/libprop/prop_array.c:237: warning: cast to pointer from integer of different size ../../../../../../lib/libkern/../../../common/lib/libprop/prop_array.c:238: warning: cast to pointer from integer of different size
*** Error code 1


Strangely (and I've no idea whether this a red-herring or not) the page here :

http://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0.1/CHANGES-4.0.1 states version 1.5 of file prop_array.3 :

common/lib/libprop/prop_array.3                 1.5

Yet on my box if I do :

$ head -1 ./prop_array.3
.\"     $NetBSD: prop_array.3,v 1.4.16.1 2008/09/24 18:06:46 bouyer Exp $

This source is taken from the tarball here : 
http://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0.1/source/sets/

I'd appreciate any pointers anyone can give me.  Is this likely to be a config 
issue (I'm a n00b at compiling NetBSD kernels)?

Thanks in advance,

Phil







Home | Main Index | Thread Index | Old Index