Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 21:15:29 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        vijay singh <vijju.singh@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: compile error
Message-ID:  <20051021011529.GA11142@xor.obsecurity.org>
In-Reply-To: <8f1c941e0510201633s5e9d3558t824dde202ab3923e@mail.gmail.com>
References:  <8f1c941e0510201633s5e9d3558t824dde202ab3923e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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

--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDWEEwWry0BWjoQKURAu34AKDBaraAXZK1sn+tNaPehGib18xAmgCgx8EV
RloJ9GgFRMoCh/ROKwxftco=
=9eNo
-----END PGP SIGNATURE-----

--jRHKVT23PllUwdXP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021011529.GA11142>