pratak a �crit :
I try to compile jk2 for apache httpd-2.0.46-25.ent. configuration is run ok
but I found error when I compile it. What happen on it?
got the same on debian (look in archives). I think there's a but when
creating Makefile
list=' server/apache2'; \
...
/usr/bin/libtool --mode=compile gcc -O2 -g -pipe -march=i386 -mcpu=i686
-DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I../../include -I/usr/include/httpd
-I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr-util/incl
ude /usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr-util/include
^^^^^^^remove this directive in Makefile ( appears twice)
-I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr/include
/usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr/include
-DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -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 -O2 -g -pipe -march=i386 -mcpu=i686 -DSSL_EXPERIMENTAL_ENGINE
-I/usr/kerberos/include -pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -I../../include
-I/usr/include/httpd
-I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr-util/incl
ude /usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr-util/include
^^^^^^^remove this directive in Makefile ( appears twice)
-I/usr/src/build/310796-i386/BUILD/httpd-2.0.46/prefork/srclib/apr/include
/usr/src/build/310796-i386/BUILD/httpd-2.0.46/srclib/apr/include
^^^^^^^remove this directive in Makefile ( appears twice)
-DCHUNK_SIZE=4096 -DUSE_APACHE_MD5 -c ../../common/jk_channel_apr_socket.c
-fPIC -DPIC -o ../../../build/jk2/apache2/.libs/jk_channel_apr_socket.lo
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [../../../build/jk2/apache2/jk_channel_apr_socket.lo] Error 1
make[1]: Leaving directory
`/root/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]