From owner-freebsd-questions Thu Oct 4 4:14:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id F168A37B408 for ; Thu, 4 Oct 2001 04:14:05 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id f94BDwM60231 for freebsd-questions@FreeBSD.ORG; Thu, 4 Oct 2001 14:13:58 +0300 (EEST) (envelope-from ru) Date: Thu, 4 Oct 2001 14:13:58 +0300 From: Ruslan Ermilov To: freebsd-questions@FreeBSD.ORG Subject: Re: problems with buildworld on RELENG_4_4_0_RELEASE Message-ID: <20011004141358.F48758@sunbay.com> References: <20011003103214.A55276@acadia.ne.mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011003103214.A55276@acadia.ne.mediaone.net>; from leblanc+freebsd@acadia.ne.mediaone.net on Wed, Oct 03, 2001 at 10:32:14AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Oct 03, 2001 at 10:32:14AM -0400, Louis LeBlanc wrote: > Hey folks. Yesterday I upgraded my work desktop to > RELENG_4_4_0_RELEASE, and built the kernel with exactly 0 hitches. > Pretty slick. > > Last night, I did a cvsup on my home machine to the same tag, and > tried the following > > cd /usr/src > make buildworld && make installworld > which is how I did it on the work desktop. > > It didn't work. I'm confused. I even used the same cvsup site > (cvsup6.FreeBSD.org) > > Here is what I get at the buildworld failure: > > ===> ld > cc -O -pipe -D_GNU_SOURCE -I- -I. > -I/usr/src/gnu/usr.bin/binutils/ld/i386 > -I/usr/src/gnu/usr.bin/binutils/ld > -I/usr/src/gnu/usr.bin/binutils/ld/../libbfd/i386 > -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include > -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" > -DSCRIPTDIR=\"/usr/obj/usr/src/i386/usr/libdata\" > -I/usr/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld > -DVERSION=\"2.10.1\" -DBFD_VERSION=\"2.10.1\" > -I/usr/obj/usr/src/i386/usr/include -c eelf_i386.c > eelf_i386.c: In function `gldelf_i386_check_ld_elf_hints': > eelf_i386.c:175: `_PATH_ELF_HINTS' undeclared (first use in this > function) > eelf_i386.c:175: (Each undeclared identifier is reported only once > eelf_i386.c:175: for each function it appears in.) > eelf_i386.c:178: storage size of `hdr' isn't known > eelf_i386.c:181: `ELFHINTS_MAGIC' undeclared (first use in this > function) > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils/ld. > *** Error code 1 > > Stop in /usr/src/gnu/usr.bin/binutils. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > I don't really know what to do with this. Any ideas what I may have > done wrong? I tried the cvsup and buildworld again this morning and > get the same thing. Looks like ld is broken, but that seems unlikely > considering it worked fine on my other machine. > Looks like your /usr/include is broken as it lacks the elf-hints.h header file. Having non-broken /usr/include and /usr/lib is the prerequisite for successful buildworld. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message