[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: compile glibc + nptl fail



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:





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]