[Vm-dev] what's happening when the vm is a shared library

Stefan Krecher stefan.krecher at googlemail.com
Wed Mar 17 14:48:34 UTC 2010


got it: after some research i found out, that i had to add the
SocketPlugin_exports to the sqNamedPrims.h

2010/3/17 Stefan Krecher <stefan.krecher at googlemail.com>:
> Hi,
>
>
> 2010/3/17 Igor Stasenko <siguctua at gmail.com>:
>>> Though the SocketPlugin does compile with the ndk, any call to the
>>> Plugin produces a primitiveFailed-Exception. Even when i replace the
>>> code of a primitive with dummy-code that returns static values and
>>> does not execute any plattform-specific code.
>>
>> Sounds like you simply do not included it into build, or
>> it using a dummy stubs, disabling all networking code altogether
>> For example, a win32 platform code having stubs (see refs to
>> NO_NETWORK in sources).
>
> found nothing regarding "NO_NETWORK" in the sources.
> btw: when i do "nm libsqueakvm.so | grep primitive" in a cygwin
> console, all the Socket-/ and Resolver-Primitives show up
>



-- 
Dipl.-Wirtsch.-Inf. Stefan Krecher
Neulander Str. 17, 27374 Visselhövede
Tel +49(0)4262 958848
mobil +49(0)172 3608616
http://krecher.com


More information about the Vm-dev mailing list