Hello, I'm having some trouble compiling pspp master branch. The error is above. Seems like the linker isn't including gettext library. If I run this manually, including gettext library, it works. Anyone knows why this isn't being included automatically?
Michel libtool: link: i686-pc-mingw32-gcc -std=gnu99 -Wall -W -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -Wdeclaration-after-statement -fgnu89-inline -o src/ui/terminal/.libs/pspp.exe src/ui/terminal/.libs/libui.a src/ui/.libs/libuicommon.a src/.libs/libpspp.a -L/usr/i686-pc-mingw32/sys-root/mingw/lib src/.libs/libpspp-core.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libxml2.dll.a -lws2_32 /usr/i686-pc-mingw32/sys-root/mingw/lib/libiconv.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libreadline.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libgsl.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libgslcblas.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libz.dll.a /usr/i686-pc-mingw32/sys-root/mingw/lib/libplot.a -L/usr/i686-pc-mingw32/sys-root/mingw/lib Info: resolving _rl_attempted_completion_over by linking to __imp__rl_attempted_completion_over (auto-import) /usr/lib64/gcc/i686-pc-mingw32/4.4.1/../../../../i686-pc-mingw32/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs. Info: resolving _rl_basic_word_break_characters by linking to __imp__rl_basic_word_break_characters (auto-import) Info: resolving _rl_attempted_completion_function by linking to __imp__rl_attempted_completion_function (auto-import) Info: resolving _gsl_rng_mt19937 by linking to __imp__gsl_rng_mt19937 (auto-import) Info: resolving _xmlFree by linking to __imp__xmlFree (auto-import) src/ui/terminal/.libs/libui.a(src_ui_terminal_libui_la-main.o): In function `main': /mnt/michel/prof/pspp/sources/pspp/src/ui/terminal/main.c:117: undefined reference to `libintl_gettext' /mnt/michel/prof/pspp/sources/pspp/src/ui/terminal/main.c:116: undefined reference to `libintl_gettext' /mnt/michel/prof/pspp/sources/pspp/src/ui/terminal/main.c:120: undefined reference to `libintl_gettext' /mnt/michel/prof/pspp/sources/pspp/src/ui/terminal/main.c:123: undefined reference to `libintl_gettext' /mnt/michel/prof/pspp/sources/pspp/src/ui/terminal/main.c:126: undefined reference to `libintl_gettext' _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
