[PD] flext externals
mik
mprims at skynet.be
Fri Apr 4 00:53:18 CEST 2003
a certain Thomas Grill <t.grill at gmx.net> wrote:
> Hi Mik, hi all,
>
> i found the bug. It's a name clash in PDs shared library name space.
> That's a generally rather dangerous issue maybe also for other externals.
>
> there are two libraries e.g. xsample and vasp
>
> The setup functions both call a non-static extern function "lib_setup"
> which is defined in each of the libraries
>
> xsample loading: xsample_setup -> lib_setup
> vasp loading: vasp_setup -> lib_setup
>
> Note that in the second case, the lib_setup function of xsample is
> called....
>
>
> greetings,
> Thomas
Problem fixed.
Thx alot.
mik
More information about the Pd-list
mailing list