Hi,
I upgraded to the 2.3 release of gst, but now dynamic c-calls aren't working for me: whitebearded1@molly:~$ 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 [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
> 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 [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Brad Watson
Hi Paolo
Please find attached an example file. Kind regards, ----- Original Message ---- From: Paolo Bonzini <[hidden email]> To: Brad Watson <[hidden email]> Cc: [hidden email] Sent: Wednesday, December 6, 2006 12:33:38 AM Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3 > 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 ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk =?utf-8?q?SDL=5Fjoystick.st?= (4K) Download Attachment |
In reply to this post by Brad Watson
Paolo,
I re-installed 2.2e and still had problems. I re-installed 2.2d and its work again the way anticipated that it would.... whitebearded1@molly:~/src/smalltalk-2.2d$ gst -f ~/swigtesting/SDL_mouse.st whitebearded1@molly:~/src/smalltalk-2.2d$ Brad ----- Original Message ---- From: Brad Watson <[hidden email]> To: Paolo Bonzini <[hidden email]> Cc: [hidden email] Sent: Wednesday, December 6, 2006 5:40:46 AM Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3 Hi Paolo Please find attached an example file. Kind regards, ----- Original Message ---- From: Paolo Bonzini <[hidden email]> To: Brad Watson <[hidden email]> Cc: [hidden email] Sent: Wednesday, December 6, 2006 12:33:38 AM Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3 > 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 ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Brad Watson
Paolo,
It must have something to do with the install -- when I leave the directory where the 2.2d source is, it fails as before... weird. Brad ----- Original Message ---- From: Brad Watson <[hidden email]> To: Brad Watson <[hidden email]>; Paolo Bonzini <[hidden email]> Cc: [hidden email] Sent: Wednesday, December 6, 2006 2:56:20 PM Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3 Paolo, I re-installed 2.2e and still had problems. I re-installed 2.2d and its work again the way anticipated that it would.... whitebearded1@molly:~/src/smalltalk-2.2d$ gst -f ~/swigtesting/SDL_mouse.st whitebearded1@molly:~/src/smalltalk-2.2d$ Brad ----- Original Message ---- From: Brad Watson <[hidden email]> To: Paolo Bonzini <[hidden email]> Cc: [hidden email] Sent: Wednesday, December 6, 2006 5:40:46 AM Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3 Hi Paolo Please find attached an example file. Kind regards, ----- Original Message ---- From: Paolo Bonzini <[hidden email]> To: Brad Watson <[hidden email]> Cc: [hidden email] Sent: Wednesday, December 6, 2006 12:33:38 AM Subject: Re: [Help-smalltalk] dynamic c calls in gst2.3 > 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 ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. _______________________________________________ help-smalltalk mailing list [hidden email] http://lists.gnu.org/mailman/listinfo/help-smalltalk |
Free forum by Nabble | Edit this page |