Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 17:21:38 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Nick Popoff <nick@bloodletting.com>
Cc:        stable@freebsd.org
Subject:   Re: stable buildworld failed: undefined sysctlnametomib
Message-ID:  <20020310172138.GA87828@walton.maths.tcd.ie>
In-Reply-To: <FEEIJHHDCIBNAJNMEOLLGEAKCAAA.nick@bloodletting.com>
References:  <FEEIJHHDCIBNAJNMEOLLGEAKCAAA.nick@bloodletting.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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