Hi Rainer,
thank you for your reply.
It's true, without --enable-jni the build process completes without any issues.
Thank you again.

Luca

On 28/12/06, Rainer Jung <[EMAIL PROTECTED]> wrote:
The JNI worker is very close to getting deprecated. Do you really need
the "--enable-jni"?

./configure --with-apxs=/usr/sbin/apxs --sysconfdir=/etc

should work.

Regards,

Rainer

Luca Peduto schrieb:
> Hi all,
> I'm trying to build mod_jk 1.2.20 on my linux machine but I obtain
> this error message during make:
>
> jk_jni_worker.c: In function 'open_jvm1':
> jk_jni_worker.c:817: error: 'JDK1_1InitArgs' undeclared (first use in
> this function)
> jk_jni_worker.c:817: error: (Each undeclared identifier is reported only
> once
> jk_jni_worker.c:817: error: for each function it appears in.)
> jk_jni_worker.c:817: error: expected ';' before 'vm_args'
> jk_jni_worker.c:824: error: 'vm_args' undeclared (first use in this
> function)
> jk_jni_worker.c: In function 'detect_jvm_version':
> jk_jni_worker.c:884: error: 'JDK1_1InitArgs' undeclared (first use in
> this function)
> jk_jni_worker.c:884: error: expected ';' before 'vm_args'
> jk_jni_worker.c:890: error: 'vm_args' undeclared (first use in this
> function)
> make[1]: *** [jk_jni_worker.lo] Error 1
> make[1]: Leaving directory
> `/home/luca/mod_jk/src/tomcat-connectors-1.2.20-src/native/common'
> make: *** [all-recursive] Error 1
>
> I invoke configure script with:
> ./configure --with-apxs=/usr/sbin/apxs --sysconfdir=/etc
> --with-java-home=/opt/java --with-java-platform=2 --enable-jni
>
> My java version is:
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
>
> Tomcat 5.5.20
> Apache 2.2.3
> Linux kernel 2.6.19
>
> Anyone can help me?
> Thanks in advance
>
> Luca
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to