From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 01:15:30 2005 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54FDE16A41F for ; Fri, 21 Oct 2005 01:15:30 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1472D43D62 for ; Fri, 21 Oct 2005 01:15:30 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id EF3BA1A3C1A; Thu, 20 Oct 2005 18:15:29 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 4A51A5127C; Thu, 20 Oct 2005 21:15:29 -0400 (EDT) Date: Thu, 20 Oct 2005 21:15:29 -0400 From: Kris Kennaway To: vijay singh Message-ID: <20051021011529.GA11142@xor.obsecurity.org> References: <8f1c941e0510201633s5e9d3558t824dde202ab3923e@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <8f1c941e0510201633s5e9d3558t824dde202ab3923e@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: questions@freebsd.org Subject: Re: compile error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 01:15:30 -0000 --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--