Re: 2.6.0-t1-ac2: unable to compile glibc 2.3.2

From: Martin Schlemmer (azarah@gentoo.org)
Date: Thu Jul 17 2003 - 07:12:20 EST


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/



This archive was generated by hypermail 2b29 : Wed Jul 23 2003 - 22:00:29 EST