apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: APR 1.0.0 and CYGWIN
Date Thu, 14 Oct 2004 19:39:17 GMT

  we really shouldn't be building unix/ on cygwin.  In spite
of the built-in support, it simply hasn't been vetted and is
bound to have vulnerabilities if used for Apache 2.0.

  Ideally we should modify the configure.in for cygwin to
determine win32/ as the build sources, and toggle -DWIN32.
There are probably other side effects, but I'd be happy to
help you work through them if you would like to help us
put together a patch.

  In many cases (see the file lists in the .dsp win32 build
files) we zig-zag between win32/ and unix/ in the same tree,
and need to see how to do so effectively for cygwin.

  If we do this right, the same sources should build on both
cygwin and mingw.


At 02:17 PM 10/14/2004, Daniel May wrote:
>I was unable to build ARP-1.0.0 on CYGWIN.  I get the following error:
>$ make
>make[1]: Entering directory `/cygdrive/y/spryware/apr/apr-1.0.0'
>/bin/bash /cygdrive/y/spryware/apr/apr-1.0.0/libtool --silent --mode=compile gcc -g -O2
>FIG_H -DCYGWIN   -I./include -I/cygdrive/y/spryware/apr/apr-1.0.0/include/arch/unix -I./include/arch
>/unix -I/cygdrive/y/spryware/apr/apr-1.0.0/include  -o network_io/unix/sockopt.lo -c network_io/unix
>/sockopt.c && touch network_io/unix/sockopt.lo
>network_io/unix/sockopt.c: In function `apr_socket_opt_set':
>network_io/unix/sockopt.c:135: error: `ttllevel' undeclared (first use in this function)
>network_io/unix/sockopt.c:135: error: (Each undeclared identifier is reported only once
>network_io/unix/sockopt.c:135: error: for each function it appears in.)
>network_io/unix/sockopt.c:136: error: `ttl' undeclared (first use in this function)
>make[1]: *** [network_io/unix/sockopt.lo] Error 1
>make[1]: Leaving directory `/cygdrive/y/spryware/apr/apr-1.0.0'
>make: *** [all-recursive] Error 1
>Daniel May

View raw message