I don't know if this helps but on my system, the #define your compile is
failing on, is located in:

/usr/include/dlfcn.h

This appears to be the header file associated with the dynamic-loader
library (libdl.a), notice this header file is included at the top of the
jk_jni_worker.c...again I don't know if this is helpful...



> -----Original Message-----
> From: Tobias Oberstein [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 06, 2001 5:30 PM
> To: [EMAIL PROTECTED]
> Subject: mod_jk: build problem OpenBSD 2.8
> 
> 
> Hi there,
> 
> I'm having a hard time trying to get the mod_jk.so properly built.
> My environment is as follows:
> 
>   * OpenBSD 2.8 Rel. / i386
>   * JDK 1.1.8 (actually, the FreeBSD port of SUNs JDK)
> 
> 
> Please help - after reading through all the dox and mailing 
> lists I'm still
> lost.
> 
> My only guess is, that I need to get the IBM compilers, as 
> the problem seems
> to be related to JNI ??
> 
> Greets,
> Toby
> 
> 
> PROBLEM DESCRIPTION
> ====================
> 
> I'm executing the following from
> 
> /usr/local/jakarta/jakarta-tomcat-3.2.1-src/src/native/apache1.3
> 
> /usr/sbin/apxs -c -I/usr/local/jdk1.1.8/include 
> -I/usr/local/jdk1.1.8/includ
> e/freebsd -DFREEBSD -I/usr/lib/apache/include -I../jk 
> mod_jk.c ../jk/*.c
> 
> 
> The Output is as follows ..
> 
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
> -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
> -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
> -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c mod_jk.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
> -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
> -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
> -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_ajp12_worker.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
> -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
> -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
> -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_ajp13.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
> -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
> -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
> -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_ajp13_worker.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
> -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
> -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
> -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_connect.c
> cc -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=206106 -DEAPI 
> -DUSE_EXPAT -I../li
> b/expat-lite -fPIC -DSHARED_MODULE -I/usr/lib/apache/include 
> -I/usr/local/jd
> k1.1.8/include -I/usr/local/jdk1.1.8/include/freebsd 
> -I/usr/lib/apache/inclu
> de -I../jk -DFREEBSD  -c ../jk/jk_jni_worker.c
> ../jk/jk_jni_worker.c:764: warning:
> #warning -------------------------------------------------------
> ../jk/jk_jni_worker.c:765: warning: #warning NO JAVA 2 
> HEADERS! SUPPORT FOR
> JAVA 2 FEATURES DISABLED
> ../jk/jk_jni_worker.c:766: warning:
> #warning -------------------------------------------------------
> ../jk/jk_jni_worker.c: In function `load_jvm_dll':
> ../jk/jk_jni_worker.c:724: `RTLD_NOW' undeclared (first use in this
> function)
> ../jk/jk_jni_worker.c:724: (Each undeclared identifier is 
> reported only once
> ../jk/jk_jni_worker.c:724: for each function it appears in.)
> ../jk/jk_jni_worker.c:724: `RTLD_GLOBAL' undeclared (first use in this
> function)
> apxs:Break: Command failed with rc=65536
> root:mabuse #
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to