From: Yaroslav K. <kav...@gm...> - 2011-07-26 06:55:08
|
Sam Steingold wrote: >> ok. spvwtab*.d: >> >> #include "lispbibl.c" >> #undef listen >> #undef close >> #undef select > > is "undef select" really necessary?! No, "undef select" only need the following two files: >> >> win32aux.d: >> >> #include "lispbibl.c" >> #undef select >> #undef listen >> >> >> stream.d: >> >> #include "lispbibl.c" >> #undef listen >> #undef select >> > > are these two really necessary? "select" - yes, "listen" - no ../src/win32aux.d: In function 'sock_read_will_hang_p': ../src/win32aux.d:788:3: warning: implicit declaration of function 'select_used_without_requesting_gnulib_module_select' and so on >> g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: >> regex.h: No such file or directory >> compilation terminated. >> make[1]: *** [regexi.o] Error 1 >> make[1]: Leaving directory `/home/src/clisp/clisp/build-full-debug/regexp' >> make: *** [regexp] Error 2 > > does it work if you add -I/home/src/clisp/clisp/src/gllib to CPPFLAGS in > build-full-debug/regexp/Makefile? no: regexp/Makefile: CC = gcc CPPFLAGS = -I/home/src/clisp/clisp/src/gllib CFLAGS = -g -O2 CLISP = /home/src/clisp/clisp/build-full-debug/clisp -K boot -E UTF-8 -Emisc 1:1 -Epathname 1:1 -norc -norc -q CLISP_LIBDIR = G:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\ CLISP_LINKKIT = G:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit ... regexi.o : regexi.m.c config.h $(CC) $(CPPFLAGS) $(CFLAGS) -I$(CLISP_LINKKIT) \ -c regexi.m.c -o regexi.o out: cd regexp ; make clisp-module CC="gcc" CPPFLAGS="-I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -I/home/src/clisp/clisp/build-full-debug" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/include -DDYNAMIC_FFI -I." CLFLAGS="" LIBS="-lintl /usr/local/lib/libreadline.dll.a -L/usr/local/lib -ltermcap -ldl /usr/local/lib/libavcall.a /usr/local/lib/libcallback.a -luser32 -lole32 -loleaut32 -luuid -liconv -L/usr/local/lib -lsigsegv libgnu.a -lws2_32" RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.dll make[1]: Entering directory `/home/src/clisp/clisp/build-full-debug/regexp' gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -I/home/src/clisp/clisp/build-full-debug -g -O2 -W -W switch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -fal ign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/includ e -DDYNAMIC_FFI -I. -IG:\\gnu\\home\\src\\clisp\\clisp\\build-full-debug\\linkkit \ -c regexi.m.c -o regexi.o g:/gnu/home/src/clisp/clisp/modules/regexp/regexi.c:12:19: fatal error: regex.h: No such file or directory:\ > did the top-level configure find readline? yes > what findings did it report? Configure findings: FFI: yes (user requested: default) readline: yes (user requested: yes) libsigsegv: yes ./makemake --with-dynamic-ffi --with-dynamic-modules=no --verbose=yes --with-debug --with-readline --with-module=dirkey --with-module=pcre --with-module=rawsock --with-module=bindings/win32 --with-libreadline-prefix=/usr/local --with-libtermcap-prefix=/usr/local --with-libpcre-prefix=/usr/local --with-module=zlib --with-module=libsvm --disable-maintainer-mode --srcdir=../src --win32gcc > Makefile > grep READLINE config.h $ grep READLINE config.h #define HAVE_DECL_RL_GNU_READLINE_P 1 #define HAVE_DECL_RL_READLINE_NAME 1 #define HAVE_READLINE /**/ #define HAVE_READLINE_READLINE_H 1 #define READLINE_CONST const #define READLINE_FILE_COMPLETE rl_filename_completion_function > grep readline config.cache $ grep readline config.cache ac_cv_func_readline=${ac_cv_func_readline=yes} ac_cv_have_decl_rl_gnu_readline_p=${ac_cv_have_decl_rl_gnu_readline_p=yes} ac_cv_have_decl_rl_readline_name=${ac_cv_have_decl_rl_readline_name=yes} ac_cv_have_readline=${ac_cv_have_readline=yes} ac_cv_header_readline_readline_h=${ac_cv_header_readline_readline_h=yes} ac_cv_use_readline=${ac_cv_use_readline=yes} cl_cv_proto_readline_const=${cl_cv_proto_readline_const=const} when preset CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" in ./configure..., all modules is built, but: 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 -- WBR, Yaroslav Kavenchuk |