Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 12:28:52 -0800
From:      "Nick Popoff" <nick@bloodletting.com>
To:        <dwmalone@maths.tcd.ie>
Cc:        <stable@freebsd.org>
Subject:   RE: stable buildworld failed: undefined sysctlnametomib
Message-ID:  <FEEIJHHDCIBNAJNMEOLLCEAMCAAA.nick@bloodletting.com>
In-Reply-To: <20020310172138.GA87828@walton.maths.tcd.ie>

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

> 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




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