Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2001 14:08:44 +1000
From:      Mark.Andrews@nominum.com
To:        Michael Burns <michael@fasturl.net>
Cc:        stable@freebsd.org
Subject:   Re: make buildworld error 
Message-ID:  <200108160409.f7G48iu67662@drugs.dv.isc.org>
In-Reply-To: Your message of "Thu, 16 Aug 2001 03:49:11 GMT." <20010816034911.A13156@fasturl.net> 

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

	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.

	Mark

> I'm attempting to upgrade a 4.1-RELEASE system to -stable. I've cvsup'd
> the source tree and tried to make buildworld multiple times over the past
> three days, and have consistently received the following error in
> /usr/src/gnu/usr.bin/binutils/ld:
> 
> cc -O -pipe  -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/ld/i386
> -I/us
> r/src/gnu/usr.bin/binutils/ld -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd/i3
> 86 
> -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include
> -DDEFAUL
> T_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\"
> -DSCRIPTDIR=\"/usr/ob
> j/usr/src/i386/usr/libdata\"
> -I/usr/src/gnu/usr.bin/binutils/ld/../../../../cont
> rib/binutils/ld
> -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/
> bfd -I/usr/src/gnu/usr.bin/binutils/ld/../../../../include -DVERSION=\""2.11.
> 2
> 2
> 0010719 [FreeBSD]"\" -DBFD_VERSION=\""2.11.2 20010719 [FreeBSD]"\"
> -I/usr/obj/
> usr/src/i386/usr/include   -static -o ld eelf_i386.o ldcref.o ldctor.o ldemul
> .o 
> ldexp.o ldfile.o ldgram.o ldlang.o ldlex.o ldmain.o ldmisc.o ldver.o ldwrite.
> o
> l
> exsup.o mri.o  ../libbfd/libbfd.a ../libiberty/libiberty.a
> eelf_i386.o: In function `gldelf_i386_open_dynamic_archive':
> eelf_i386.o(.text+0xc7b): undefined reference to `basename'
> *** Error code 1
> 1 error
> *** Error code 2   
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 
> I removed /usr/obj and cvsup'd from scratch after the first batch 
> of failures. I've seen a similar question on -questions last week but
> no answers. Any ideas?
> 
> -- 
> Michael Burns
> Systems Administrator
> Vener Net Inc.
> michael@fasturl.net
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews@nominum.com

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?200108160409.f7G48iu67662>