-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have compailed MusE for SuSE 10.1. Compile works fine but at start i become the follow error message: Unabel to find ladspa_descriptor() function in plugin library file "/usr/lib/ladspa/sine.so":/usr/lub/sine.so: undefined symbol: ladspa_descriptor. I think OK a problem with ladspa. I load the ladspa-1.12.20050216-7.src.rpm and tried to recompile it. ladspa has libselinux as BuildRequire, there is no libselinux in 10.1? Then i removed libselinux as BuildRequire. Now the compile breaks with c++ -O2 -g -m32 -march=i586 -mtune=i686 -fmessage-length=0 - -D_FORTIFY_SOURCE=2 - fPIC -I. -o plugins/sine.o -c plugins/sine.cpp plugins/sine.cpp: In constructor ‘StartupShutdownHandler::StartupShutdownHandler ()’: plugins/sine.cpp:266: error: ‘instantiateSineOscillator’ was not declared in this scope plugins/sine.cpp:268: error: ‘connectPortToSineOscillator’ was not declared in this scope plugins/sine.cpp:270: error: ‘activateSineOscillator’ was not declared in this scope plugins/sine.cpp:278: error: ‘cleanupSineOscillator’ was not declared in this scope plugins/sine.cpp:291: error: ‘runSineOscillator_FreqAudio_AmpAudio’ was not declared in this scope plugins/sine.cpp:303: error: ‘runSineOscillator_FreqAudio_AmpCtrl’ was not declared in this scope plugins/sine.cpp:315: error: ‘runSineOscillator_FreqCtrl_AmpAudio’ was not declared in this scope plugins/sine.cpp:327: error: ‘runSineOscillator_FreqCtrl_AmpCtrl’ was not declared in this scope Anyone an idea Why i can't rebuild it? Oliver Bengs -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEeyTNj/glEAdJRAMRAgs7AJ9pqXGn4rIwoGMVl4uyperjYh4SzwCggO8Q FSL9JPMu+c7YBMyX+7Ze++0= =DmFP -----END PGP SIGNATURE-----
Am Montag, 29. Mai 2006 18:43 schrieb Oliver Bengs:
I have compailed MusE for SuSE 10.1. Compile works fine but at start i become the follow error message: Unabel to find ladspa_descriptor() function in plugin library file "/usr/lib/ladspa/sine.so":/usr/lub/sine.so: undefined symbol: ladspa_descriptor.
Anyone an idea Why i can't rebuild it?
Oliver Bengs because sine.cpp is a cpp-Source and not a c-source you have to demangle the exported name of the ladspa_descriptor function:
change the source sine.cpp: #ifdef __cplusplus extern "C" { #endif ... old function code #ifdef __cplusplus } #endif and it should work have fun oc2pus
participants (2)
-
oc2pus@arcor.de
-
Oliver Bengs