On 08/11/2017 11:21 AM, Tom G. Christensen wrote:
This exposed another problem when using external gettext:
/usr/tgcware/gcc45/bin/gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib
-R/usr/tgcware/lib -o test-fts test-
fts.o ../gllib/libgnu.a -lm -lm -lm -lm -lm -lm
Undefined first referenced
symbol in file
libintl_gettext ../gllib/libgnu.a(openat-die.o)
Thanks, was this also on CentOS 6? I could not reproduce the problem on
RHEL 6.9, via the following recipe. I am using the bundled GCC, which
says it is version 4.4.7 20120313 (Red Hat 4.4.7-18). What am I doing wrong?
./gnulib-tool --create-testdir --dir foo gettext-h fts
cd foo
./configure
make
make check