[kaffe] Re: [Rxtx] Rxtx with kaffe
renaud at nentec.de
Fri Jul 16 03:31:07 PDT 2004
Dalibor Topic wrote:
> Fabien Renaud wrote:
>> Fabien Renaud wrote:
>>> I´m trying to run SimpleWrite with kaffe (I already succeeded with
>>> My problem is nothing happens and I have no messages
>>> The problem comes from this line in RXTXPort.java :
>>> fd = open( name );
>>> Name value is /dev/ttyS3
>> It seems the native function open (in SerialImp.c) never runs (I put
>> a breakpoint on it and it´s never reached).
>> There is no fficall after fd = open( name );
>> Maybe a problem from libffi ?
> Are you using libffi or are you using kaffe's sysdepCallMethod? :)
> If you are running it using jit, you can use -verbosejit to print out
> the invoked methods.
> dalibor topic
Ok I found the problem :)
I added static and that works (well there is more code executed). It´s
maybe due to the name open ( That sould be better with Open)
More information about the kaffe