Re: compile glibc + nptl fail

Stefan Jones <[email protected]>
Newsgroups gmane.comp.lib.phil
Organization The Churchill Randoms
Message-ID <1058011537.30878.3.camel@localhost>
Edit /data1/kernel/linux-2.5.74/include/linux/sysctl.h and add near the
top

#define __user /* nil */

or similar.

( you may also need gcc from CVS head, try otherwise first )

Stefan

On Sat, 2003-07-12 at 12:39, chen liwen wrote:
> Now:
>    gcc: gcc-3.3-12 ( installed from Rawhide rpm )
>    ../configure --prefix=/usr/local/glibc2 --with-tls
> --enable-add-ons=nptl --with-headers=/usr/include
>    there are "can't find __NR_..." errors.
>    if I use
> with-headers=/data2/kernel/linux-2.5.74/include. the
> error message are:
> ..../libc-start.o -MD -MP -MF
> /data2/temp/glibc-2.3.2+nptl0.52/glibc-2.3.2+nptl0.52/build/csu/libc-start.o.dt
> In file included from
> ../sysdeps/unix/sysv/linux/sys/sysctl.h:29,
>                  from ../include/sys/sysctl.h:2,
>                  from
> ../sysdeps/unix/sysv/linux/dl-osinfo.h:22,
>                  from
> ../sysdeps/generic/libc-start.c:33:
> /data1/kernel/linux-2.5.74/include/linux/sysctl.h:39:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.