Hi Dan!

Taking a closer look at the configure output (below) it seems that my Java
Environment isn't found properly, or am I missing something different?

I had to change the INC direction in Makfile.global to:

INC = -I/root/download/aolserver/3.4_patched/aolserver-3.4.2/include
-I/root/download/aolserver/3.4_patched/aolserver-3.4.2/nsd
-I/usr/lib/SunJava2-1.3.1/include/ -I/usr/lib/SunJava2-1.3.1/include/linux/

And I set NRPATH to -R $(Rpath) without the Xlinker directive in src/Makefile

---------------------------------------------------------------------
A find -name "*.so" in my $JAVA_HOME directory outputs:

./jre/lib/i386/green_threads/libhpi.so
./jre/lib/i386/libnet.so
./jre/lib/i386/libverify.so
./jre/lib/i386/libioser12.so
./jre/lib/i386/libfontmanager.so
./jre/lib/i386/libzip.so
./jre/lib/i386/native_threads/libhpi.so
./jre/lib/i386/libhprof.so
./jre/lib/i386/libjsound.so
./jre/lib/i386/client/libjvm.so
./jre/lib/i386/libmlib_image.so
./jre/lib/i386/libJdbcOdbc.so
./jre/lib/i386/libjava.so
./jre/lib/i386/libjawt.so
./jre/lib/i386/libjcov.so
./jre/lib/i386/server/libjvm.so
./jre/lib/i386/libagent.so
./jre/lib/i386/libdcpr.so
./jre/lib/i386/libjpeg.so
./jre/lib/i386/libpreemptive_close.so
./jre/lib/i386/libjavaplugin_jni.so
./jre/lib/i386/libawt.so
./jre/lib/i386/libcmm.so
./jre/lib/i386/classic/libjvm.so
./jre/plugin/i386/ns4/javaplugin.so
./jre/plugin/i386/ns600/libjavaplugin_oji.so
./lib/i386/libjdwp.so
./lib/i386/libdt_socket.so

---------------------------------------------------------------------
A ./configure --with-aolserver-src=../aolserver-3.4.2 outputs:

checking prefix... /usr/local
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking looking for aolserver ns.h include file...
/root/download/aolserver/3.4_patched/aolser
ver-3.4.2/include/ns.h
checking looking for aolserver nsd.h include file...
/root/download/aolserver/3.4_patched/aolse
rver-3.4.2/nsd/nsd.h
checking for jdk version... grep: /jni.h: No such file or directory
Looks like you are using a 1.1 JVM

        NSJAVA version 1.0.5 configured successfully.

Using c-compiler:      gcc
JDK Version:           1.1
Install libnsjava.so:  /usr/local/bin
Aolserver Version:     3_0_PLUS
Aolserver include:     /aolserver-3.4.2/include
Aolserver nsd include: /aolserver-3.4.2/nsd
jdk include:
jdk platform include:
libjava.so dir:
libhpi.so dir:
hpi lib:
libjvm.so dir:
jvm lib:
java classpath:
RPATH:

CFLAGS:  ''

LDFLAGS: '-L -ljava '

configure: creating ./config.status
config.status: creating Makefile.global

Thanks a lot for your help!

wiwo

--
Digital Concepts
Ideen-Konzepte-L�sungen
[EMAIL PROTECTED]
www.digital-concepts.com
Mobil: +43 699 / 20 88 13 51
B�ro: +43 732 / 77 27 27

Reply via email to