This is the mail archive of the
mailing list for the glibc project.
Re: Problem compiling glibc-linuxthreads-2.3
Jakub Jelinek wrote:
> On Wed, Oct 09, 2002 at 05:58:38PM -0500, Saurabh Desai wrote:
> > I am trying to compile glibc-linuxthreads-2.3 on
> > RedHat 8.0 with gcc-3.2-7, binutils-220.127.116.11.2-2
> > and Linux kernel 2.5.41.
> > ./configure --prefix=/usr --enable-add-ons=linuxthreads \
> > --enable-kernel=2.5.41
> In order to do that, you need to point glibc to 2.5.41 headers.
> Ie. either put them into /usr/include, or add
> --with-headers=/usr/src/linux-2.5.41/include or similar option
> to glibc configure.
The compilation includes ...-I /lib/modules/2.5.41/build/include
after all other includes, is this not enough?
I also tried including <linux/unistd.h> in pthread.c, and that
eliminates `__NR_set_thread_area' error, but other errors still