From owner-freebsd-stable Tue Mar 12 0:37:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from server.bloodletting.com (server.bloodletting.com [66.88.118.99]) by hub.freebsd.org (Postfix) with SMTP id 8298D37B402 for ; Tue, 12 Mar 2002 00:37:31 -0800 (PST) Received: (qmail 9441 invoked from network); 10 Mar 2002 20:35:46 -0000 Received: from unknown (HELO rust) (66.88.118.98) by server.bloodletting.com with SMTP; 10 Mar 2002 20:35:46 -0000 From: "Nick Popoff" To: Cc: Subject: RE: stable buildworld failed: undefined sysctlnametomib Date: Sun, 10 Mar 2002 12:28:52 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020310172138.GA87828@walton.maths.tcd.ie> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 > 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? That did the trick! I was just su'ing from my normal user account, and had LDFLAGS/CPPFLAGS in my env which were somehow causing this problem. I reran buildworld from a clean root login and it just finished fine. Thanks! > 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 > > > David. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message