tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taro App" <>
Subject possible bug for mod_jk configure for cygwin
Date Tue, 20 May 2008 06:59:58 GMT
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


./configure --with-apache=/home/user/apache2tmp/httpd-2.2.8


 gcc -I/apache2tmp/httpd-2.2.8/include
-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
make: *** [all-recursive] Error 1


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message