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 |