www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Mark Geisert <mark AT maxrnd DOT com> |
Subject: | Re: can some one please help me fix compiling errors related to winsock and sys/types and =?utf-8?b?ZmRfc2V0Li4uZXRj?= |
Date: | Fri, 25 Dec 2009 06:51:30 +0000 (UTC) |
Lines: | 21 |
Message-ID: | <loom.20091225T073918-722@post.gmane.org> |
References: | <333423 DOT 84515 DOT qm AT web112714 DOT mail DOT gq1 DOT yahoo DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |