Hi, when I try to build the mod_jk on my Solaris, as the documentation explains, I get the following error using jdk1.2:
 
/usr/src/tomcat/src/native/apache1.3>#apxs -o mod_jk.so -DSOLARIS -I../jk -I/usr/java/include -I/usr/java/include/solaris -c *.c ../jk/*.c
cc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c mod_jk.c
cc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -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=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_ajp13.c
cc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -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=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -I/usr/local/apache/include -I../jk -I/usr/java/include -I/usr/java/include/solaris -DSOLARIS  -c ../jk/jk_connect.c
cc -DSOLARIS2=270 -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED  -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 long "=" pointer to void
"../jk/jk_jni_worker.c", line 764: invalid directive
"../jk/jk_jni_worker.c", line 765: invalid directive
"../jk/jk_jni_worker.c", line 766: invalid directive
cc: acomp failed for ../jk/jk_jni_worker.c
apxs:Break: Command failed with rc=2
 
Any idea???
 
thanks!

Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) 4373-7786/7 int: 422
[EMAIL PROTECTED]
www.profesi.com.ar

Reply via email to