From: Sam S. <sd...@gn...> - 2011-07-26 15:01:01
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-26 09:54:51 +0300]: > > libgnu.a(regex.o): In function `rpl_re_compile_pattern': > g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:238: > undefined reference to `libintl_gettext' > libgnu.a(regex.o): In function `rpl_regerror': > g:\gnu\home\src\clisp\clisp\build-full-debug\gllib/../../src/gllib/regcomp.c:559: > undefined reference to `libintl_gettext' > collect2: ld returned 1 exit status > ./clisp-link: failed in /home/src/clisp/clisp/build-full-debug/base > make: *** [base] Error 1 does this patch help? diff -r 72dfd22cafec modules/regexp/regexi.c --- a/modules/regexp/regexi.c Tue Jul 26 10:49:16 2011 -0400 +++ b/modules/regexp/regexi.c Tue Jul 26 11:00:18 2011 -0400 @@ -144,3 +144,6 @@ DEFUN(REGEXP::REGEXP-EXEC,pattern string } skipSTACK(2); /* drop pattern & string */ } + +/* gnulib workaround for mingw */ +char* libintl_gettext (char* s) { return GETTEXT(s); } -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://thereligionofpeace.com http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org http://camera.org http://honestreporting.com main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);} |