Error when compiling glibc
robert at linuxfromscratch.org
Thu Feb 18 05:10:15 PST 2010
On Thursday February 18 2010 01:41:58 am Michael DeLuca wrote:
> I'm getting the following error when trying to compile the temporary glibc:
> /srv/lfs/hlfs/build/glibc-2.9-20090518/obj/elf/librtld.os: In function
> /srv/lfs/hlfs/build/glibc-2.9-20090518/elf/rtld.c:294: undefined
> reference to `_begin'
> /srv/lfs/hlfs/build/glibc-2.9-20090518/obj/elf/librtld.os: relocation
> R_386_GOTOFF against undefined hidden symbol `_begin' can not be used
> when making a shared object
> /hlfs-tools/bin/ld: final link failed: Bad value
> collect2: ld returned 1 exit status
> make: *** [/srv/lfs/hlfs/build/glibc-2.9-20090518/obj/elf/ld.so] Error 1
> make: Leaving directory `/srv/lfs/hlfs/build/glibc-2.9-20090518/elf'
> make: *** [elf/subdir_lib] Error 2
> make: Leaving directory `/srv/lfs/hlfs/build/glibc-2.9-20090518'
> make: *** [all] Error 2
> I'm using an LFS host system and have successfully built the temp tool
> chain following the SVN HTML manual. I'm wish to use more up to date
> packages and am attempting to build a hardened system following the
> onward branch. I have used the exact package versions, patches and
> scripts from the onward branch and I believe this error is occurring
> when building the glibc library's.
> Any help would be greatly appreciated!
I'm not sure about the error, but I'm planning to upgrade the book to
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the hlfs-dev