From: Angel P. <ang...@ya...> - 2011-07-29 14:05:26
|
Hi, If regexp is removed from base modules, clisp compiles. With it,it failed. $ nm lisp.exe | grep gettext 005a4544 I __imp__libintl_dgettext 00406ce4 T _clgettext 004069a0 T _clgettextl 00406978 t _clisp_gettext 004d1b08 T _libintl_dgettext angel@bozhur /cygdrive/c/packages/clisp/build $ grep gettext config.h /*config.h config.h:/* Define if the GNU dcgettext() function is already present or preinstalled. config.h:/* Define if the GNU gettext() function is already present or preinstalled. */ grep: /*config.h: No such file or directory angel@bozhur /cygdrive/c/packages/clisp/build $ nm libgnu.a | grep gettext U _libintl_gettext Regards, AngelP ________________________________ From: Sam Steingold <sd...@gn...> To: cli...@li...; Angel Popov <ang...@ya...> Sent: Monday, July 18, 2011 4:15 PM Subject: Re: Build on cygwin/windows has failed > * Angel Popov <nat...@ln...> [2011-07-17 21:38:46 -0700]: > > gcc -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit > -Wreturn-type -Wmissing-declarations -Wno-sign-compare > -Wno-format-nonliteral -O2 -fexpensive-optimizations -fal > ign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES > -I. -DDLL_EXPORT -DPIC -Wl,--export-all-symbols modules.o readline.o > -lreadline -lncurses regexi.o calls.o > bogomips.o -lcrypt -luser32 -lole32 -loleaut32 -luuid gettext.o lisp.a > lisp.def -lintl -lreadline -lncurses -lavcall -lcallback -lsigsegv > libgnu.a -o lisp.exe > libgnu.a(regex.o): In function `rpl_regerror': > /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:559: > undefined reference to `_libintl_gettext' > libgnu.a(regex.o): In function `rpl_re_compile_pattern': > /cygdrive/c/packages/clisp/build/gllib/../../src/gllib/regcomp.c:238: > undefined reference to `_libintl_gettext' > collect2: ld returned 1 exit status gettext is used in core also, so it is weird that you can create boot/lisp.exe but not base/lisp.exe please investigate why. e.g.: $ nm lisp.exe | grep gettext $ grep gettext config.h */config.h $ nm libgnu.a | grep gettext -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://truepeace.org http://pmw.org.il http://iris.org.il http://thereligionofpeace.com http://camera.org Feynman: 'Philosophy of science is as useful to scientists as ornithology is to birds' |