From: Yaroslav K. <kav...@gm...> - 2011-07-06 08:38:13
|
$ uname -a MINGW32_NT-5.1 STSST063 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys $ ./configure --with-debug \ --with-mingw \ --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 \ --without-dynamic-modules \ --cbc build-full-debug cross-compiling for mingw ... Hmm, "cross-compiling"? Next: Configure findings: FFI: yes (user requested: default) readline: yes (user requested: yes) libsigsegv: yes ... EXPORT_DYNAMIC_FLAG_SPEC=-Wl,--export-all-symbols module_configure_flags= '--disable-option-checking' '--with-readline' '--with-libreadline-prefix=/usr/local' '--with-libtermcap-prefix=/usr/local' '--with-libpcre-prefix=/usr/local' '--disable-maintainer-mode' '--build=mingw32' 'build_alias=mingw32' 'CC=gcc -mno-cygwin' --build=debug # host system: hostname = "STSst063" HSYS = "debug" HSYSOS = "debug" HOS = "unix" host_cpu = "i386" host_ABI = "i386" cpu = "i386" host_os = "mingw32" host = "i386-pc-mingw32" # target system: TSYS = "debug" TSYSOS = "debug" TOS = "unix" ... echo '#include "config.h"' > tmp.c cat '../src/intparam.c' >> tmp.c win32gcc tmp.c -o intparam make: win32gcc: Command not found make: [intparam.h] Error 127 (ignored) ./intparam intparam.h make: ./intparam: Command not found make: *** [intparam.h] Error 127 What is `win32gcc`? From cygwin or cross-compiling? -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-06 14:45:37
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-06 11:22:23 +0300]: > > $ uname -a > MINGW32_NT-5.1 STSST063 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys > > $ ./configure --with-debug \ > --with-mingw \ > --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 \ > --without-dynamic-modules \ > --cbc build-full-debug > cross-compiling for mingw > ... > > Hmm, "cross-compiling"? yep. see configure. note that --with-mingw is obsolete. if you are using cygwin, you should do something like "./configure CC=i686-w64-mingw32-gcc ..." if you are using mingw without cygwin (dunno what that is), plain "./configure ..." should work just fine. note that gcc4 does not accept "-mno-cygwin" argument. > Next: > > Configure findings: > FFI: yes (user requested: default) > readline: yes (user requested: yes) > libsigsegv: yes > ... > EXPORT_DYNAMIC_FLAG_SPEC=-Wl,--export-all-symbols > module_configure_flags= '--disable-option-checking' '--with-readline' > '--with-libreadline-prefix=/usr/local' > '--with-libtermcap-prefix=/usr/local' '--with-libpcre-prefix=/usr/local' > '--disable-maintainer-mode' '--build=mingw32' 'build_alias=mingw32' > 'CC=gcc -mno-cygwin' --build=debug --build=debug is wrong. > HSYS = "debug" > HSYSOS = "debug" > TSYS = "debug" > TSYSOS = "debug" this is wrong. TSYSOS should be win32gcc can you tell me how makemake is invoked (this should appear in the first lines in build/Makefile). also, "grep ac_cv_host config.cache" and "grep ac_cv_prog_CC config.cache" would be usefule. you can take a look at the top-level configure ... thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://iris.org.il http://camera.org http://memri.org http://pmw.org.il http://dhimmi.com http://openvotingconsortium.org You think Oedipus had a problem -- Adam was Eve's mother. |
From: Yaroslav K. <kav...@gm...> - 2011-07-07 08:05:33
|
Sam Steingold wrote: >> Hmm, "cross-compiling"? > > yep. see configure. > note that --with-mingw is obsolete. ok, without --with-mingw cross-compiling disappeared Now: $ ./configure --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 \ --without-dynamic-modules \ --cbc build-full-debug ... ./makemake --with-dynamic-ffi --with-dynamic-modules=no --verbose=yes --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 debug --win32gcc > Makefile with_readline=yes with_libreadline_prefix=/usr/local with_libtermcap_prefix=/usr/local with_libpcre_prefix=/usr/local enable_maintainer_mode=no inferred: fsstnd = gnu_ext EXPORT_DYNAMIC_FLAG_SPEC=-Wl,--export-all-symbols module_configure_flags= '--disable-option-checking' '--with-readline' '--with-libreadline-prefix=/usr/local' '--with-libtermcap-prefix=/usr/local' '--with-libpcre-prefix=/usr/local' '--disable-maintainer-mode' '--cache-file=config.cache' --build=debug # host system: hostname = "STSst063" HSYS = "debug" HSYSOS = "debug" HOS = "unix" host_cpu = "i686" host_ABI = "i386" cpu = "i386" host_os = "mingw32" host = "i686-pc-mingw32" # target system: TSYS = "debug" TSYSOS = "debug" TOS = "unix" > can you tell me how makemake is invoked (this should appear in the first > lines in build/Makefile). https://sites.google.com/site/kavenchuk/Makefile https://sites.google.com/site/kavenchuk/config.lisp.txt (I renamed for uploading) https://sites.google.com/site/kavenchuk/config.log https://sites.google.com/site/kavenchuk/config.cache > also, "grep ac_cv_host config.cache" and "grep ac_cv_prog_CC > config.cache" would be usefule. $ grep ac_cv_host config.cache ac_cv_host=${ac_cv_host=i686-pc-mingw32} $ grep ac_cv_prog_CC config.cache $ -- WBR, Yaroslav Kavenchuk |
From: Yaroslav K. <kav...@gm...> - 2011-07-07 08:06:11
|
./makemake --with-dynamic-ffi --with-dynamic-modules=no --verbose=yes --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 debug --win32gcc > Makefile Why '--win32gcc' should be after 'debug'? -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-07 14:43:48
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-07 11:05:45 +0300]: > > Why '--win32gcc' should be after 'debug'? it should not. I think I fixed this in hg. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://palestinefacts.org http://ffii.org http://www.memritv.org http://dhimmi.com http://pmw.org.il http://thereligionofpeace.com Booze is the answer. I can't remember the question. |
From: Yaroslav K. <kav...@gm...> - 2011-07-08 06:36:23
|
Sam Steingold wrote: > I think I fixed this in hg. Yes, it is. -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-07 14:53:20
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-07 13:05:19 +0300]: > > E:\Temp\cc4I4Ayu.o: In function `xmalloc': > g:\gnu\home\src\clisp\clisp\build-full-debug/../utils/gctrigger.c:47: > undefined reference to `rpl_malloc' what happens if you replace "UTILCC=gcc" with "UTILCC=$(CC)" in Makefile? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.PetitionOnline.com/tap12009/ http://www.memritv.org http://dhimmi.com http://mideasttruth.com http://truepeace.org http://ffii.org Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. |
From: Sam S. <sd...@gn...> - 2011-07-08 13:10:31
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-08 09:35:39 +0300]: > > Sam Steingold wrote: >> what happens if you replace "UTILCC=gcc" with "UTILCC=$(CC)" in Makefile? > > the same result > > and rpl_malloc is not present in mingw of course it does not - it's in libgnu.a. how about this: diff -r d34dd44824e9 src/makemake.in --- a/src/makemake.in Fri Jul 08 09:08:50 2011 -0400 +++ b/src/makemake.in Fri Jul 08 09:08:56 2011 -0400 @@ -2334,6 +2334,7 @@ elif [ $CROSS = true ]; then else echol "UTILCC=\$(CC)" fi +EXTRAOBJ=${GLLIB_A} UTILCOMPILE="\$(UTILCC) \$(CPPFLAGS) \$(CFLAGS) \$(CLFLAGS) ${EXTRAOBJ}" for util in ${UTILS} ; do echol "${util}${HEXE} : ${UTILDIR_M}${util}.c" you might need to play with the argument order; maybe try edititing the Makefile directly putting libgnu.a before or after the object file(?) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://truepeace.org http://memri.org http://iris.org.il http://honestreporting.com http://thereligionofpeace.com Single tasking: Just Say No. |
From: Sam S. <sd...@gn...> - 2011-07-08 14:48:47
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-08 16:51:51 +0300]: > > Sam Steingold wrote: >> of course it does not - it's in libgnu.a. >> how about this: >> >> diff -r d34dd44824e9 src/makemake.in >> --- a/src/makemake.in Fri Jul 08 09:08:50 2011 -0400 >> +++ b/src/makemake.in Fri Jul 08 09:08:56 2011 -0400 >> @@ -2334,6 +2334,7 @@ elif [ $CROSS = true ]; then >> else >> echol "UTILCC=\$(CC)" >> fi >> +EXTRAOBJ=${GLLIB_A} >> UTILCOMPILE="\$(UTILCC) \$(CPPFLAGS) \$(CFLAGS) \$(CLFLAGS) ${EXTRAOBJ}" >> for util in ${UTILS} ; do >> echol "${util}${HEXE} : ${UTILDIR_M}${util}.c" >> >> >> you might need to play with the argument order; maybe try edititing the >> Makefile directly putting libgnu.a before or after the object file(?) >> > > no, only if I set EXTRAOBJ=gnulib/malloc.a what happens when you use EXTRAOBJ=${GLLIB_A}? > next: > > gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib > -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. -c spvwtabs.c > In file included from ../src/lispbibl.d:1935:0, > from ../src/spvwtabs.d:8: > ../src/win32.d:328:0: warning: "HAVE_IPV4" redefined > config.h:438:0: note: this is the location of the previous definition > ../src/win32.d:329:0: warning: "HAVE_IPV6" redefined > config.h:441:0: note: this is the location of the previous definition grep HAVE_IPV ../src/win32.d config.h > In file included from ../src/spvwtabs.d:42:0: > ../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named > 'S_listen_used_without_including_sys_socket_h' > ../src/constsym.d:403:1: warning: missing initializer > ../src/constsym.d:403:1: warning: (near initialization for > 'symbol_tab_data.S_listen.symvalue') > ../src/constsym.d:404:1: warning: missing initializer > ........ > ../src/constsym.d:2100:1: warning: (near initialization for > 'symbol_tab_data.S_foreign_call_in.symvalue') > ../src/spvwtabs.d:44:7: warning: missing initializer > ../src/spvwtabs.d:44:7: warning: (near initialization for > 'symbol_tab_data.S_listen') > make: *** [spvwtabs.o] Error 1 ok, one of the gnulib headers is acting up; please find out which: grep listen_used_without_including_sys_socket_h gnulib/*.h thanks. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://memri.org http://iris.org.il http://camera.org http://ffii.org http://honestreporting.com http://www.memritv.org "Syntactic sugar causes cancer of the semicolon." -Alan Perlis |
From: Yaroslav K. <kav...@gm...> - 2011-07-09 21:52:34
|
2011/7/8 Sam Steingold wrote: > what happens when you use EXTRAOBJ=${GLLIB_A}? my bug: it work in the following configuration: EXTRAOBJ=gllib/${GLLIB_A} UTILCOMPILE="\$(UTILCC) \$(CPPFLAGS) \$(CFLAGS) \$(CLFLAGS) " for util in ${UTILS} ; do echol "${util}${HEXE} : ${UTILDIR_M}${util}.c" echotab_to_HEXE "${UTILCOMPILE}" "${UTILDIR_CC}${util}.c ${EXTRAOBJ}" "${util}" echol done > grep HAVE_IPV ../src/win32.d config.h $ grep HAVE_IPV ../src/win32.d config.h ../src/win32.d:#define HAVE_IPV4 ../src/win32.d:#define HAVE_IPV6 config.h:#define HAVE_IPV4 1 config.h:#define HAVE_IPV6 1 > ok, one of the gnulib headers is acting up; please find out which: > > grep listen_used_without_including_sys_socket_h gnulib/*.h $ grep listen_used_without_including_sys_socket_h gllib/*.h gllib/unistd.h:# define listen listen_used_without_including_sys_socket_h -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-11 14:20:25
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-10 00:52:27 +0300]: > >> grep HAVE_IPV ../src/win32.d config.h > > $ grep HAVE_IPV ../src/win32.d config.h > ../src/win32.d:#define HAVE_IPV4 > ../src/win32.d:#define HAVE_IPV6 > config.h:#define HAVE_IPV4 1 > config.h:#define HAVE_IPV6 1 thanks. how about all the other constants? specifically: grep '#undef' src/config.h.in | sed 's/#undef *//'|sort > c egrep '^ *#define' src/win32.d | sed -e 's/^ *#define *\([^ ]*\).*/\1/' | sort > w diff -u c w | grep '^ ' HAVE_GETHOSTBYNAME HAVE_GETHOSTNAME HAVE_IPV4 HAVE_IPV6 HAVE_LC_MESSAGES HAVE_MUNMAP HAVE_SHUTDOWN HAVE_STRERROR HAVE_WORKING_MPROTECT SETSOCKOPT_ARG_T SETSOCKOPT_CONST SETSOCKOPT_OPTLEN_T SIZEOF_OFF_T socklen_t for c in `diff -u c w | grep '^ '`; do grep $c src/win32.d build/config.h; done -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://dhimmi.com http://jihadwatch.org http://ffii.org http://camera.org http://www.PetitionOnline.com/tap12009/ http://pmw.org.il Hard work has a future payoff. Laziness pays off NOW. |
From: Sam S. <sd...@gn...> - 2011-07-13 14:55:51
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-12 10:23:01 +0300]: > thanks, fix committed. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://camera.org http://mideasttruth.com http://ffii.org http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) |
From: Yaroslav K. <kav...@gm...> - 2011-07-15 06:07:24
|
I wrote: > stream.o: In function `low_listen_unbuffered_socket': > g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:13509: > undefined reference to `select_used_without_including_sys_ > select_h' ... before it: gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -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. -c pathname.c gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplic it -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_O S_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -I/usr/local/include -DDYNAMIC_FFI -I. -c stream.c ../src/stream.d: In function 'low_listen_unbuffered_socket': ../src/stream.d:13509:3: warning: implicit declaration of function 'select_used_without_including_sys_select_h' ../src/stream.d: In function 'sock_opt_bool': ../src/stream.d:14574:5: warning: implicit declaration of function 'setsockopt_used_without_including_sys_socket_h' ../src/stream.d: In function 'C_socket_stream_shutdown': ../src/stream.d:14900:3: warning: implicit declaration of function 'shutdown_used_without_including_sys_socket_h' gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -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. -c socket.c ../src/socket.d: In function 'addr_to_string': ../src/socket.d:149:5: warning: implicit declaration of function 'inet_ntop' ../src/socket.d:150:28: warning: passing argument 1 of 'asciz_to_string' makes pointer from integer without a cast ../src/lispbibl.d:12920:23: note: expected 'const char *' but argument is of type 'int' ../src/socket.d:155:28: warning: passing argument 1 of 'asciz_to_string' makes pointer from integer without a cast ../src/lispbibl.d:12920:23: note: expected 'const char *' but argument is of type 'int' ../src/socket.d: In function 'nonintr_connect': ../src/socket.d:237:5: warning: implicit declaration of function 'connect_used_without_including_sys_socket_h' ../src/socket.d: In function 'with_host': ../src/socket.d:264:5: warning: implicit declaration of function 'inet_pton' ../src/socket.d: In function 'connect_to_x_via_ip': ../src/socket.d:508:5: warning: implicit declaration of function 'socket_used_without_including_sys_socket_h' ../src/socket.d:513:7: warning: implicit declaration of function 'setsockopt_used_without_including_sys_socket_h' ../src/socket.d: In function 'socket_getlocalname_aux': ../src/socket.d:679:3: warning: implicit declaration of function 'getsockname_used_without_including_sys_socket_h' ../src/socket.d: In function 'socket_getpeername': ../src/socket.d:731:3: warning: implicit declaration of function 'getpeername_used_without_including_sys_socket_h' ../src/socket.d: In function 'bindlisten_via_ip': ../src/socket.d:797:3: warning: implicit declaration of function 'bind_used_without_including_sys_socket_h' ../src/socket.d: In function 'accept_connection': ../src/socket.d:862:3: warning: implicit declaration of function 'accept_used_without_including_sys_socket_h' ... gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -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. -c win32aux.c ../src/win32aux.d: In function 'sock_read_will_hang_p': ../src/win32aux.d:787:3: warning: implicit declaration of function 'select_used_without_including_sys_select_h' ../src/win32aux.d: In function 'lowlevel_sock_read': ../src/win32aux.d:839:5: warning: implicit declaration of function 'recv_used_without_including_sys_socket_h' ../src/win32aux.d: In function 'lowlevel_sock_write': ../src/win32aux.d:950:5: warning: implicit declaration of function 'send_used_without_including_sys_socket_h' ../src/win32aux.d: In function 'abort': ../src/win32aux.d:1096:18: warning: division by zero -- WBR, Yaroslav Kavenchuk |
From: Yaroslav K. <kav...@gm...> - 2011-07-19 06:02:26
|
Sam Steingold wrote: > > please pull and try again. > gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -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. -c spvwtabs.c In file included from ../src/spvwtabs.d:42:0: ../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named 'S_listen_used_without_requesting_gnulib_module_listen' ../src/constsym.d:403:1: warning: missing initializer ../src/constsym.d:403:1: warning: (near initialization for 'symbol_tab_data.S_listen.symvalue') ../src/constsym.d:404:1: warning: missing initializer ../src/constsym.d:404:1: warning: (near initialization for 'symbol_tab_data.S_read_char_will_hang_p.symvalue') ../src/constsym.d:405:1: warning: missing initializer ... and so much > I don't want to nag or bitch, but I wish you all jumped in when I asked > for a windows build 2 months ago... :-( > lack of time and Mercurial... Excuse me. -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-19 14:13:50
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-19 09:02:09 +0300]: > > ../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named > 'S_listen_used_without_requesting_gnulib_module_listen' oh come on, we have been through this! http://article.gmane.org/gmane.lisp.clisp.devel:22568 please investigate and submit patches. this should probably fix the immediate issue: diff -r dd1adc411b87 src/lispbibl.d --- a/src/lispbibl.d Fri Jul 15 11:30:25 2011 -0400 +++ b/src/lispbibl.d Tue Jul 19 10:12:19 2011 -0400 @@ -1063,6 +1063,8 @@ %% puts("#include <sys/types.h>"); #include <unistd.h> #include <sys/socket.h> /* declares select, used in stream.d */ +/* gnulib defines listen to listen_used_without_requesting_gnulib_module_listen in sys/socket.h */ +#undef listen #include <locale.h> #include <errno.h> #include <string.h> /* declares strlen() et al */ > ../src/constsym.d:403:1: warning: missing initializer > ../src/constsym.d:403:1: warning: (near initialization for > 'symbol_tab_data.S_listen.symvalue') > ../src/constsym.d:404:1: warning: missing initializer > ../src/constsym.d:404:1: warning: (near initialization for > 'symbol_tab_data.S_read_char_will_hang_p.symvalue') > ../src/constsym.d:405:1: warning: missing initializer > ... > > and so much you mean more messages like that? what are they? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://palestinefacts.org http://openvotingconsortium.org http://mideasttruth.com http://honestreporting.com http://dhimmi.com Growing Old is Inevitable; Growing Up is Optional. |
From: Yaroslav K. <kav...@gm...> - 2011-07-19 16:46:08
|
2011/7/19 Sam Steingold wrote: > please investigate and submit patches. > this should probably fix the immediate issue: > ok, this has solved problem with 'symbol_tab_data.*, but... > oh come on, we have been through this! yes :( ... gcc -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. spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o win32aux.o built.o ari80386.o modules.o -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 -o lisp.exe stream.o: In function `low_listen_unbuffered_socket': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:13508: undefined reference to `select_used_without_including_sys_select_h' stream.o: In function `C_socket_status': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:14522: undefined reference to `select_used_without_including_sys_select_h' stream.o: In function `sock_opt_bool': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:14573: undefined reference to `setsockopt_used_without_requesting_gnulib_module_setsockopt' stream.o: In function `sock_opt_int': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:14592: undefined reference to `setsockopt_used_without_requesting_gnulib_module_setsockopt' stream.o: In function `sock_opt_time': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:14615: undefined reference to `setsockopt_used_without_requesting_gnulib_module_setsockopt' stream.o: In function `C_socket_options': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:14697: undefined reference to `setsockopt_used_without_requesting_gnulib_module_setsockopt' stream.o: In function `C_socket_stream_shutdown': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/stream.d:14899: undefined reference to `shutdown_used_without_requesting_gnulib_module_shutdown' socket.o: In function `nonintr_connect': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:184: undefined reference to `socket_used_without_requesting_gnulib_module_connect' socket.o: In function `connect_to_x_via_ip': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:455: undefined reference to `socket_used_without_requesting_gnulib_module_socket' g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:460: undefined reference to `setsockopt_used_without_requesting_gnulib_module_setsoc kopt' socket.o: In function `socket_getlocalname_aux': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:626: undefined reference to `getsockname_used_without_requesting_gnulib_module_getso ckname' socket.o: In function `socket_getpeername': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:680: undefined reference to `getpeername_used_without_requesting_gnulib_module_getpe ername' socket.o: In function `bindlisten_via_ip': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:734: undefined reference to `socket_used_without_requesting_gnulib_module_socket' g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:742: undefined reference to `setsockopt_used_without_requesting_gnulib_module_setsoc kopt' g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:748: undefined reference to `bind_used_without_requesting_gnulib_module_bind' socket.o: In function `create_server_socket_by_socket': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:777: undefined reference to `getsockname_used_without_requesting_gnulib_module_getso ckname' socket.o: In function `accept_connection': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:813: undefined reference to `accept_used_without_requesting_gnulib_module_accept' socket.o: In function `connect_via_ip': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/socket.d:828: undefined reference to `socket_used_without_requesting_gnulib_module_socket' win32aux.o: In function `sock_read_will_hang_p': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/win32aux.d:787: undefined reference to `select_used_without_including_sys_select_h' win32aux.o: In function `lowlevel_sock_read': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/win32aux.d:839: undefined reference to `recv_used_without_requesting_gnulib_module_recv' win32aux.o: In function `sock_write_will_hang_p': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/win32aux.d:898: undefined reference to `select_used_without_including_sys_select_h' win32aux.o: In function `lowlevel_sock_write': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/win32aux.d:950: undefined reference to `send_used_without_requesting_gnulib_module_send' win32aux.o: In function `do_socket_wait': g:\gnu\home\src\clisp\clisp\build-full-debug/../src/win32aux.d:1014: undefined reference to `select_used_without_including_sys_select_h' collect2: ld returned 1 exit status make: *** [lisp.exe] Error 1 >> ../src/constsym.d:403:1: warning: missing initializer >> ../src/constsym.d:403:1: warning: (near initialization for >> 'symbol_tab_data.S_listen.symvalue') >> ../src/constsym.d:404:1: warning: missing initializer >> ../src/constsym.d:404:1: warning: (near initialization for >> 'symbol_tab_data.S_read_char_will_hang_p.symvalue') >> ../src/constsym.d:405:1: warning: missing initializer >> ... >> >> and so much > > you mean more messages like that? > what are they? all as (near initialization for 'symbol_tab_data.*') but your patch has solved the problem -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-19 21:58:49
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-19 19:46:02 +0300]: > please try again with hg up. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://ffii.org http://honestreporting.com http://www.memritv.org http://memri.org http://camera.org http://openvotingconsortium.org WHO ATE MY BREAKFAST PANTS? |
From: Yaroslav K. <kav...@gm...> - 2011-07-20 06:17:12
|
Sam Steingold wrote: > > please try again with hg up. > gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -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. -c spvw.c In file included from ../src/spvw.d:23:0: ../src/lispbibl.d:1039:24: fatal error: sys/select.h: No such file or directory compilation terminated. make: *** [spvw.o] Error 1 select.h not present in mingw if delete `#include <sys/select.h>` from build/lispbibl.c gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -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. -c spvwtabs.c In file included from ../src/spvwtabs.d:42:0: ../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named 'S_rpl_listen' ../src/constsym.d:403:1: warning: missing initializer ../src/constsym.d:403:1: warning: (near initialization for 'symbol_tab_data.S_listen.symvalue') ../src/constsym.d:404:1: warning: missing initializer ../src/constsym.d:404:1: warning: (near initialization for 'symbol_tab_data.S_read_char_will_hang_p.symvalue') ../src/constsym.d:405:1: warning: missing initializer ../src/constsym.d:405:1: warning: (near initialization for 'symbol_tab_data.S_read_char_no_hang.symvalue') ../src/constsym.d:406:1: warning: missing initializer ../src/constsym.d:406:1: warning: (near initialization for 'symbol_tab_data.S_clear_input.symvalue') ../src/constsym.d:407:1: warning: missing initializer ../src/constsym.d:407:1: warning: (near initialization for 'symbol_tab_data.S_read_from_string.symvalue') ../src/constsym.d:408:1: warning: missing initializer ../src/constsym.d:408:1: warning: (near initialization for 'symbol_tab_data.S_parse_integer.symvalue') ../src/constsym.d:409:1: warning: missing initializer ../src/constsym.d:409:1: warning: (near initialization for 'symbol_tab_data.S_print_structure.symvalue') ../src/constsym.d:410:1: warning: missing initializer ../src/constsym.d:410:1: warning: (near initialization for 'symbol_tab_data.S_write.symvalue') ../src/constsym.d:411:1: warning: missing initializer ../src/constsym.d:411:1: warning: (near initialization for 'symbol_tab_data.S_prin1.symvalue') ../src/constsym.d:412:1: warning: missing initializer ../src/constsym.d:412:1: warning: (near initialization for 'symbol_tab_data.S_print.symvalue') ../src/constsym.d:413:1: warning: missing initializer ../src/constsym.d:413:1: warning: (near initialization for 'symbol_tab_data.S_pprint.symvalue') ../src/constsym.d:414:1: warning: missing initializer ../src/constsym.d:414:1: warning: (near initialization for 'symbol_tab_data.S_pprint_dispatch.symvalue') ../src/constsym.d:415:1: warning: missing initializer ../src/constsym.d:415:1: warning: (near initialization for 'symbol_tab_data.S_pprint_indent.symvalue') ../src/constsym.d:416:1: warning: missing initializer ../src/constsym.d:416:1: warning: (near initialization for 'symbol_tab_data.S_pprint_newline.symvalue') ../src/constsym.d:417:1: warning: missing initializer ../src/constsym.d:417:1: warning: (near initialization for 'symbol_tab_data.S_ppprint_logical_block.symvalue') ../src/constsym.d:418:1: warning: missing initializer ../src/constsym.d:418:1: warning: (near initialization for 'symbol_tab_data.S_pcirclep.symvalue') ../src/constsym.d:419:1: warning: missing initializer ../src/constsym.d:419:1: warning: (near initialization for 'symbol_tab_data.S_princ.symvalue') ../src/constsym.d:420:1: warning: missing initializer ... ../src/constsym.d:659:1: warning: (near initialization for 'symbol_tab_data.S_reopen_open_file.symvalue') ../src/constsym.d:660:1: error: 'struct symbol_tab_' has no member named 'S_close_used_without_requesting_gnulib_module_close' ... ../src/constsym.d:2100:1: warning: (near initialization for 'symbol_tab_data.S_foreign_call_in.symvalue') ../src/spvwtabs.d:44:7: warning: missing initializer ../src/spvwtabs.d:44:7: warning: (near initialization for 'symbol_tab_data.S_listen') make: *** [spvwtabs.o] Error 1 -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-20 14:40:40
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-20 09:16:57 +0300]: > > ../src/lispbibl.d:1039:24: fatal error: sys/select.h: No such file or > directory fixed. thanks. > In file included from ../src/spvwtabs.d:42:0: > ../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named > 'S_rpl_listen' please figure out which gnulib header defines listen to rpl_listen and move its inclusion so that spvwtabs is not affected. > ../src/constsym.d:660:1: error: 'struct symbol_tab_' has no member named > 'S_close_used_without_requesting_gnulib_module_close' ditto. also, please remind me what your setup is. cygwin? msys/mingw? set|grep -i cygwin set|grep -i version gcc --version thanks. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://ffii.org http://www.PetitionOnline.com/tap12009/ http://www.memritv.org http://honestreporting.com http://camera.org My inner voice mostly screams "shut up!" |
From: Yaroslav K. <kav...@gm...> - 2011-07-07 10:05:37
|
> ./makemake --with-dynamic-ffi --with-dynamic-modules=no --verbose=yes > --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 debug --win32gcc> Makefile > > Why '--win32gcc' should be after 'debug'? > When I move 'debug' after '--win32gcc' and rerun make, I get next error: gcc -I/usr/local/include -I/home/src/clisp/clisp/build-full-debug/gllib -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. ../utils/gctrigger.c -o gctrigger.exe E:\Temp\cc4I4Ayu.o: In function `xmalloc': g:\gnu\home\src\clisp\clisp\build-full-debug/../utils/gctrigger.c:47: undefined reference to `rpl_malloc' collect2: ld returned 1 exit status make: *** [gctrigger.exe] Error 1 -- WBR, Yaroslav Kavenchuk |
From: Yaroslav K. <kav...@gm...> - 2011-07-21 06:12:15
|
Sam Steingold wrote: >> In file included from ../src/spvwtabs.d:42:0: >> ../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named >> 'S_rpl_listen' > > please figure out which gnulib header defines listen to rpl_listen and > move its inclusion so that spvwtabs is not affected. > from gllib/sys/socket.h:769: #if 1 # if 1 # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef listen # define listen rpl_listen # endif _GL_FUNCDECL_RPL (listen, int, (int fd, int backlog)); _GL_CXXALIAS_RPL (listen, int, (int fd, int backlog)); # else _GL_CXXALIAS_SYS (listen, int, (int fd, int backlog)); # endif _GL_CXXALIASWARN (listen); #elif 1 # undef listen # define listen listen_used_without_requesting_gnulib_module_listen #elif defined GNULIB_POSIXCHECK # undef listen # if HAVE_RAW_DECL_LISTEN _GL_WARN_ON_USE (listen, "listen is not always POSIX compliant - " "use gnulib module listen for portability"); # endif #endif spvwtabs.c: #include "lispbibl.c" lispbibl.c: #include <unistd.h> #include <sys/socket.h> /* declares select, used in stream.d */ unistd.h: /* Hide some function declarations from <winsock2.h>. */ #if 1 && 1 # if !defined _GL_SYS_SOCKET_H # if !(defined __cplusplus && defined GNULIB_NAMESPACE) # undef socket # define socket socket_used_without_including_sys_socket_h # undef connect # define connect connect_used_without_including_sys_socket_h # undef accept # define accept accept_used_without_including_sys_socket_h # undef bind # define bind bind_used_without_including_sys_socket_h # undef getpeername # define getpeername getpeername_used_without_including_sys_socket_h # undef getsockname # define getsockname getsockname_used_without_including_sys_socket_h # undef getsockopt # define getsockopt getsockopt_used_without_including_sys_socket_h # undef listen # define listen listen_used_without_including_sys_socket_h >> ../src/constsym.d:660:1: error: 'struct symbol_tab_' has no member named >> 'S_close_used_without_requesting_gnulib_module_close' > > ditto. Strangely enough, I got it again > also, please remind me what your setup is. > cygwin? msys/mingw? > set|grep -i cygwin > set|grep -i version > gcc --version > msys/mingw $ uname -a MINGW32_NT-5.1 STSST063 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys $ set|grep -i cygwin TERM=cygwin $ set|grep -i version BASH_VERSION='3.1.17(1)-release' $ gcc --version gcc.exe (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. from out of configure: # host system: hostname = "STSst063" HSYS = "win32gcc" HSYSOS = "win32gcc" HOS = "win32" host_cpu = "i686" host_ABI = "i386" cpu = "i386" host_os = "mingw32" host = "i686-pc-mingw32" # target system: TSYS = "win32gcc" TSYSOS = "win32gcc" TOS = "win32" -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-21 22:44:09
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-21 09:12:02 +0300]: > > Sam Steingold wrote: >>> In file included from ../src/spvwtabs.d:42:0: >>> ../src/constsym.d:403:1: error: 'struct symbol_tab_' has no member named >>> 'S_rpl_listen' >> >> please figure out which gnulib header defines listen to rpl_listen and >> move its inclusion so that spvwtabs is not affected. >> > > from gllib/sys/socket.h:769: > > spvwtabs.c: > #include "lispbibl.c" > > lispbibl.c: > #include <unistd.h> > #include <sys/socket.h> /* declares select, used in stream.d */ > > > unistd.h: > so, edit spvwtab*.d and add "#undef ..." after "#include lispbibl" to avoid these errors. let us see if we can get any farther. >> also, please remind me what your setup is. > msys/mingw what are the "unixy" paths in your universe, e.g., $ cd 'c:\windows\' $ pwd /cygdrive/c/windows is it /C/windows? do you have the "cygpath" command in your PATH? is there some other command to convert between windows paths "c:\windows" and unixy paths "/C/windows"? thanks. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://dhimmi.com http://ffii.org http://memri.org http://openvotingconsortium.org http://mideasttruth.com http://www.memritv.org Lisp: Serious empowerment. |
From: Yaroslav K. <kav...@gm...> - 2011-07-08 06:35:53
|
Sam Steingold wrote: > what happens if you replace "UTILCC=gcc" with "UTILCC=$(CC)" in Makefile? the same result and rpl_malloc is not present in mingw -- WBR, Yaroslav Kavenchuk |
From: Yaroslav K. <kav...@gm...> - 2011-07-22 07:01:48
|
Sam Steingold wrote: > so, edit spvwtab*.d and add "#undef ..." after "#include lispbibl" to > avoid these errors. > let us see if we can get any farther. #undef listen or some other? result: In file included from ../src/spvwtabs.d:42:0: ../src/constsym.d:660:1: error: 'struct symbol_tab_' has no member named 'S_close_used_without_requesting_gnulib_module_close' and many warnings > what are the "unixy" paths in your universe, e.g., > $ cd 'c:\windows\' > $ pwd > /cygdrive/c/windows > is it > /C/windows? yes $ cd "c:/windows" $ pwd /c/windows > do you have the "cygpath" command in your PATH? no: $ which cygpath which: cygpath: unknown command > is there some other command to convert between windows paths > "c:\windows" and unixy paths "/C/windows"? No, as far as I know. All mingw programs (including gcc, ld, dlltool...) use windows paths. All msys programs (bash & Co) use unixy paths with that: http://www.mingw.org/wiki/Posix_path_conversion -- WBR, Yaroslav Kavenchuk |
From: Sam S. <sd...@gn...> - 2011-07-22 14:25:31
|
> * Yaroslav Kavenchuk <xni...@tz...> [2011-07-22 10:01:33 +0300]: > > Sam Steingold wrote: >> so, edit spvwtab*.d and add "#undef ..." after "#include lispbibl" to >> avoid these errors. >> let us see if we can get any farther. > > #undef listen > > or some other? > > result: > In file included from ../src/spvwtabs.d:42:0: > ../src/constsym.d:660:1: error: 'struct symbol_tab_' has no member named > 'S_close_used_without_requesting_gnulib_module_close' > > and many warnings so add "undef close"&c &c &c. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://honestreporting.com http://mideasttruth.com http://truepeace.org http://palestinefacts.org http://iris.org.il http://jihadwatch.org ((lambda (x) (list x (list 'quote x))) '(lambda (x) (list x (list 'quote x)))) |