[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Conflicting types from kernel-headers and glibc-headers



Hi,

I'm not sure which package to blame about this problem, except at least
keepalived itself, which wants "low level" access to kernel includes.

This is the real world problem :
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228544#c7

It doesn't happen on RHEL4 or FC6, only on Fedora development. Could
this be some kind of de-sync between defines in the headers provided by
glibc-headers and kernel-headers packages?

Even after "forcing" keepalived to not go and include headers from the
kernel-devel package, I still get errors like this :

In file included from /usr/include/net/ethernet.h:26,
                 from ../include/vrrp_arp.h:29,
                 from vrrp_arp.c:29:
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:13: error: previous declaration of 'dev_t'
was here
/usr/include/sys/types.h:67: error: conflicting types for 'gid_t'
/usr/include/linux/types.h:27: error: previous declaration of 'gid_t'
was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:15: error: previous declaration of 'mode_t'
was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:16: error: previous declaration of 'nlink_t'
was here
/usr/include/sys/types.h:82: error: conflicting types for 'uid_t'
/usr/include/linux/types.h:26: error: previous declaration of 'uid_t'
was here

Should I file this as a bug? If yes, against glibc or kernel?

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 6 (Zod) - Linux kernel 2.6.19-1.2911.6.5.fc6
Load : 0.08 0.22 0.51


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]