I'm having a little problem compiling gettext support using recent Gnulib gettext module on FreeBSD 5.4. Or should I say: A user of one of my programs has this problem, not me.
Here's some snippets from the build log: checking build system type... i386-unknown-freebsd5.4 checking host system type... i386-unknown-freebsd5.4 [..] checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib [..] if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../lib -I/usr/local/include -Wall -D_THREAD_SAFE -pthread -g -O2 -MT command.o -MD -MP -MF ".deps/command.Tpo" -c -o command.o command.c; then mv -f ".deps/command.Tpo" ".deps/command.Po"; else rm -f ".deps/command.Tpo"; exit 1; fi [..] gcc -Wall -D_THREAD_SAFE -pthread -g -O2 -o microdc command.o [..] ../lib/libgnu.a -lreadline command.o(.text+0x105): In function `command_init': /stuff/download/microdc-0.8.0/src/command.c:163: undefined reference to `libintl_gettext' command.o(.text+0x114):/stuff/download/microdc-0.8.0/src/command.c:163: undefined reference to `libintl_gettext' [and so on, more undefined references to libintl_* symbols] It seems to detect libiconv and libintl correctly, but it doesn't seem to link with it properly? Regards, Oskar Liljeblad ([EMAIL PROTECTED]) _______________________________________________ bug-gnulib mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnulib
