[Mageia-dev] need some help to build a linuxsampler.rpm

AL13N alien at rmail.be
Fri Sep 21 21:53:11 CEST 2012


Op vrijdag 21 september 2012 21:24:17 schreef PhilippeDidier:
> Hi ! Happy packagers...
> 
> I'm trying to build some missing rpms that exist in Mandriva-contrib but
> not yet in Mageia... (most of them concern Computer Aided Music)
> 
> gig
> linuxsampler
> gigedit
> qsampler
> 
> linuxsampler depends on gig
> gigedit and qsampler depend on linuxsampler
> 
> I use the same spec files and sources and patches as in Mandriva...
> (with minor cosmetic changes)
> 
> It's OK for gig
> 
> 
> But
> 
> I'm having problem with linuxsampler that could be built for
> Mandriva2010.2 but that can't be with Mageia2
> 
> I get several times this kind of message when running rpmbuild -ba
> (before it aborts) :
> 
> ../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/a
> tomicity.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/a
> tomicity.h:80: undefined reference to `pthread_cancel'



make a small test program, that uses pthread_cancel and try to compile and 
link it.

or you could find out with strings if that function is in there.

lastly, i see you're building the .a file. don't do it and make it dynamic, 
that could also have been an issue. if not at least it'll make the problem 
alot more visible





> What may cause this ?
> libpthread-2.1.14-1.so is of course present and linked in /lib/ and
> /lib/i686
> 
> 
> but there's an empty libpthread.so file in /usr/lib/
> (same as in Mandriva) does it induces any confusion ?
> 
> 
> Any idea ?
> 
> Thanks for your help...
> 
> Philippe


More information about the Mageia-dev mailing list