You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "C. Wong" <cs...@hotmail.com> on 2001/05/13 18:14:17 UTC

Error with apxs when try to compile mod_jk.so

Hi,

I have problem to integrate Apache, Tomcat and mod_jk on Sun Solaris 8.

I installed Apache with no problem and I could get the apache page on
the browser.

I downloaded and tar the jakarta-tomcat-3.2.1-src also ok.
In the jakarta-tomcat-3.2.1-src/src/native/spach1.3 directory,
I did the apxs and I got the error message:
"apxs:Break: Command failed with rc=2"

I had search the acheive list, and I could not find the some error message.

Can some one tell me what did I do wrong?
Do I need gcc install in my system in order to run it?

Thanks in advance.
Connie


-----------------------------------------
Below was the error message:

stlouis% /usr/local/apache/bin/apxs -o mod_jk.so -DSOLARIS -I../jk 
-I/usr/java/include

-I/usr/java/include/solaris  -lposix4 -c *.c ../jk/*.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
mod_jk.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp12_worker.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp13.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_ajp13_worker.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_connect.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_jni_worker.c
"../jk/jk_jni_worker.c", line 731: warning: assignment type mismatch:
        pointer to function(pointer to pointer to pointer to const struct 
JNIInvokeInterface_ {pointer to

void reserved0, pointer to... "=" pointer to void
"../jk/jk_jni_worker.c", line 732: warning: assignment type mismatch:
        pointer to function(pointer to void) returning int "=" pointer to 
void
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_lb_worker.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_map.c
"../jk/jk_map.c", line 468: warning: newline not last character in file
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_msg_buff.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_nwmain.c
"../jk/jk_nwmain.c", line 32: warning: empty translation unit
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_pool.c
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_sockbuf.c
"../jk/jk_sockbuf.c", line 214: warning: newline not last character in file
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_uri_worker_map.c
"../jk/jk_uri_worker_map.c", line 438: warning: newline not last character 
in file
cc -DSOLARIS2=280 -DUSE_EXPAT -I../lib/expat-lite -KPIC -DSHARED_MODULE 
-I/usr/local/apache/include

-I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c 
../jk/jk_util.c
"../jk/jk_util.c", line 211: missing operand
"../jk/jk_util.c", line 223: missing operand
cc: acomp failed for ../jk/jk_util.c
apxs:Break: Command failed with rc=2


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com