compile error

Kris Kennaway kris at obsecurity.org
Thu Oct 20 18:15:30 PDT 2005


On Thu, Oct 20, 2005 at 04:33:57PM -0700, vijay singh wrote:
> Hello, I see the following error on a (kernel) make, after a recent cvsup.
>  11# make
> cc -c -O2 -pipe -fno-strict-aliasing -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 -D_KERNEL
> -DHAVE_KERNEL_OPTION_HEADERS -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
> -mno-sse3 -ffreestanding -Werror ../../../fs/devfs/devfs_vnops.c
> ../../../fs/devfs/devfs_vnops.c:1148: 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:1159: 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:1181: warning: redundant redeclaration of
> 'devfs_specops'
> ../../../fs/devfs/devfs_vnops.c:69: warning: previous declaration of
> 'devfs_specops' was here
> *** Error code 1
>  Annotate shows that both entries are as of commit 1.122. What am I missing?

As discussed many times on the mailing lists, you forgot to buildworld
before you tried to build your kernel.

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-questions/attachments/20051020/c476f8f4/attachment.bin


More information about the freebsd-questions mailing list