Date: Sat, 12 Aug 2006 16:06:02 +0200 From: Max Laier <max@love2party.net> To: freebsd-stable@freebsd.org Cc: =?iso-8859-1?q?G=E1bor_K=F6vesd=E1n?= <gabor@freebsd.org> Subject: Re: I can't compile 6.1 kernel on 5.3 (amd64) Message-ID: <200608121606.07952.max@love2party.net> In-Reply-To: <44DDDA11.90501@FreeBSD.org> References: <44DDDA11.90501@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE3eBPXyyEoT62BG0RAi2uAJ9DFiKuO2fie9eH6+USS9O+p/akYgCfQJQp 8alj0d0riZa9La2+WfYGSYs= =qR/S -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608121606.07952.max>
