summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110121/002289.html
blob: 57569c6f4a57aa1294a9a758b08d6897e4d72094 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] undefined reference to `pow' even with -lm
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20undefined%20reference%20to%20%60pow%27%20even%20with%20-lm&In-Reply-To=%3CAANLkTik4-P%3DJeJonnZ3dgciOTDea8f7RzQX%2BMGs43rgj%40mail.gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="002287.html">
   <LINK REL="Next"  HREF="002291.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] undefined reference to `pow' even with -lm</H1>
    <B>Funda Wang</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20undefined%20reference%20to%20%60pow%27%20even%20with%20-lm&In-Reply-To=%3CAANLkTik4-P%3DJeJonnZ3dgciOTDea8f7RzQX%2BMGs43rgj%40mail.gmail.com%3E"
       TITLE="[Mageia-dev] undefined reference to `pow' even with -lm">fundawang at gmail.com
       </A><BR>
    <I>Fri Jan 21 14:48:28 CET 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="002287.html">[Mageia-dev] undefined reference to `pow' even with -lm
</A></li>
        <LI>Next message: <A HREF="002291.html">[Mageia-dev] undefined reference to `pow' even with -lm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2289">[ date ]</a>
              <a href="thread.html#2289">[ thread ]</a>
              <a href="subject.html#2289">[ subject ]</a>
              <a href="author.html#2289">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>I've committed a patch at mandriva's svn. You could grab it.

The problem comes from two parts:
1. Since python 2.7.1 (especial in Mandriva), python-config will
export the same LDFLAGS  as how python was built. Which enforce every
binary python module be linked with -lpython, so that it might be
easier when migrate to python 3.
2. The &quot;-lm&quot; switch is actually a linker library, it is of no use if
be passed as cflags, see here:
<A HREF="http://www.gentoo.org/proj/en/qa/asneeded.xml">http://www.gentoo.org/proj/en/qa/asneeded.xml</A>

2011/1/21 philippe makowski &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">makowski.mageia at gmail.com</A>&gt;:
&gt;<i> Hi all,
</I>&gt;<i>
</I>&gt;<i> if any one have a clue to solve my build problem
</I>&gt;<i> the build is ok on my mdv with bm, but not on the mageia bs :(
</I>&gt;<i>
</I>&gt;<i> see :
</I>&gt;<i> <A HREF="http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20110121084807.philippem.valstar.23877/log/botcmd.1295599743.jonund.log">http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20110121084807.philippem.valstar.23877/log/botcmd.1295599743.jonund.log</A>
</I>&gt;<i>
</I>&gt;<i> thanks
</I>&gt;<i>
</I></PRE>










<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="002287.html">[Mageia-dev] undefined reference to `pow' even with -lm
</A></li>
	<LI>Next message: <A HREF="002291.html">[Mageia-dev] undefined reference to `pow' even with -lm
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#2289">[ date ]</a>
              <a href="thread.html#2289">[ thread ]</a>
              <a href="subject.html#2289">[ subject ]</a>
              <a href="author.html#2289">[ 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>