RELENG_6 compilation issues

Kris Kennaway kris at obsecurity.org
Sun Sep 18 13:11:29 PDT 2005


On Sun, Sep 18, 2005 at 11:07:05PM +0300, Vlad GALU wrote:
> On 9/18/05, Xin LI <delphij at frontfree.net> wrote:
> [snip]
> 
>     Heh, sorry for failing to provide the actual error message. It
> appears also with -O:
> 
> -- cut here --
> cc -c -O -pipe -ffast-math -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/dev/acpica
> -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 -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:1182: warning: redundant redeclaration
> of 'devfs_ops_f'
> ../../../fs/devfs/devfs_vnops.c:71: warning: previous declaration of
> 'devfs_ops_f' was here
> ../../../fs/devfs/devfs_vnops.c:1193: warning: redundant redeclaration
> of 'devfs_vnodeops'
> ../../../fs/devfs/devfs_vnops.c:69: warning: previous declaration of
> 'devfs_vnodeops' was here
> ../../../fs/devfs/devfs_vnops.c:1215: warning: redundant redeclaration
> of 'devfs_specops'
> ../../../fs/devfs/devfs_vnops.c:70: warning: previous declaration of
> 'devfs_specops' was here
> *** Error code 1
> -- and here --

Sounds like you forgot to buildworld before buildkernel.  You can
review the full upgrade procedure in the handbook and in
/usr/src/UPDATING.

Kris
-------------- 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/20050918/33e5e0b8/attachment.bin


More information about the freebsd-stable mailing list