Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Oct 2001 14:13:58 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: problems with buildworld on RELENG_4_4_0_RELEASE
Message-ID:  <20011004141358.F48758@sunbay.com>
In-Reply-To: <20011003103214.A55276@acadia.ne.mediaone.net>; from leblanc%2Bfreebsd@acadia.ne.mediaone.net on Wed, Oct 03, 2001 at 10:32:14AM -0400
References:  <20011003103214.A55276@acadia.ne.mediaone.net>

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




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