Please, i have tried to compile hundred of times jakarta-tomcat-connectors-4.1.29-src and jakarta-tomcat-connectors-jk2-2.0.2-src, but it's impossible. There are a lot of errors during compilation.
I use: gcc.3.2.1, libtool 1.4.2,autoconf 2.53,automake 1.5, make 3.79 #cd jakarta-tomcat-connectors-4.1.29-src/jk/native2 #chmod +x buildconf.sh #./buildconf.sh #CC=gcc ./configure --with-java-home=/usr/java131 --with-apxs2=/usr/local/apache2/bi n/apxs --with-tomcat41=/soft/jakarta-tomcat-4.1.29 Before running make, i edit jakarta-tomcat-connectors-4.1.29-srcjk/native2/server/apache2/Makefile and change the line MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath --${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS) to MOD_LINK = $(LIBTOOL) --mode=link $(CC) -avoid-version -module -rpath ${APACHE2_LIBEXEC} $(LT_LDFLAGS) $(ALL_LDFLAGS) -Wl,-brtl #make (gnu make) Errors are like: mkdir ../../../build/jk2/apache2/.libs gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include -I/usr/local/apache2/include -I /usr/java131/include -I /usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c ../../common/jk_config.c -DPIC -o ../../../build/jk2/apache2/.libs/jk_config.lo ../../common/jk_config.c: In function `jk2_config_processBeanPropertyString': ../../common/jk_config.c:106: warning: unused variable `w' ../../common/jk_config.c:107: warning: unused variable `type' ../../common/jk_config.c:108: warning: unused variable `dot' ../../common/jk_config.c: In function `jk2_config_setProperty': ../../common/jk_config.c:225: warning: unused variable `oldDisabled' ../../common/jk_config.c: In function `jk2_config_setPropertyString': ../../common/jk_config.c:274: warning: unused variable `wEnv' ../../common/jk_config.c:275: warning: unused variable `initData' ../../common/jk_config.c: In function `jk2_config_replaceProperties': ../../common/jk_config.c:326: warning: suggest parentheses around assignment used as truth value ../../common/jk_config.c: In function `jk2_config_processConfigData': ../../common/jk_config.c:396: warning: `rc' might be used uninitialized in this function mv -f ../../../build/jk2/apache2/.libs/jk_config.lo ../../../build/jk2/apache2/jk_config.o (cd ../../../build/jk2/apache2 && ln -s jk_config.o jk_config.lo) /usr/local/apache2/build/libtool --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include -I/usr/local/apache2/include -I /usr/java131/include -I /usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c ../../common/jk_config_file.c -o ../../../build/jk2/apache2/jk_config_file.lo rm -f ../../../build/jk2/apache2/.libs/jk_config_file.lo gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include -I/usr/local/apache2/include -I /usr/java131/include -I /usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c ../../common/jk_config_file.c -DPIC -o ../../../build/jk2/apache2/.libs/jk_config_file.lo ../../common/jk_config_file.c: In function `jk2_config_file_saveConfig': ../../common/jk_config_file.c:126: warning: char format, void arg (arg 4) ../../common/jk_config_file.c: At top level: ../../common/jk_config_file.c:177: warning: no previous prototype for `jk2_config_file_parseProperty' ../../common/jk_config_file.c: In function `jk2_config_file_parseProperty': ../../common/jk_config_file.c:178: warning: unused variable `rc' ../../common/jk_config_file.c: At top level: ../../common/jk_config_file.c:407: warning: no previous prototype for `jk2_config_file_factory' mv -f ../../../build/jk2/apache2/.libs/jk_config_file.lo ../../../build/jk2/apache2/jk_config_file.o (cd ../../../build/jk2/apache2 && ln -s jk_config_file.o jk_config_file.lo) /usr/local/apache2/build/libtool --mode=compile gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include -I/usr/local/apache2/include -I /usr/java131/include -I /usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c ../../common/jk_channel_apr_socket.c -o ../../../build/jk2/apache2/jk_channel_apr_socket.lo rm -f ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarat ions -pthread -U__STR__ -D_THREAD_SAFE -D_USE_IRS -DAP_DEBUG -I../../include -I/usr/local/apache2/include -I /usr/java131/include -I /usr/java131/include/ -DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -DHAS_APR -c ../../common/jk_channel_apr_socket.c -DPIC -o ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo ../../common/jk_channel_apr_socket.c: In function `jk2_channel_apr_init': ../../common/jk_channel_apr_socket.c:187: warning: unused variable `cfg' ../../common/jk_channel_apr_socket.c:183: warning: unused variable `port' ../../common/jk_channel_apr_socket.c: In function `jk2_channel_apr_send': ../../common/jk_channel_apr_socket.c:421: warning: unused variable `sent' mv -f ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo ../../../build/jk2/apache2/jk_channel_apr_socket.o ............... .............. etc,etc ---------------------------------------------------------- Tu portal de Aix en Espaņol http://aixpanish.com ----------------------------------------------------------