bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build problem on old Linux libc5


From: Alain Guibert
Subject: build problem on old Linux libc5
Date: Wed, 10 Sep 2003 11:10:36 +0200 (CEST)
User-agent: Mutt/1.4i

Hello,

On my old Linux box (Intel Debian bo: kernel 2.0.39, gcc 2.7.2.1,
libc 5.4.33, libiconv 1.9.1, i586-pc-linux-gnulibc1) trying to build
gettext 0.12.1, make fails:

| /tmp/gettext-0.12.1>$ ./configure ; make
| [...]
| make[3]: Entering directory `/tmp/gettext-0.12.1/gettext-runtime/src'
| gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. 
-I. -I.. -I../intl -I./../intl -I../lib -I./../lib -I../../gettext-tools/lib 
-I./../../gettext-tools/lib   -DINSTALLDIR=\"/usr/local/bin\" -g -O2 -c -o 
gettext-gettext.o `test -f 'gettext.c' || echo './'`gettext.c
| /bin/sh ../libtool --mode=link gcc  -g -O2   -o gettext  gettext-gettext.o 
../lib/libgrt.a ../intl/libintl.la -L/usr/local/lib -liconv -R/usr/local/lib
| mkdir .libs
| chmod 777 .libs
| gcc -g -O2 -o .libs/gettext gettext-gettext.o  ../lib/libgrt.a 
../intl/.libs/libintl.so -L/usr/local/lib -lc /usr/local/lib/libiconv.so 
-Wl,--rpath -Wl,/usr/local/lib
| ../intl/.libs/libintl.so: undefined reference to `getline'
| make[3]: *** [gettext] Error 1
| make[3]: Leaving directory `/tmp/gettext-0.12.1/gettext-runtime/src'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/tmp/gettext-0.12.1/gettext-runtime'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory `/tmp/gettext-0.12.1/gettext-runtime'
| make: *** [all-recursive] Error 1

Configuring with --with-included-gettext does the same error. OTOH
configuring with --disable-nls make succeeds, but make install doesn't
install lib/libintl* and include/libintl.h.

Note I first had the same undefined getline error while building
libiconv 1.9.1, problem solved by Bruno Haible who sent me a patch.


Please CC me, I'm not subscribed. Alain.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]