[ardour-users] [ardour-dev] ladspa problem on OSX 10.4 figured out

Ben Powers bennyp at rogers.com
Thu Oct 27 21:22:39 PDT 2005


Awesome, I knew someone would crack this one eventually
nice work!

On 27-Oct-05, at 6:44 PM, Taybin Rutkin wrote:

> On 10.4, Apple removed the deprecated dlopen() mechanism of using
> _init() and _fini().  Instead, function attributes should be used.
> These have been supported in gcc since at least 2.9x.
>
> So instead of:
> void _init() {}
> void _fini() {}
>
> you should use:
> __attribute__((constructor)) void init() {}
> __attribute__((destructor)) void fini() {}
>
> Thanks,
> Taybin
> _______________________________________________
> ardour-dev mailing list
> ardour-dev at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-dev-ardour.org
>
>
> This email and any files transmitted with it are confidential and  
> intended solely for the use of the individual or entity to whom  
> they are addressed. If you have received this email in error please  
> notify the system manager. This message contains confidential  
> information and is intended only for the individual named. If you  
> are not the named addressee you should not disseminate, distribute  
> or copy this e-mail.
> _______________________________________________
> ardour-users mailing list
> ardour-users at lists.ardour.org
> http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org
>

--------------------------------------------------------
  Ben Powers - http://www.out-of-order.ca
--------------------------------------------------------
  End religious persecution in China! Join
  Friends of Falun Gong: www.FoFG.org
--------------------------------------------------------





More information about the Ardour-Users mailing list