Thomas Backlund a écrit : > PhilippeDidier skrev 24.9.2012 14:25: >> >> Hey ! You ! you are a happiness breaker :-( >> > > [...] >> >> Argh ! >> You killed me ;-( >> > > Nope, just showing how to learn about and fix some problems :) > >> Mageia will have to wait for sometime :... >> There are 21 makefiles >> There are 0 or 1 or 2 links to add to them (but which of them really >> need the added links ?) >> Than means some combinations to try : >> 2 square to the power of 21 = 2097152 if I blindly test all of them ! >> If I win early I will try the casino >> ;-) >> >> I will try a rational approach to decrease the number of tests to do... >> > > > > Actually the way to fix it is to look at the error to help narrow down > where the fix is needed: > > ../src/plugins/.libs/liblinuxsamplerplugins.a(InstrumentEditorFactory.o): In > > function `__exchange_and_add_dispatch': > /usr/lib/gcc/i586-mageia-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/atomicity.h:80: > > undefined reference to `pthread_cancel' > > ../src/common/.libs/liblinuxsamplercommon.a(Path.o): In function > `__exchange_and_add_dispatch': > /usr/lib/gcc/i586-mageia-linux-gnu/4.6.3/../../../../include/c++/4.6.3/ext/atomicity.h:80: > > undefined reference to `pthread_cancel' > > > so the files that uses "pthread_cancel", need linking help. > in this case the Makefiles responsible for the build of > "liblinuxsamplerplugins" and "liblinuxsamplercommon" are the > ones you need to fix.. > > > Same goes for the: > "There came now undefined references to 'dlopen' 'dlerror' 'dlclose' > > I had to add -ldl to each Makefile.in" > > > -- > Thomas > > > Thanks again !
I was thinking about this rational approach ... Thank you for affording some humour too ;)
