help-hurd
[Top][All Lists]
Advanced

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

Issues cross-compiling hurd


From: Nathan Dehnel
Subject: Issues cross-compiling hurd
Date: Mon, 16 Jul 2018 18:57:18 -0500

I am trying to compile hurd with cross-hurd, and I get this compilation error:

i586-pc-gnu-gcc -B/cross-tools/bin/ setup-thread.c -c -std=gnu11 -fgnu89-inline  -O2 -Wall -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -Wold-style-definition     -ftls-model=initial-exec      -I../include -I/mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj/mach  -I/mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj  -I../libpthread/sysdeps/mach/hurd/i386  -I../sysdeps/mach/hurd/i386  -I../libpthread/sysdeps/mach/hurd  -I../libpthread/sysdeps/hurd  -I../libpthread/sysdeps/pthread  -I../sysdeps/pthread  -I../sysdeps/mach/hurd  -I../sysdeps/gnu  -I../sysdeps/unix/bsd  -I../sysdeps/unix/inet  -I../sysdeps/mach/i386  -I../libpthread/sysdeps/mach  -I../sysdeps/mach  -I../sysdeps/i386/i586  -I../sysdeps/i386/fpu  -I../sysdeps/x86/fpu/include -I../sysdeps/x86/fpu  -I../libpthread/sysdeps/i386  -I../sysdeps/i386  -I../sysdeps/x86  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/ldbl-96  -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32  -I../sysdeps/unix  -I../sysdeps/posix  -I../libpthread/sysdeps/posix  -I../sysdeps/ieee754  -I../sysdeps/generic  -I../libpthread -I../hurd -I/mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj/hurd/ -I../mach -I/mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj/mach/ -I.. -I../libio -I. -nostdinc -isystem /mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/cross-tools/bin/../lib/gcc/i586-pc-gnu/6.4.0/include -isystem /mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/cross-tools/bin/../lib/gcc/i586-pc-gnu/6.4.0/include-fixed -isystem /tools/include  -D_LIBC_REENTRANT -include /mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h       -o /mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj/mach/setup-thread.o -MD -MP -MF /mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj/mach/setup-thread.o.dt -MT /mnt/store/Data/VM/crosshurd-32/cross-hurd/tmp/src/glibc.first_obj/mach/setup-thread.o
In file included from ../libpthread/sysdeps/pthread/libc-lockP.h:22:0,
                 from ../sysdeps/mach/libc-lock.h:227,
                 from ../include/link.h:46,
                 from ../include/dlfcn.h:4,
                 from ../sysdeps/generic/ldsodefs.h:32,
                 from ../sysdeps/i386/ldsodefs.h:39,
                 from ../sysdeps/gnu/ldsodefs.h:46,
                 from setup-thread.c:22:
../include/pthread.h:1:26: fatal error: pthread.h: No such file or directory
 #include_next <pthread.h>
                          ^
compilation terminated.

I tried running ./configure LIBS=-lpthread and setting LIBS += -lpthread in configparms, but I'm not really sure what I'm doing. Any suggestions would be appreciated.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]