glibc 5.7 [csu/subdir_lib] Error 2

Martín Olmos phoenixzero2 at gmail.com
Thu Feb 3 10:09:19 PST 2011


Hi Martin

i've had a similar problem before. What i did was delete the old glibc
source file and starting fresh (uncompress again the glibc package, and
follow the building process described in the book to compile and build it).
Sometimes you have weird errors because you're compiling inside of a
previous pass folder, So i recommend you to create a new folder and delete
the previous compiled glibc library

I hope this helps

Best regards
Phoenixzero

2011/2/3 Martin Zajíc <ZAJCA> <zajcaa at gmail.com>

> Hi, me again
> now I'am stuck on glibc on chap 5.7
>
> I'am getting this on make
>
> if test -r /mnt/LFS/build/glibc-2.12.1-BUILD/csu/abi-tag.h.new; then
> mv -f /mnt/LFS/build/glibc-2.12.1-BUILD/csu/abi-tag.h.new
> /mnt/LFS/build/glibc-2.12.1-BUILD/csu/abi-tag.h; \
>        else echo >&2 'This configuration not matched in ../abi-tags'; exit
> 1; fi
> mv -f /mnt/LFS/build/glibc-2.12.1-BUILD/csu/version-info.hT
> /mnt/LFS/build/glibc-2.12.1-BUILD/csu/version-info.h
> make[2]: Leaving directory `/mnt/LFS/build/glibc-2.12.1/csu'
> make[1]: *** [csu/subdir_lib] Error 2
> make[1]: Leaving directory `/mnt/LFS/build/glibc-2.12.1'
> make: *** [all] Error 2
>
>
> and many errors like this
> In file included from ./sysdeps/unix/sysdep.h:21:0,
>                 from ./sysdeps/unix/x86_64/sysdep.h:19,
>                 from sysdeps/unix/sysv/linux/x86_64/sysdep.h:23,
>                 from <stdin>:1:
> sysdeps/unix/sysv/linux/sys/syscall.h:25:24: fatal error:
> asm/unistd.h: No such file or directory
> compilation terminated.
>
> I try to set thinks like
>        CONFIG_SHELL=/bin/bash
> what i found on internet but it isn't work.
>
> stdout: configure and make
> http://pastebin.com/q2aHHiNg
>
> config.log
> http://pastebin.com/ej0yCiFx
>
> thank's for answers
> --
> Martin Zajíc
> E-mail: zajcaa at gmail.com
> Jabber: zajcaa at gmail.com
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20110203/27c7a91a/attachment.html>


More information about the lfs-support mailing list