help-hurd
[Top][All Lists]
Advanced

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

Re: Issues cross-compiling hurd


From: Samuel Thibault
Subject: Re: Issues cross-compiling hurd
Date: Thu, 19 Jul 2018 02:59:24 +0200
User-agent: NeoMutt/20170113 (1.7.2)

Hello,

Nathan Dehnel, le lun. 16 juil. 2018 18:57:18 -0500, a ecrit:
> I am trying to compile hurd with cross-hurd, and I get this compilation error:

Which source are you taking exactly?

> ../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.

The issue is with the header, not the library, so it'd rather be a -I.
But libpthread is supposed to be provided by glibc itself actually, by
using the hurd libpthread repo and adding it as an add-on.

Samuel



reply via email to

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