[kaffe] Re: [Rxtx] Rxtx with kaffe

Fabien Renaud renaud at nentec.de
Fri Jul 16 03:31:07 PDT 2004


Dalibor Topic wrote:

> Fabien Renaud wrote:
>
>> Fabien Renaud wrote:
>>
>>> Hi,
>>>
>>> I´m trying to run SimpleWrite with kaffe (I already succeeded with 
>>> SableVM).
>>> 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
>>>
>>>
>>> Cheers,
>>> Fabien
>>
>>
>>
>> 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.
>
> cheers,
> 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 mailing list