X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Thu, 23 Dec 2010 12:14:22 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: make - lots of compile errors Message-ID: <20101223171422.GB13263@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Dec 23, 2010 at 02:17:05PM -0200, Carlos Pfitzner wrote: >I am compliling squid to run on windows - native -or- under cygwin >./configure >runs fine > >however >make >guives a lot off errors and termintates > >I believve is not possible to be c c++ forget to be updated or similar >cause my cygwin version 1.7.1-1 >is a new instalation completely downloaded from internet recently 1.7.1-1 is not the latest version. >in addition I installed sasl >so, now , ./configure works , >but make still dont works > >help please > >$ make >Making all in compat >make[1]: Entering directory `/home/Administrator/work/squid-3.2.0.3/compat' >g++ -DHAVE_CONFIG_H -I.. -I../include -I../lib -I../src -I../include -Wall > -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -M >T assert.o -MD -MP -MF .deps/assert.Tpo -c -o assert.o assert.cc >In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32a >pi/ws2tcpip.h:19, > from ../compat/os/mswin.h:221, > from ../compat/compat.h:72, > from ../include/config.h:68, > from assert.cc:34: >/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winsock2.h:103:2: e >rror: #warning "fd_set and associated macros have been defined in sys/types. > This may cause runtime problems with W32 sockets" >In file included from /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32a >pi/ws2tcpip.h:19, > from ../compat/os/mswin.h:221, > from ../compat/compat.h:72, > from ../include/config.h:68, > from assert.cc:34: squid is pulling in windows headers files which conflict with cygwin header files. It should be told not to do that. I doubt that including "compat/os/mswin.h" is correct. cgf -- 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