GCJ + RXTX
Andrew Haley
aph@redhat.com
Mon Jan 24 10:48:00 GMT 2005
Mark Anderson writes:
> I am trying to use the RXTX (2.1-7pre17) serial I/O library with gcj (4.0
> snapshot from 16/01/05).
>
> I have a simple test program to list the available ports. This works fine when
> I compile my program to work against the libgcj shared library. However, when
> I add the -static flag the program will list the ports but then hang and not
> exit.
>
> I have attached the strace output for both running against the shared library
> and using static. It seems that the static version is not receiving a
> SIGRTMIN signal at the very end causing it not to exit.
>
> Does anyone have any idea what is happening?
It's hard to say. strace isn't very useful for this kind of thing.
Did you try to debug with gdb?
Andrew.
More information about the Java
mailing list