Messages in this thread | | | Subject | Re: 2.6.0-t1-ac2: unable to compile glibc 2.3.2 | From | Martin Schlemmer <> | Date | 17 Jul 2003 14:12:20 +0200 |
| |
On Thu, 2003-07-17 at 11:45, Martin Zwickel wrote: > Hi there! > > I just tried to update my glibc to 2.3.2 and saw that glibc can't compile > because of linux/sysctl.h. > > I added the line "#include <linux/compiler.h>" to sysctl.h. > (since sysctl needs the __user) > > So someone forgot the line, or did I miss something? >
No, you should not use the kernel headers directly - use a sanitized version (can get one from redhat's kernel-headers package). Else just add a '#define __user' before that struct.
Regards,
-- Martin Schlemmer
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |