Svante Signell, le Sat 07 Mar 2015 19:39:13 +0100, a écrit : > On Sat, 2015-03-07 at 17:33 +0100, Justus Winter wrote: > > with the current libc from debian-ports (2.19-16~1) I see: > > > > gcc -std=gnu99 -fgnu89-inline -Wall -g -O3 -g -O2 -fstack-protector-strong > > -Wformat -Werror=format-security -I. -I../../libshouldbeinlibc -I.. -I../.. > > -I../include -I../../include -D_GNU_SOURCE -D_IO_MTSAFE_IO > > -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DPACKAGE_NAME=\"GNU\ Hurd\" > > -DPACKAGE_TARNAME=\"hurd\" -DPACKAGE_VERSION=\"0.5\" > > -DPACKAGE_STRING=\"GNU\ Hurd\ 0.5\" > > -DPACKAGE_BUGREPORT=\"bug-hurd@gnu.org\" > > -DPACKAGE_URL=\"http://www.gnu.org/software/hurd/\" -DHAVE_MIG_RETCODE=1 > > -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 > > -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_PARTED_PARTED_H=1 > > -DHAVE_LIBPARTED=1 -DHAVE_LIBUUID=1 -DHAVE_LIBDL=1 -DYYTEXT_POINTER=1 > > -DX11_PREFIX=\"/usr\" -DHAVE_DAEMON=1 -DHAVE_BLKID=1 -DHAVE_LIBREADLINE=1 > > -c -o timefmt.o ../../libshouldbeinlibc/timefmt.c > > In file included from /usr/include/i386-gnu/bits/stdio-lock.h:22:0, > > from /usr/include/libio.h:149, > > from /usr/include/stdio.h:74, > > from ../../libshouldbeinlibc/timefmt.c:21: > > /usr/include/i386-gnu/bits/libc-lock.h:257:34: error: unknown type name > > ‘pthread_mutex_t’ > > extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
Oops, my fault. > I see this too when building hurd. pthread/pthread-functions.h is > missing. Should'nt that file be provided in libc0.3-dev? Not, it should be hidden like NPTL does actually. I'm building a fixed package. Samuel