Groups | Search | Server Info | Login | Register


Groups > gnu.hurd.help > #387

Re: Issues cross-compiling hurd

From Samuel Thibault <samuel.thibault@gnu.org>
Newsgroups gnu.hurd.help
Subject Re: Issues cross-compiling hurd
Date 2018-07-19 02:59 +0200
Organization I am not organized
Message-ID <mailman.3786.1531961971.1292.help-hurd@gnu.org> (permalink)
References <CAEEhgEv2bNXH5QhhgQ=xT61b5-0nFsbJOXZV4dkAshxdc+6eZA@mail.gmail.com>

Show all headers | View raw


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

Back to gnu.hurd.help | Previous | Next | Find similar


Thread

Re: Issues cross-compiling hurd Samuel Thibault <samuel.thibault@gnu.org> - 2018-07-19 02:59 +0200

csiph-web