From: Sam S. <sd...@gn...> - 2011-07-29 15:20:09
|
> * Angel Popov <natrycbcbi@lnubb.pbz> [2011-07-29 07:05:13 -0700]: > > 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 that's because you transposed '*' and '/'. $ grep -i gettext config.h */config.h > angel@bozhur /cygdrive/c/packages/clisp/build > $ nm libgnu.a | grep gettext > U _libintl_gettext > > ________________________________ > 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 <natrycbcbi@lnubb.pbz> [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://pmw.org.il http://mideasttruth.com http://openvotingconsortium.org http://truepeace.org http://jihadwatch.org http://memri.org ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) |