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