Hi all, I'm compiling some software created for Fedora/Red Hat and discovered some of the gentoo kernel-headers are broken.
For example ethtool.h, which uses the u32 typedef defined in asm/types.h. This typedef has been disabled outside the kernel "to avoid name space clashes" which I think is a Good Thing. Inspired by this header I dug into sys-apps/ethtool and found this package used a copy of an old ethtool.h and a ethtool_util.h which typedef'ed the missing types. I don't think this is a bad choice but it makes ethtool.h obsolete and still broken. I thought it might be better to remove the broken headers completely or fix them up and/ or patch ebuild's like ethtool to use the real kernel-headers. Red Hat / Fedora provide heavily modified kernel headers (glibc-kernheaders) maybe we can borrow some patches from them... What would be the best way to deal with these broken kernel headers? (plasmaroo?) Greetings, Dick -- gentoo-dev@gentoo.org mailing list