Re: Linux JVM: JNI allow putmsg() syscalls in native code?

2002-04-25 Thread Vladimir G. Ivanovic
Use strace -f -e trace=file to see what file activity there is. Also make sure that your library is actually being found with ldd (Looks like it is.) --- Vladimir Vladimir G. Ivanovichttp://leonora.org/~vladimir 2770 Cowper St.

RE: Linux JVM: JNI allow putmsg() syscalls in native code?

2002-04-25 Thread William Quan
Title: RE: Linux JVM: JNI allow putmsg() syscalls in native code? The LD_PRELOAD is working out after all. I set this *inside* of my '.java_wrapper' instead of on the command line. This prevents the process from hanging like before. LD_DEBUG=symbols,binding reveals the following:    

Re: Linux JVM: JNI allow putmsg() syscalls in native code?

2002-04-25 Thread Juergen Kreileder
William Quan <[EMAIL PROTECTED]> writes: > However, when I attempt to do the command: > 'LD_PRELOAD=/usr/lib/libLiS.so ... java' The process hangs(long > pause and no sign of completion in sight)- so i kill the process. > Q3.)Any ideas as to what might be the cause for this hangup using > LD_PRE

RE: Linux JVM: JNI allow putmsg() syscalls in native code?

2002-04-25 Thread William Quan
Title: RE: Linux JVM: JNI allow putmsg() syscalls in native code? Juergen, Thanks for your help. The LD_DEBUG shows the following:     31212:  symbol=putpmsg;  lookup in file=/lib/libc.so.6     31212:  binding file /home/imslab/jets1000dev/dlpi/libdlpi.so to /lib/libc.so.6: symbol `

Re: Linux JVM: JNI allow putmsg() syscalls in native code?

2002-04-25 Thread Juergen Kreileder
William Quan <[EMAIL PROTECTED]> writes: > Q1.) Why is the JVM eclipsing my getmsg() and putmsg() syscalls with > this from libc? This not Java specific, you'll get the same problem when dlopening a library which is linked against libLiS.so. The first getmsg which gets found is from libc. If yo

Linux JVM: JNI allow putmsg() syscalls in native code?

2002-04-25 Thread William Quan
Title: Linux JVM: JNI allow putmsg() syscalls in native code? GIVEN: -- I am working on a Java Network Application that can send/receive raw Ethernet packets. I bypass the TCP/IP stack and pass them to a DLPI provider. Currently, I am attempting to use LiS-2.12 (a.k.a LINUX STREAMS: http:/

JMF on arm

2002-04-25 Thread Yitao Sun
hi, i'm trying to capture audio on an ipaq with the blackdown release of J2RE 1.3.1. the default implementation tells me no capture mode is available. i heard you need to install JMF, but there are no JMF releases for the arm architecture. is there a work-around? i was thinking at