<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] need some help to build a linuxsampler.rpm
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20help%20to%20build%20a%20linuxsampler.rpm&In-Reply-To=%3C506047E2.7050006%40mageia.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="018881.html">
   <LINK REL="Next"  HREF="018883.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] need some help to build a linuxsampler.rpm</H1>
    <B>Thomas Backlund</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20need%20some%20help%20to%20build%20a%20linuxsampler.rpm&In-Reply-To=%3C506047E2.7050006%40mageia.org%3E"
       TITLE="[Mageia-dev] need some help to build a linuxsampler.rpm">tmb at mageia.org
       </A><BR>
    <I>Mon Sep 24 13:45:38 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="018881.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
        <LI>Next message: <A HREF="018883.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18882">[ date ]</a>
              <a href="thread.html#18882">[ thread ]</a>
              <a href="subject.html#18882">[ subject ]</a>
              <a href="author.html#18882">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>PhilippeDidier skrev 24.9.2012 14:25:
&gt;<i>
</I>&gt;<i> Hey ! You ! you are a happiness breaker  :-(
</I>&gt;<i>
</I>
[...]
&gt;<i>
</I>&gt;<i> Argh !
</I>&gt;<i> You killed me ;-(
</I>&gt;<i>
</I>
Nope, just showing how to learn about and fix some problems :)

&gt;<i> Mageia will have to wait for sometime :...
</I>&gt;<i> There are 21 makefiles
</I>&gt;<i> There are 0 or 1 or 2 links to add to them (but which of them really
</I>&gt;<i> need the added links ?)
</I>&gt;<i> Than means some combinations to try :
</I>&gt;<i> 2 square to the power of 21 = 2097152 if I blindly test all of them !
</I>&gt;<i> If I win early I will try the casino
</I>&gt;<i> ;-)
</I>&gt;<i>
</I>&gt;<i> I will try a rational approach to decrease the number of tests to do...
</I>&gt;<i>
</I>


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 &quot;pthread_cancel&quot;, need linking help.
in this case the Makefiles responsible for the build of
&quot;liblinuxsamplerplugins&quot; and &quot;liblinuxsamplercommon&quot; are the
ones you need to fix..


Same goes for the:
&quot;There came now undefined references to 'dlopen' 'dlerror' 'dlclose'

I had to add -ldl to each Makefile.in&quot;


--
Thomas


</PRE>


















<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="018881.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
	<LI>Next message: <A HREF="018883.html">[Mageia-dev] need some help to build a linuxsampler.rpm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18882">[ date ]</a>
              <a href="thread.html#18882">[ thread ]</a>
              <a href="subject.html#18882">[ subject ]</a>
              <a href="author.html#18882">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>