List Info

Thread: dynamic c calls in gst2.3




dynamic c calls in gst2.3
user name
2006-12-06 02:25:49
Hi,

I upgraded to the 2.3 release of gst, but now dynamic
c-calls aren't working for me:

whitebearded1molly:~$ gst -f swigtesting/SDL.st
Object: MethodContext new: 12
"<-0x4c649bc0>" error: did not understand
#callInto:
MessageNotUnderstood(Exception)>>#signal
MethodContext(Object)>>#doesNotUnderstand:
DLD class>>#linkFile:
DLD class>>#addLibrary:
UndefinedObject>>#executeStatements
swigtesting/SDL.st:40: C function not defined
swigtesting/SDL.st:45: C function not defined
swigtesting/SDL.st:50: C function not defined
swigtesting/SDL.st:55: C function not defined
swigtesting/SDL.st:60: C function not defined

Is there a different way I should invoke them now ?

Thank you kindly,

Brad Watson





 
____________________________________________________________
________________________
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people
who know.


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
dynamic c calls in gst2.3
user name
2006-12-06 08:33:38
> I upgraded to the 2.3 release of gst, but now dynamic
c-calls aren't working for me:
>
> Is there a different way I should invoke them now ?

Can you send the file?  This works for me:

DLD addLibrary: 'libc.la'.
Object compile: 'getpid <cCall: ''getpid'' returning:
#int args: #()>'!
nil getpid printNl!

Paolo


_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )