Courtesy of [EMAIL PROTECTED]:

>        This looks like a classic bootstrap problem.  I would be compiling
>        basename() (lib/libc/gen/basename.c) and manually adding it to libc.a
>        ld is being statically linked so this should work.
>
>        basename() first appear around 4.2-RELEASE.
>
>        RELENG_4_3_0_RELEASE: 1.1.2.1
>        RELENG_4_3: 1.1.2.1.0.2
>        RELENG_4_3_BP: 1.1.2.1
>        RELENG_4_2_0_RELEASE: 1.1.2.1
>        RELENG_4: 1.1.0.2
>        PRE_SMPNG: 1.1
>
>        You could also try going to 4.3-RELEASE then to -stable.

The steps:

1.  Drink alcoholic beverage of your choice.

2.  cd /usr/src/lib/libc/gen

3.  make basename.o

4.  ar r /usr/lib/libc.a basename.o

5.  Drink another alcoholic beverage of your choice.

6.  cd /usr/src

7.  make buildworld

8.  Rejoice and drink still more alcoholic beverages!



On Fri, Aug 17, 2001 at 12:49:44AM +0400, Grigory Kljuchnikov wrote:
> Hello,
> 
> I've tried to make cvsuped stable sources and had an error:
> 
> $ make buildworld
> ...
> 
> eelf_i386.o: In function `gldelf_i386_open_dynamic_archive':
> eelf_i386.o(.text+0xc7b): undefined reference to `basename'
> *** Error code 1


-- 
Matt Meola                                                       AFØD
[EMAIL PROTECTED]           ARES CO D. 6 AEC       http://www.qsl.net/af0d

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to