From owner-freebsd-stable Sun Mar 10 9:21:43 2002 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 5108437B402 for ; Sun, 10 Mar 2002 09:21:39 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 10 Mar 2002 17:21:38 +0000 (GMT) Date: Sun, 10 Mar 2002 17:21:38 +0000 From: David Malone To: Nick Popoff Cc: stable@freebsd.org Subject: Re: stable buildworld failed: undefined sysctlnametomib Message-ID: <20020310172138.GA87828@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.25i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Mar 09, 2002 at 10:25:35PM -0800, Nick Popoff wrote: > ===> sbin/kldconfig > cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -c /usr/src/sbin/kldconfig/kldconfig.c > cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -W -Wall > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch > -Wshadow -L/usr/local/lib -L/usr/lib -static -o kldconfig kldconfig.o > kldconfig.o: In function `getmib': > kldconfig.o(.text+0x2d): undefined reference to `sysctlnametomib' > *** Error code 1 Are you sure you are building this with "make buildworld"? There should be a "-nostdinc" flag somewhere on the gcc command line and no "-L/usr/local/lib -L/usr/lib". I wonder if you have options in /etc/make.conf or in your environment which are causeing these different options to show up? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message