Re: Tru64 mod_jk compilation Problem

2002-04-09 Thread Nikola Milutinovic

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



Tru64 mod_jk compilation Problem

2002-04-09 Thread Jayesh Srivastava

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:   
For additional commands: 
Troubles with the list: