Re: Adding new function signatures to parrot's NCI call list

2002-11-29 Thread Gopal V
If memory serves me right, Leon Brocard wrote: Loaded... dlfunced... ../parrot: relocation error: /usr/lib/libSDL-1.2.so.0: undefined symbol: pthread_mutexattr_init I don't know if this is twisting the knife in the wound ... but it works for me ... [gopal@mushroom parrot]$ perl assemble.pl

Re: Adding new function signatures to parrot's NCI call list

2002-11-29 Thread Dan Sugalski
At 9:00 PM + 11/28/02, Leon Brocard wrote: Loaded... dlfunced... ../parrot: relocation error: /usr/lib/libSDL-1.2.so.0: undefined symbol: pthread_mutexattr_init Well, the C code on the page works fine, but of course you have to link it with -lpthread. How would I do this for the parrot

Re: Adding new function signatures to parrot's NCI call list

2002-11-29 Thread Dan Sugalski
At 9:00 PM + 11/28/02, Leon Brocard wrote: Dan Sugalski sent the following bits through the ether: Also, at the moment I can't test this OK, I've had a go. I'm basing the following on the code you mentioned at http://use.perl.org/~Elian/journal/9147 (of course, you should know better

Re: Adding new function signatures to parrot's NCI call list

2002-11-28 Thread Leon Brocard
Dan Sugalski sent the following bits through the ether: Also, at the moment I can't test this OK, I've had a go. I'm basing the following on the code you mentioned at http://use.perl.org/~Elian/journal/9147 (of course, you should know better than to use exit in parrot assembler ;-) and basic

Re: Adding new function signatures to parrot's NCI call list

2002-11-27 Thread James Mastros
On 11/25/2002 9:02 PM, Dan Sugalski wrote: Pretty straightforward. Edit call_types.txt. First parameter's the return type, the rest are the parameter types. Use p for any generic i've stuffed a struct pointer into a PMC type. Do please only add in signatures for functions you're actually going

Re: Adding new function signatures to parrot's NCI call list

2002-11-27 Thread James Mastros
On 11/27/2002 3:09 AM, Dan Sugalski wrote: At 1:02 AM -0500 11/27/02, James Mastros wrote: On 11/25/2002 9:02 PM, Dan Sugalski wrote: Pretty straightforward. Edit call_types.txt. First parameter's the return type, the rest are the parameter types. Use p for any generic i've stuffed a

Adding new function signatures to parrot's NCI call list

2002-11-25 Thread Dan Sugalski
Pretty straightforward. Edit call_types.txt. First parameter's the return type, the rest are the parameter types. Use p for any generic i've stuffed a struct pointer into a PMC type. Do please only add in signatures for functions you're actually going to call (or are adding if you're adding in