This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Building libc with linuxthreads fails
- From: Christian Zankel <chris at zankel dot net>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 04 Aug 2005 19:11:59 -0700
- Subject: Building libc with linuxthreads fails
Hi Daniel,
I have unsuccessfully tried to build glibc with linuxthreads. It can't
find the (second) pthread.h include file (included by include_next).
Shouldn't the ports/linuxthreads/... directory be in the list of include
directories passed to gcc? Any help would be appreciated.
In file included from ../sysdeps/unix/sysv/linux/fatal-prepare.h:19,
from assert.c:43:
../include/pthread.h:1:26: pthread.h: No such file or directory
I used the following configuration options:
~/work/libc0804/libc/configure --prefix=/tmp/build
--with-headers=/usr/src/linux/include/ --without-__thread
--enable-add-ons=ports --disable-sanity-checks
Thanks,
~Chris