Using FFI: MessagetNotUnderstood:InterfaceDev class>>fficall:module

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Using FFI: MessagetNotUnderstood:InterfaceDev class>>fficall:module

Arnaud
Dear All,

Am try to call a libpcap library using FFI in pharo and am getting the
following error:
MessagetNotUnderstood:InterfaceDev class>>fficall:module

Am working with pharo 4

also
I  have  issue with pharo 5 on unbuntu after runing the pharo launher
i create an image of pharo 5 but when i try to run pharo 5 it does not
work. Am try to work with UFFI and on many documentation they are
advicing me pharo 5 for UFFI

Best Regards,

A. Tsombeng

Reply | Threaded
Open this post in threaded view
|

Re: Using FFI: MessagetNotUnderstood:InterfaceDev class>>fficall:module

EstebanLM

> On 20 Apr 2016, at 10:37, mathias arnaud nkeumo tsombeng <[hidden email]> wrote:
>
> Dear All,
>
> Am try to call a libpcap library using FFI in pharo and am getting the
> following error:
> MessagetNotUnderstood:InterfaceDev class>>fficall:module
>
> Am working with pharo 4

ffiCall:module: is UFFI, then Pharo 5.0 exclusive.

>
> also
> I  have  issue with pharo 5 on unbuntu after runing the pharo launher
> i create an image of pharo 5 but when i try to run pharo 5 it does not
> work. Am try to work with UFFI and on many documentation they are
> advicing me pharo 5 for UFFI

because it is exclusive of Pharo 5 :)

Esteban

>
> Best Regards,
>
> A. Tsombeng
>


Reply | Threaded
Open this post in threaded view
|

Re: Using FFI: MessagetNotUnderstood:InterfaceDev class>>fficall:module

EstebanLM

On 20 Apr 2016, at 12:34, Esteban Lorenzano <[hidden email]> wrote:


On 20 Apr 2016, at 10:37, mathias arnaud nkeumo tsombeng <[hidden email]> wrote:

Dear All,

Am try to call a libpcap library using FFI in pharo and am getting the
following error:
MessagetNotUnderstood:InterfaceDev class>>fficall:module

Am working with pharo 4

ffiCall:module: is UFFI, then Pharo 5.0 exclusive.


also
I  have  issue with pharo 5 on unbuntu after runing the pharo launher
i create an image of pharo 5 but when i try to run pharo 5 it does not
work. Am try to work with UFFI and on many documentation they are
advicing me pharo 5 for UFFI

pharo launcher does not come with Pharo 5 VM prepared (it is a new VM, not compatible with previous ones). 
AFAIK, you need to download a SpurVM (from here: Default GNU/Linux), then in settings from Pharo Launcher you need to specify the Spur VM full path).

(This is like that because Pharo 5 is not yet released, it will be better later :P)

Esteban


because it is exclusive of Pharo 5 :)

Esteban


Best Regards,

A. Tsombeng



Reply | Threaded
Open this post in threaded view
|

Re: Using FFI: MessagetNotUnderstood:InterfaceDev class>>fficall:module

Arnaud
Hi ,

Thanks Esteban, I have install pharo 5 and another issue appear when working with it. when i create a class and i try to inspect the class am having the following issue:
Here is my class:
Object subclass: #InterfaceDev
        instanceVariableNames: 'errbuf'
        classVariableNames: ''
        package: 'Network-sniffer

when I inspect it i have:

Object subclass: #InterfaceDev
        instanceVariableNames: 'errbuf'
        classVariableNames: ''
         Variable or expression expected ->package: 'Network-sniffer'
With this i cannot initialize my instant variable "errbuf"

Best Regards
A. Tsombeng