[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