tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pratak" <pra...@nokiathai.com>
Subject Compile jk2 error on Redhat Enterprise 3
Date Tue, 21 Dec 2004 09:22:21 GMT
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?

 

list=' server/apache2'; \

for i in $list; do \

        echo "Making $target in $i"; \

        if test "$i" != "."; then \

        (cd $i && make) || exit 1; \

fi; \

done;

Making  in server/apache2

make[1]: Entering directory
`/root/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'

mkdir -p ../../../build/jk2/apache2/usr/lib/httpd/modules

/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
-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
-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
-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

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message