tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Tinnes <...@tinnes.us>
Subject Mod_JK 1.2.8, gcc 3.4.3 on Linux RH ES3 - compile error
Date Wed, 05 Jan 2005 05:16:37 GMT
Hello,

Getting a compile error I'm having trouble understanding.
Here's my setup:

Installing jakarta-tomcat-connectors-1.2.8-src.tar.gz from the Jakarta 
site.
On a Linux Red Hat Enterprise 3 (Taroon) on an i386 arch & i686 cpu.
I'm using gcc version 3.4.3 20041212 (Red Hat 3.4.3-10).
There's Apache 2.0.46-44 running with source objects in
/usr/src/redhat/BUILD/httpd-2.0.46.

I unzip and untar and cd to 
jakarta-tomcat-connectors-1.2.8-src/jk/native
and do "./configure --with-apxs=/usr/sbin/apxs".

The config runs without errors but when I run "make", I get an "Error 
1":

make[1]: Entering directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
/bin/sh /usr/bin/libtool --silent --mode=compile gcc 
-I/usr/include/httpd -g -O2 -O2 -g -pipe -march=i386 -mcpu=i686 
-DSSL_EXPERIMENTAL_ENGINE -I/usr/kerberos/include -pthread -DHAVE_APR 
-I/usr/src/redhat/BUILD/httpd-2.0.46/prefork/srclib/apr/include 
/usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include -g -O2 -DLINUX=2 
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE -I /usr/local/java/include -I /usr/local/java/include/ -c 
jk_ajp12_worker.c
gcc: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: linker 
input file unused because linking not done
cc1: /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include: No such 
file or directory
make[1]: *** [jk_ajp12_worker.lo] Error 1
make[1]: Leaving directory 
`/tmp/jk/jakarta-tomcat-connectors-1.2.8-src/jk/native/common'
make: *** [all-recursive] Error 1

And the directory /usr/src/redhat/BUILD/httpd-2.0.46/srclib/apr/include 
does exist and is populated.

I believe I understand that the "-c" in the compile line indicates that 
there wouldn't be linking anyway, but I'm unsure why the program stops. 
I've looked at some of the Make files and can't seem to find a place to 
edit to prevent the exit.

I've Googled, and scanned the archives here but can't seem to find a 
useful pointer to my problem.

Any insight would be very welcome. Thanks.

_tom


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message