Subject: compiling GENERIC on amd64 fails
To: None <current-users@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 04/25/2007 17:40:20
Just ran into the following:
checkflist =3D=3D=3D> distrib/sets
make distribution started at: Wed Apr 25 17:38:13 MEST 2007
make distribution finished at: Wed Apr 25 17:38:15 MEST 2007
release =3D=3D=3D> etc (with: DISTRIBUTION_DONE=3D1)
Build directory is /u/NetBSD/arch/amd64/obj/sys/arch/amd64/compile/GENERIC
Don't forget to run "make depend"
depending the kern library objects
depending the compat library objects
making sure the compat library is up to date...
`libcompat.a' is up to date.
making sure the kern library is up to date...
`libkern.o' is up to date.
compile GENERIC/ah_osdep.o
compile GENERIC/ath.o
compile GENERIC/ath_netbsd.o
compile GENERIC/athrate-sample.o
compile GENERIC/coda_vnops.o
cc1: warnings being treated as errors
In file included from /u/NetBSD/src/sys/coda/coda_vnops.c:66:
/u/NetBSD/src/sys/miscfs/genfs/genfs.h:30: warning: 'struct vm_page' declar=
ed inside parameter list
/u/NetBSD/src/sys/miscfs/genfs/genfs.h:30: warning: its scope is only this =
definition or declaration, which is probably not what you want
*** Failed target: coda_vnops.o
*** Failed command: echo ' ' "compile GENERIC/coda_vnops.o"; : echo /u/NetB=
SD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -pipe -mcmodel=3Dkernel -mno-red=
-zone -ffreestanding -fno-zero-initialized-in-bss -O2 -Werror -Wall -Wno-ma=
in -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-pr=
ototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare -W=
no-pointer-sign -Wno-attributes -fno-strict-aliasing -Damd64 -Dx86_64 -I. -=
I/u/NetBSD/src/sys/contrib/dev/ath/netbsd -I/u/NetBSD/src/sys/../common/inc=
lude -I/u/NetBSD/src/sys/arch -I/u/NetBSD/src/sys -nostdinc -DLKM -DMAXUSER=
S=3D32 -D_KERNEL -D_KERNEL_OPT -I/u/NetBSD/src/sys/lib/libkern/../../../com=
mon/lib/libc/quad -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/=
string -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/x86_64=
/string -I/u/NetBSD/src/sys/dist/ipf -c /u/NetBSD/src/sys/coda/coda_vnops.c=
; /u/NetBSD/arch/amd64/TOOLS/bin/x86_64--netbsd-gcc -pipe -mcmodel=3Dkernel=
-mno-red-zone -ffreestanding -fno-zero-initialized-in-bss -O2 -Werror -Wal=
l -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -W=
strict-prototypes -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-c=
ompare -Wno-pointer-sign -Wno-attributes -fno-strict-aliasing -Damd64 -Dx86=
_64 -I. -I/u/NetBSD/src/sys/contrib/dev/ath/netbsd -I/u/NetBSD/src/sys/../c=
ommon/include -I/u/NetBSD/src/sys/arch -I/u/NetBSD/src/sys -nostdinc -DLKM =
-DMAXUSERS=3D32 -D_KERNEL -D_KERNEL_OPT -I/u/NetBSD/src/sys/lib/libkern/../=
=2E./../common/lib/libc/quad -I/u/NetBSD/src/sys/lib/libkern/../../../commo=
n/lib/libc/string -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/=
arch/x86_64/string -I/u/NetBSD/src/sys/dist/ipf -c /u/NetBSD/src/sys/coda/c=
oda_vnops.c
*** Error code 1
Stop.
nbmake: stopped in /u/NetBSD/arch/amd64/obj/sys/arch/amd64/compile/GENERIC
Kurt