Mail Archives: cygwin/2010/12/23/12:14:49
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
- Raw text -