From: Dimitrios K. <dim...@gm...> - 2006-05-11 13:40:50
|
Hi, I have some trouble to compile clisp2.35 in cygwin under Windows XP. The errors which appeared were all about if WIN32 is defined. Is there any option i need to give to configure or to make to recognize i am compiling under Cygwin? I tried ./configure CFLAGS=CYGWIN32 but configure stopped immediately. According to uname it is CYGWIN_NT-5.1 but there is no such entry in sourcecode AFAIK. I tried to remove or to undefine WIN32 by myself, but the compilation process stopped on the step making calls.o make[1]: Entering directory `/clisp-2.35/clisp-2.35/src/syscalls' /clisp-2.35/clisp-2.35/src/lisp.exe -M /clisp-2.35/clisp-2.35/src/lispinit.mem - B /clisp-2.35/clisp-2.35/src -N /clisp-2.35/clisp-2.35/src/locale -Efile UTF-8 - Eterminal UTF-8 -norc -q ../modprep.fas calls.c ;; MODPREP: "calls.c" --> #P"calls.m.c" ;; MODPREP: reading "calls.c": 131,835 bytes, 3,471 lines ;; MODPREP: 471 objects, 61 DEFUNs ;; packages: ("OS" "POSIX") MODPREP: wrote calls.m.c (423,084 bytes) gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-de clarations -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE -DNO_SIGSEG V -I. -I.. -c calls.m.c -o calls.o In file included from calls.c:20: ../clisp.h:589: warning: register used for two global register variables calls.c: In function `kwtopropid': calls.c:3260: error: `PID_CODEPAGE' undeclared (first use in this function) calls.c:3260: error: (Each undeclared identifier is reported only once calls.c:3260: error: for each function it appears in.) calls.c:3261: error: `PID_LOCALE' undeclared (first use in this function) make[1]: *** [calls.o] Error 1 make[1]: Leaving directory `/clisp-2.35/clisp-2.35/src/syscalls' make: *** [syscalls] Error 2 don't know what to change there to make it progress. But most important would be for me how to let configure/make whatever know that i am compiling under cygwin? any ideas? thank you, Dimitrios Kapanikis |