LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Gettext Compile error during 'make' (https://www.linuxquestions.org/questions/linux-from-scratch-13/gettext-compile-error-during-make-124810/)

tcom 12-11-2003 01:36 AM

Gettext Compile error during 'make'
 
Hi,

Gettext0.12.1 on LFS 5

Can anyone help here?
I get the following compile error during 'make'

mkdir .libs
chmod 777 .libs
gcc -g -O2 -o .libs/test-names test-names.o libuniname.a ../lib/.libs/libgettextlib.so -lc -Wl,--rpath -Wl,/tools/lib
/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.1'
/lib/libc.so.6: undefined reference to `_dl_tls_symaddr@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[3]: *** [test-names] Error 1
make[3]: Leaving directory `/mnt/lfs/sources/gettext-0.12.1/gettext-tools/libuniname'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/gettext-0.12.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gettext-0.12.1/gettext-tools'
make: *** [all-recursive] Error 1

TIA,
Mark.

Nis 12-11-2003 01:40 AM

Just a guess but maybe something to do with glibc 2.1?

tcom 12-11-2003 02:02 AM

False alarm people..

I deleted the directory (gettext) and started afresh.
'make' was successful 'make check' now.

sorry for the alarm.

Mark.

breakthestate 11-13-2005 10:29 AM

I had the same problem with gettext-0.14.3 on LFS 6.1 and tcom's solution worked.

just remove the gettext source directory, and start afresh with compiling gettext.


All times are GMT -5. The time now is 02:26 AM.