Building libc with linuxthreads fails

Christian Zankel chris@zankel.net
Fri Aug 5 02:09:00 GMT 2005


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



More information about the Libc-alpha mailing list