(LFS2.7) Glibc make error "cant find -lgcc_eh"
Hi, I'm working on LFS7.2. I successfully compiled Binutils, GCC and LINUX API, while doing "make" for Glibc I'm getting this error
/mnt/lfs/tools/bin/../lib/gcc/i686-lfs-linux-gnu/4.7.2/../../../../i686-lfs-linux-gnu/bin/ld: cannot find -lgcc_eh collect2:error: ld returned 1 exit status make[2]: *** [/mnt/lfs/sources/glibc-build/elf/sln] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0/elf' make[1]: *** [elf/others] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.16.0' make: *** [all] Error 2 Could someone assist me to resolve this. |
is this in chapter 5 or 6?
|
Hi
Post output of version-check |
Quote:
This command: Code:
ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/'` |
Quote:
|
Quote:
Quote:
|
Hi
Did you try what druuna has put and also mentioned in the mailing list |
Quote:
ln -vs libgcc.a `$LFS_TGT-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/' Now I'm pursuing the pass2 Thanks a lot. |
Quote:
could you specify me which package I need to install. |
No that is installed dont worry. It gives a different output if not installed
|
Just looked through your version-check there are some problems.
/usr/bin/awk -> /usr/bin/mawk you need to install gawk yacc not found Also what is the output of Code:
makeinfo --version and on another note it wold be best to start again when fixed |
Quote:
Spiky0011, The output of the above code is referring me to install textinfo package, but while entering the Code:
sudo apt-get install textinfo Code:
E: Unable to locate package textinfo And now my /usr/bin/awk is pointing to /usr/bin/bison.yacc is it okay.. |
Hi
Try Code:
sudo apt-get install texinfo /usr/bin/awk -> /usr/bin/mawk should be /usr/bin/awk -> /usr/bin/gawk |
Quote:
sorry, I made a typo in my last comment. /usr/bin/awk is pointing to /usr/bin/gawk but /usr/bin/yacc is pointing to /usr/bin/bison.yacc Shall I proceed with the same... |
Just to make sure: Post the full output of the version-check.sh script.
|
All times are GMT -5. The time now is 07:08 AM. |