This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compiling python under cygwin


On Wed, Oct 04, 2000 at 11:05:24PM -0400, Jason Tishler wrote:
>On Wed, Oct 04, 2000 at 08:56:40PM -0400, Chris Faylor wrote:
>>How about a few more details other than "fail compilation" before any
>>decisions are made?
>
>See attached for the compilation errors from compiling Python 2.0b2's
>Modules/socketmodule.c after replacing an empty
>/usr/include/netinet/tcp.h with the one from the latest snapshot.  The
>PostgreSQL compilation errors are similar.

Ok.  You've convinced me.  tcp.h is conflicting with sys/socket.h among other
things.  I'll remove the winsock.h reference.

cgf

>gcc  -g -O2 -I./../Include -I.. -DHAVE_CONFIG_H -c ./socketmodule.c
>In file included from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/netinet/tcp.h:4,
>                 from ./socketmodule.c:126:
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winsock.h:104: warning: `_IO' redefined
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/asm/socket.h:11: warning: this is the location of the previous definition
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winsock.h:105: warning: `_IOR' redefined
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/asm/socket.h:12: warning: this is the location of the previous definition

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]