Red Hat Bugzilla – Bug 217723
Error compiling with kernel 2.6.19 headers
Last modified: 2007-11-30 17:11:50 EST
Description of problem:
Several interface macros were removed from the kernel headers, which glibc
requires when compiling. The fact that they are now gone from the kernel causes
Version-Release number of selected component (if applicable):
kernel >= 2.6.19, glibc >= 2.5.90
Steps to Reproduce:
1. make headers_check in kernel 2.6.19 source
2. install exported 2.6.19 headers
3. try to compile glibc
Errors on missing defines/macros.
Glibc should compile to completion and generate a new binary rpm.
I'm not sure what version of kernel headers is currently being used in
fedora-devel or if this is fixed in the fedora kernel includes, I just wanted to
give a heads-up that using a vanilla 2.6.19 kernel exported header-set, you
won't be able to compile glibc without some help.
Created attachment 142388 [details]
Patch based on one made for the iproute2 application
The patch is wrong, you can't include <linux/if_addr.h> without any checks,
as that header didn't exist before. Some macros aren't needed.
glibc-2.5.90-11 has a different fix.