|
From: Angel P. <ang...@ya...> - 2011-07-18 04:38:54
|
Hi,
With the latest sources it went quite further.
Now I am stuck at:
gcc -I/cygdrive/c/packages/clisp/build/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonl
iteral -O2 -fexpensive-optimizations -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -DDLL_EXPORT -DPIC -I/cygdrive/c/packages/clisp/build/linkkit
-c modules.c
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
./clisp-link: failed in /cygdrive/c/packages/clisp/build/base
make: *** [base] Error 1
Regards, AngelP
________________________________
From: Sam Steingold <sd...@gn...>
To: cli...@li...; Angel Popov <ang...@ya...>
Sent: Wednesday, July 13, 2011 6:03 PM
Subject: Re: Build on cygwin/windows has failed
> * Angel Popov <nat...@ln...> [2011-07-11 23:43:13 -0700]:
>
> Succeed to track the problem to sys::program-name
> in current lisp (sys::program-name) returns "lisp.exe", but not full path.
this is weird. I cannot reproduce this.
> Succeed to go further with this change -
>
> diff -r 1f2d73266dc5 src/execname.c
> --- a/src/execname.c Fri Jul 08 12:00:45 2011 -0400
> +++ b/src/execname.c Tue Jul 12 09:30:26 2011 +0300
> @@ -133,7 +133,7 @@
> # endif
> executable_name = (char*) malloc(MAXPATHLEN);
> if (executable_name == NULL) { errno = ENOMEM; goto notfound; }
> - if (realpath(program_name,executable_name) == NULL) {
> + if (realpath(program_name,executable_name) == NULL && errno!=ENOTDIR ) {
> free(executable_name); goto notfound;
> }
> #if defined(UNIX_CYGWIN32)
this is not good.
please fix realpath instead.
> /cygdrive/c/packages/clisp/modules/syscalls/calls.c: In function `C_subr_posix_system_info':
> /cygdrive/c/packages/clisp/modules/syscalls/calls.c:3616: error: called object is not a function
oops. my fault, fixed.
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031
http://thereligionofpeace.com http://camera.org http://palestinefacts.org
http://www.PetitionOnline.com/tap12009/ http://jihadwatch.org
Whether pronounced "leenooks" or "line-uks", it's better than Windows. |