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

From: Taybin Rutkin <taybin@email-addr-hidden>
Date: Fri Oct 28 2005 - 01:44:30 EEST

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@email-addr-hidden
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.
Received on Fri Oct 28 04:15:11 2005

This archive was generated by hypermail 2.1.8 : Fri Oct 28 2005 - 04:15:11 EEST