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-August/018006.html | 111 +++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-August/018006.html (limited to 'zarb-ml/mageia-dev/2012-August/018006.html') diff --git a/zarb-ml/mageia-dev/2012-August/018006.html b/zarb-ml/mageia-dev/2012-August/018006.html new file mode 100644 index 000000000..7ed779d74 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-August/018006.html @@ -0,0 +1,111 @@ + + + + [Mageia-dev] Conflict between glibc and kernel headers ? + + + + + + + + + +

[Mageia-dev] Conflict between glibc and kernel headers ?

+ Guillaume Rousse + guillomovitch at gmail.com +
+ Thu Aug 9 17:18:03 CEST 2012 +

+
+ +
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 ‘u_int64_t’
+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 
+‘u_int64_t’ 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
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+

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