Hi list, I tried compiling mod_jk on cygwin and error occurred. It looks like a bug in configure, which correctly recognizes os as cygwin, but forgets to add -DCYGWIN for gcc, thus resulting in incorrect inclusion of sys/socketvar.h. Setting CFLAGS=-DCYGWIN solves the problem. Can someone take a look at it and maybe register this in a bug database? (I am pretty new here, so...)
mod_jk: 1.2.26 apache: 2.2.8 cygwin 1.5.25 os: Windows XP SP2 --------------------------------------------------------- ./buildconf.sh ./configure --with-apache=/home/user/apache2tmp/httpd-2.2.8 make ..... gcc -I/apache2tmp/httpd-2.2.8/include -I/apache2tmp/httpd-2.2.8/srclib/apr/include -I/apache2tmp/httpd-2.2.8/os/unix -I/apache2tmp/httpd-2.2.8/srclib/apr-util/include -g -O2 -g -O2 -I /include -I /include/Windows_NT -c jk_ajp12_worker.c -DDLL_EXPORT -DPIC -o .libs/jk_ajp12_worker.o In file included from jk_logger.h:27, from jk_ajp12_worker.h:27, from jk_ajp12_worker.c:26: jk_global.h:141:27: sys/socketvar.h: No such file or directory make[1]: *** [jk_ajp12_worker.lo] Error 1 make[1]: Leaving directory `/tomcatconnectortmp/tomcat-connectors-1.2.26-src/native/common' make: *** [all-recursive] Error 1 --------------------------------------------------------- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]