From: Sam S. <sd...@gn...> - 2011-08-18 15:55:25
|
> * Sam Steingold <fq...@ta...> [2011-08-18 11:48:04 -0400]: > >> * Michael Kappert <zvp...@tz...> [2011-08-17 22:10:51 +0200]: >> >> gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit >> -Wreturn-type -Wmissing-declarations -Wno-sign-compare >> -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 >> -D_WIN32 -DENABLE_UNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_MODULES >> -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o regexi.o calls.o >> bogomips.o -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a lisp.def >> -lintl -luser32 -lole32 -loleaut32 -luuid -liconv -L/usr/local/lib >> -lsigsegv libgnu.a -lws2_32 -o lisp.exe >> libgnu.a(regex.o): In function `rpl_regerror': >> c:\users\michael\repo\clisp\build.test\gllib/../../src/gllib/regcomp.c:559: >> undefined reference to `libintl_gettext' >> libgnu.a(regex.o): In function `rpl_re_compile_pattern': >> c:\users\michael\repo\clisp\build.test\gllib/../../src/gllib/regcomp.c:238: >> undefined reference to `libintl_gettext' >> collect2: ld returned 1 exit status > > Michael, could you please try the command line above but with libgnu,a > __before__ all the -l* arguments? you might find this patch helpful in this endeavor, but, if it does not, please keep trying to reorder the command line by hand. thanks. --- a/src/makemake.in Wed Aug 17 17:33:28 2011 -0400 +++ b/src/makemake.in Thu Aug 18 11:52:33 2011 -0400 @@ -1508,8 +1508,8 @@ test "${with_dynamic_ffi}" != no && XCFL test "${with_dynamic_modules}" != no && XCFLAGS="$XCFLAGS -DDYNAMIC_MODULES" GLLIB_A=libgnu.a -# libgnu.a must come _before_ -lws2_32 -LIBS="${LIBS} ${GLLIB_A} ${LIBSOCKET}" +# libgnu.a must come _before_ -lws2_32 -lintl &c +LIBS="${GLLIB_A} ${LIBS} ${LIBSOCKET}" FILES="${GLLIB_A} "${FILES} if [ "${with_readline}" = no ]; then -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://iris.org.il http://openvotingconsortium.org http://palestinefacts.org http://truepeace.org http://honestreporting.com XML is like violence. If it doesn't solve the problem, use more. |