Dan Sugalski sent the following bits through the ether:
> pthreads tends to want to be part of the initial program load.
FYI adding -lpthreads to C_LIBS and rebuilding parrot makes it work
for me. Now to get the hand of the signatures...
Leon
--
Leon Brocard.http://w
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 than
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 code
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
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
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 str
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 go
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