Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2006 10:27:56 -0800 (PST)
From:      Casey Scott <casey@phantombsd.org>
To:        freebsd-stable@freebsd.org
Subject:   6.1 PRERELEASE kernel build error
Message-ID:  <8786225.1671143052076333.JavaMail.root@tomcat.phantombsd.org>

index | next in thread | raw e-mail

I just upgraded 5.4 stable to 6.1 PRERELEASE via buildworld. I am trying to build a kernel, and keep getting this error at "make".


......
cc -c -O2 -pipe -fno-strict-aliasing -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  ../../../fs/devfs/devfs_vnops.c
../../../fs/devfs/devfs_vnops.c:1172: warning: redundant redeclaration of 'devfs_ops_f'
../../../fs/devfs/devfs_vnops.c:70: warning: previous declaration of 'devfs_ops_f' was here
../../../fs/devfs/devfs_vnops.c:1183: warning: redundant redeclaration of 'devfs_vnodeops'
../../../fs/devfs/devfs_vnops.c:68: warning: previous declaration of 'devfs_vnodeops' was here
../../../fs/devfs/devfs_vnops.c:1205: warning: redundant redeclaration of 'devfs_specops'
../../../fs/devfs/devfs_vnops.c:69: warning: previous declaration of 'devfs_specops' was here
*** Error code 1


I even get that error building a kernel from the GENERIC config. I think something is wonky with gcc. Has anyone else seen this, or know what could be causing it?

TIA,
Casey Scott


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8786225.1671143052076333.JavaMail.root>