From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-September/018832.html | 165 ++++++++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-September/018832.html (limited to 'zarb-ml/mageia-dev/2012-September/018832.html') diff --git a/zarb-ml/mageia-dev/2012-September/018832.html b/zarb-ml/mageia-dev/2012-September/018832.html new file mode 100644 index 000000000..3da2af560 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-September/018832.html @@ -0,0 +1,165 @@ + + + + [Mageia-dev] need some help to build a linuxsampler.rpm + + + + + + + + + +

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

+ PhilippeDidier + philippedidier at laposte.net +
+ Sat Sep 22 02:45:16 CEST 2012 +

+
+ +
Thomas Backlund a écrit :
+> PhilippeDidier skrev 21.9.2012 22:24:
+>> 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/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'
+>>
+> 
+> You need to add -lpthread to the linker options...
+> 
+> -- 
+> Thomas
+> 
+> 
+> 
+Thanks Thomas ...
+
+
+I use a very simple spec file in which these parts were working for
+Mandriva :
+
+
+%prep
+%setup -q -n %name-%version
+
+%build
+%configure2_5x
+%make
+
+%install
+make DESTDIR=%buildroot  install
+
+
+I don't know where to add this option
+
+I thought it was done by %configure (I can see the option -pthread in
+the CXXFLAGS of the different makefiles)
+
+I tried to add
+CXXFLAGS="-lpthread" in the spec but it didn't change anything ...
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1