I can't compile 6.1 kernel on 5.3 (amd64)

Max Laier max at love2party.net
Sat Aug 12 14:06:11 UTC 2006


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 at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060812/f5f04490/attachment.pgp


More information about the freebsd-stable mailing list