From owner-freebsd-stable Wed Aug 15 21:10:10 2001 Delivered-To: freebsd-stable@freebsd.org Received: from drugs.dv.isc.org (drugs.dv.isc.org [130.155.191.236]) by hub.freebsd.org (Postfix) with ESMTP id 2112D37B409 for ; Wed, 15 Aug 2001 21:09:52 -0700 (PDT) (envelope-from marka@nominum.com) Received: from nominum.com (localhost.dv.isc.org [127.0.0.1]) by drugs.dv.isc.org (8.11.3/8.11.2) with ESMTP id f7G48iu67662; Thu, 16 Aug 2001 14:09:00 +1000 (EST) (envelope-from marka@nominum.com) Message-Id: <200108160409.f7G48iu67662@drugs.dv.isc.org> To: Michael Burns Cc: stable@freebsd.org From: Mark.Andrews@nominum.com Subject: Re: make buildworld error In-reply-to: Your message of "Thu, 16 Aug 2001 03:49:11 GMT." <20010816034911.A13156@fasturl.net> Date: Thu, 16 Aug 2001 14:08:44 +1000 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 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