Date: Thu, 23 Mar 2006 03:27:30 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Casey Scott <casey@phantombsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: 6.1 PRERELEASE kernel build error Message-ID: <20060323082728.GA56766@xor.obsecurity.org> In-Reply-To: <8786225.1671143052076333.JavaMail.root@tomcat.phantombsd.org> References: <8786225.1671143052076333.JavaMail.root@tomcat.phantombsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 22, 2006 at 10:27:56AM -0800, Casey Scott wrote: > 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". >=20 >=20 > ...... > cc -c -O2 -pipe -fno-strict-aliasing -march=3Dpentium4 -Wall -Wredundant-= decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-= arith -Winline -Wcast-qual -fformat-extensions -std=3Dc99 -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=3D8000 --param in= line-unit-growth=3D100 --param large-function-growth=3D1000 -mno-align-lon= g-strings -mpreferred-stack-boundary=3D2 -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 'dev= fs_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 'dev= fs_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 'dev= fs_specops' was here > *** Error code 1 >=20 >=20 > 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? You didn't follow the correct upgrade order - it's documented in the handbook and in /usr/src/UPDATING. Kris --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEIlvvWry0BWjoQKURAtaDAKCMFMJSuoVSUeaNvCXyBaGhEOt0bgCfT2Yl bnzWI1HNGNwH/Sv6Upn7WWg= =x0s9 -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060323082728.GA56766>