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

Taybin Rutkin taybin at earthlink.net
Thu Oct 27 22:44:30 UTC 2005


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-users mailing list
ardour-users at lists.ardour.org
http://lists.ardour.org/listinfo.cgi/ardour-users-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-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.



More information about the Linux-audio-dev mailing list