You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jayesh Srivastava <ja...@yahoo.com> on 2002/04/09 04:32:07 UTC
Tru64 mod_jk compilation Problem
Hi all,
I am trying to compile mod_jk.so on tru64 compaq unix
but I am getting this error
gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite -fpic -DSHARED_MODULE
-I/home5/staff/genepick/usr/apache/include -I../common
-I/usr/opt/java131/includ
e -I/usr/opt/java131/include/alpha -c
../common/jk_jni_worker.c
In file included from ../common/jk_jni_worker.c:69:
/usr/opt/java131/include/jni.h:38: #error "Modules
that interface with Java must
be compiled and linked with the -pthread option"
apxs:Break: Command failed with rc=1
I tried to compile other JNI code with cc compiler
with pthread option and that worked fine but withh gcc
compiler I am not able to compile any JNI java code on
TRU64 comapq using GCC compiler.
Can you help me in this.
Jayesh
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
Re: Tru64 mod_jk compilation Problem
Posted by Nikola Milutinovic <Ni...@ev.co.yu>.
> I am trying to compile mod_jk.so on tru64 compaq unix
> but I am getting this error
>
> gcc -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
> -I../lib/expat-lite -fpic -DSHARED_MODULE
> -I/home5/staff/genepick/usr/apache/include -I../common
> -I/usr/opt/java131/includ
> e -I/usr/opt/java131/include/alpha -c
> ../common/jk_jni_worker.c
> In file included from ../common/jk_jni_worker.c:69:
> /usr/opt/java131/include/jni.h:38: #error "Modules
> that interface with Java must
> be compiled and linked with the -pthread option"
> apxs:Break: Command failed with rc=1
Nothing new from Apache 1.3 APXS. I end up building manually most of the time.
> I tried to compile other JNI code with cc compiler
> with pthread option and that worked fine but withh gcc
> compiler I am not able to compile any JNI java code on
> TRU64 comapq using GCC compiler.
So, you compiled it with CC - what's the problem? GCC fetish?
Nix.