This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: can some one please help me fix compiling errors related to winsock and sys/types and fd_set...etc
- From: Mark Geisert <mark at maxrnd dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 25 Dec 2009 06:51:30 +0000 (UTC)
- Subject: Re: can some one please help me fix compiling errors related to winsock and sys/types and fd_set...etc
- References: <333423.84515.qm@web112714.mail.gq1.yahoo.com>
Josh writes:
[...a bunch of detailed stuff...]
If this were really a Cygwin program you likely wouldn't be #include-ing
winsock.h. Is this a native Windows program you're just trying to build with
gcc? If so, you likely don't want Cygwin, you want MinGW, a separate project
with different goals. Look it up.
If that's not the case, you're going to have to slow down... you've got more
than two errors to worry about. What I would do is forget '-O3' until stuff
builds and use '-c' on each source file one at a time to make sure each
compiles. In any case with Cygwin you don't want to be linking against winsock
anyway; Cygwin supplies the network functions itself.
You'll need more assistance than I can give, so good luck. Others here may be
able to help.
Cheers,
..mark
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple