[PD-dev] [ pure-data-Patches-1378927 ] OSX/pd 0.39: fix for loading externals using static libs

SourceForge.net noreply at sourceforge.net
Mon Dec 12 19:37:25 CET 2005


Patches item #1378927, was opened at 2005-12-12 18:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1378927&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: bugfix
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Grill (xovo)
Assigned to: Nobody/Anonymous (nobody)
Summary: OSX/pd 0.39: fix for loading externals using static libs

Initial Comment:
Hi all,
unlike with pd 0.38, externals that share equal symbol names (like 
when they have been compiled using the same static lib) won't get 
loaded, but rather bail out with a "linker error".
This can be easily fixed by including the 
NSLINKMODULE_OPTION_PRIVATE option in s_loader.c

        ret = NSLinkModule( image, filename, 
               NSLINKMODULE_OPTION_BINDNOW |
               NSLINKMODULE_OPTION_RETURN_ON_ERROR | 
               NSLINKMODULE_OPTION_PRIVATE);
               
Is there a reason this has been taken out in pd 0.39?

best greetings,
Thomas


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1378927&group_id=55736




More information about the Pd-dev mailing list