Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Adding new function signatures to parrot's NCI call list
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gopal V  
View profile  
 More options Nov 29 2002, 5:48 am
Newsgroups: perl.perl6.internals
From: gopal...@symonds.net (Gopal V)
Date: Fri, 29 Nov 2002 15:31:21 +0530
Local: Fri, Nov 29 2002 5:01 am
Subject: Re: Adding new function signatures to parrot's NCI call list
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 acme.pasm > acme.pbc
[gopal@mushroom parrot]$ ./parrot acme.pbc
Loaded...
dlfunced...
SDL_Init worked just fine
[gopal@mushroom parrot]$

> How would I do this for the parrot code?

You can't link in static libs (.a) with parrot or any other form of
dlopen/dlsym ... Check if you have a libpthread.so somewhere ... if
you have , then it will work .... (glibc-devel has it ,IIRC) ..

And one *minor* point ... you'll need to do this in an Xterm .. the
SDL libs need X11 to initialize ..

Gopal
--
The difference between insanity and genius is measured by success


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.