Friedrich Dominicus frido@q-software-solutions.de writes:
Well downloaded the newst Moosse and lates Pharo VM from here: http://www.moosetechnology.org/download/5.0
Loading ConfigurationOfODBC from: MCSqueaksourceRepository location: 'http://squeaksource.com/ODBC' user: '' password: ''
Now in a workspace just type: ConfigurationOfODBC load.
After a while I get an backtrace. which points to ExternalClass class initialize
initialize "ExternalObject initialize" Smalltalk addToStartUpList: self after: ShortRunArray.
Yes ShortRunArray, is not there any more (that is known) but, just removing it give the following Error
ffiPrintString: aString "FFITestLibrary ffiPrintString: 'Hello'" <cdecl: char'>' expected -> * 'ffiPrintString' (char *) module:'SqueakFFIPrims'> ^self externalCallFailed
And that's it.
Now where's the bug, in the VM in the image or where else?
Ok, I guess found it myself. It's in the Configuration and what Version of FFI is loaded. I don't know whom it may concern but I checked in a new ConfigurationOfODBC You can find it on MCSqueaksourceRepository location: 'http://squeaksource.com/ODBC' user: '' password: ''
I don't know of it's just ok to do what I did, but I guess it won't harm anyone, but at least it's of use for one (that's me ;-)
Loaded it in a fresh Moose Image with: (ConfigurationOfODBC project version:'1.1') load.
Regards Friedrich