You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Xiaofeng Chen <xc...@unlnotes01.unl.edu> on 2001/04/20 16:26:43 UTC

jni_md.h for linux needed, please

Hi, all: I am trying to compile the mod_jk.so on my RedHat 6.1 machine. After I typed 
apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c *.c ../jk/*.c 

in the jakarta-tomcat/src/native/apache1.3 directory, I got the following error:

gcc -O2 -m486 -fno-strength-reduce -DLINUX=2 -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHAR
ED_MODULE -I/usr/include/apache -I../jk -I/usr/local/jdk117_v3/include -I/usr/local/jdk11
7_v3/include/linux  -c ../jk/jk_jni_worker.c
In file included from ../jk/jk_jni_worker.c:67:
/usr/local/jdk117_v3/include/jni.h:44: jni_md.h: No such file or directory.

In my /usr/local/jdk117_v3/include directory, I don't have the jni_md.h file. I guess I need it for the success of 
the compilation of mod_jk.so. Does anyone have this file or know where I can get one for the RedHat6.1. 

Thanks.

BTW, I use the jdk1.1.7 from blackdown.
-------------
Xiaofeng Chen
Software Development Engineer/Analyst
Interactive Media Group, Nebraska Educational Telecommunications
1800 N. 33rd, Lincoln, NE68583
(402) - 472-9333, ext. 569(voice); (402) - 472-3815(fax)
xchen3@unl.edu, xchen9@hotmail.com