summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-August/018006.html
blob: 7ed779d745c47268ec10e264741bbd6ff20cf562 (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
105
106
107
108
109
110
111
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Conflict between glibc and kernel headers ?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Conflict%20between%20glibc%20and%20kernel%20headers%20%3F&In-Reply-To=%3C5023D4AB.8070805%40gmail.com%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="018010.html">
   <LINK REL="Next"  HREF="018011.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Conflict between glibc and kernel headers ?</H1>
    <B>Guillaume Rousse</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Conflict%20between%20glibc%20and%20kernel%20headers%20%3F&In-Reply-To=%3C5023D4AB.8070805%40gmail.com%3E"
       TITLE="[Mageia-dev] Conflict between glibc and kernel headers ?">guillomovitch at gmail.com
       </A><BR>
    <I>Thu Aug  9 17:18:03 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="018010.html">[Mageia-dev] Fwd: Rebuild failed on x86_64 for	@280102:openvpn-2.2.2-6.mga3.src.rpm
</A></li>
        <LI>Next message: <A HREF="018011.html">[Mageia-dev] Suggested change to %configure
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18006">[ date ]</a>
              <a href="thread.html#18006">[ thread ]</a>
              <a href="subject.html#18006">[ subject ]</a>
              <a href="author.html#18006">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>I have the following error while trying to build wpa_supplicant:

In file included from /usr/include/linux/sysinfo.h:4:0,
                  from /usr/include/linux/kernel.h:4,
                  from /usr/src/madwifi/include/compat.h:69,
                  from ../src/drivers/driver_madwifi.c:37:
/usr/include/linux/types.h:31:25: erreur: conflicting types for &#8216;u_int64_t&#8217;
In file included from /usr/include/stdlib.h:319:0,
                  from ../src/utils/includes.h:25,
                  from ../src/drivers/driver_madwifi.c:22:
/usr/include/sys/types.h:203:1: note: previous declaration of 
&#8216;u_int64_t&#8217; was here
make: *** [../src/drivers/driver_madwifi.o] Erreur 1

If I'm understanding it correctly, there would be a mismatch between 
/usr/include/linux/types.h (from the kernel) and 
/usr/include/sys/types.h (from glibc). However, it's a bit difficult to 
figure how they differ/conflict, as both declaration heavily relies on 
preprocessing dark magic...

glibc version:
# define __u_intN_t(N, MODE) \
   typedef unsigned int u_int##N##_t __attribute__ ((__mode__ (MODE)))
__u_intN_t (64, __DI__);

kernel version:
typedef __u64 __bitwise __le64;

So ?

-- 
BOFH excuse #69:

knot in cables caused data stream to become twisted and kinked
</PRE>























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="018010.html">[Mageia-dev] Fwd: Rebuild failed on x86_64 for	@280102:openvpn-2.2.2-6.mga3.src.rpm
</A></li>
	<LI>Next message: <A HREF="018011.html">[Mageia-dev] Suggested change to %configure
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#18006">[ date ]</a>
              <a href="thread.html#18006">[ thread ]</a>
              <a href="subject.html#18006">[ subject ]</a>
              <a href="author.html#18006">[ 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>