summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/008582.html
blob: bdd14e219fbf4e86618d0620b4659621b2554381 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Building ldetect on Cauldron is broken.
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Building%20ldetect%20on%20Cauldron%20is%20broken.&In-Reply-To=%3C20111001131638.32664a78%40lap.shlomifish.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="008581.html">
   <LINK REL="Next"  HREF="008583.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Building ldetect on Cauldron is broken.</H1>
    <B>Shlomi Fish</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Building%20ldetect%20on%20Cauldron%20is%20broken.&In-Reply-To=%3C20111001131638.32664a78%40lap.shlomifish.org%3E"
       TITLE="[Mageia-dev] Building ldetect on Cauldron is broken.">shlomif at shlomifish.org
       </A><BR>
    <I>Sat Oct  1 12:16:38 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="008581.html">[Mageia-dev] Disabling hybernation
</A></li>
        <LI>Next message: <A HREF="008583.html">[Mageia-dev] Building ldetect on Cauldron is broken.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8582">[ date ]</a>
              <a href="thread.html#8582">[ thread ]</a>
              <a href="subject.html#8582">[ subject ]</a>
              <a href="author.html#8582">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Hi all,

building ldetect on Cauldron is broken:

[Q]
cc -shared -Wl,-z,relro -Wl,-O1,-soname,libldetect.so.0.11 -o libldetect.so.0.11.1 common.o hid.o modalias.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o sysfs_attr.o sysfs_utils.o names.o -lpci -lmodprobe -lz
ar -cru libldetect.a common.o hid.o modalias.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o sysfs_attr.o sysfs_utils.o names.o
ranlib libldetect.a
ln -sf libldetect.so.0.11.1 libldetect.so.0.11
ln -sf libldetect.so.0.11 libldetect.so
cc -Wall -W -Wstrict-prototypes -Os -fPIC -fvisibility=hidden -g    lspcidrake.c libldetect.so   -o lspcidrake
lspcidrake.c: In function &#8216;main&#8217;:
lspcidrake.c:107:2: warning: suggest parentheses around &#8216;&amp;&amp;&#8217; within &#8216;||&#8217;
libldetect.so: undefined reference to `read_toplevel_config'
libldetect.so: undefined reference to `read_config'
collect2: ld returned 1 exit status
make: *** [lspcidrake] Error 1
error: Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)


RPM build errors:
    Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)
error: failed!
shlomif[rpms]:$mageia/ldetect$ 
[/Q]

Apparently, modprobe.so no longer contains &quot;read_toplevel_config&quot; (which isn't even in the header file) or &quot;read_config&quot; (which is in a patch to the header file added on Mageia, but no longer defined in the sources themselves), and as a result, building ldetect fails. Seems like we have introduced a non-blessed API of modprobe.so.

This prevents upgrading kdiff3 and many other packages. 

Regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       <A HREF="http://www.shlomifish.org/">http://www.shlomifish.org/</A>
The Case for File Swapping - <A HREF="http://shlom.in/file-swap">http://shlom.in/file-swap</A>

If Botticelli were alive today, he&#8217;d be working for Vogue.
    &#8212; <A HREF="http://en.wikiquote.org/wiki/Peter_Ustinov">http://en.wikiquote.org/wiki/Peter_Ustinov</A>

Please reply to list if it's a mailing list post - <A HREF="http://shlom.in/reply">http://shlom.in/reply</A> .
</PRE>







<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="008581.html">[Mageia-dev] Disabling hybernation
</A></li>
	<LI>Next message: <A HREF="008583.html">[Mageia-dev] Building ldetect on Cauldron is broken.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#8582">[ date ]</a>
              <a href="thread.html#8582">[ thread ]</a>
              <a href="subject.html#8582">[ subject ]</a>
              <a href="author.html#8582">[ 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>