On Saturday 12 August 2006 15:39, Gábor Kövesdán wrote: > Hi, > > I'm about to upgrading a server from FreeBSD 5.3/amd64 to 6.1/amd64. I > just removed some unnecessary RAID drivers from the GENERIC kernel and > tried to compile it, but I got: > > ../../../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 > > Stop in /usr/src/sys/amd64/compile/TEST. > > Am I missing something or what might be wrong?
You seem to be trying the "old" method using config and make depend && make. The supported way is using "make buildworld" and "make buildkernel". Order is crucial as "make buildworld" also builds a new compiler and includes that are used later. There is a separate target to only build the tools that are required to build a kernel. Check the Makefile. -- /"\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News
pgpvEeFwLzhWE.pgp
Description: PGP signature