Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.hurd.help > #387

Re: Issues cross-compiling hurd

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Samuel Thibault <samuel.thibault@gnu.org>
Newsgroups gnu.hurd.help
Subject Re: Issues cross-compiling hurd
Date Thu, 19 Jul 2018 02:59:24 +0200
Organization I am not organized
Lines 25
Approved help-hurd@gnu.org
Message-ID <mailman.3786.1531961971.1292.help-hurd@gnu.org> (permalink)
References <CAEEhgEv2bNXH5QhhgQ=xT61b5-0nFsbJOXZV4dkAshxdc+6eZA@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1531961972 11987 208.118.235.17 (19 Jul 2018 00:59:32 GMT)
X-Complaints-To action@cs.stanford.edu
Cc help-hurd@gnu.org
To Nathan Dehnel <ncdehnel@gmail.com>
Envelope-to help-hurd@gnu.org
X-Virus-Scanned Debian amavisd-new at aquilenet.fr
Content-Disposition inline
In-Reply-To <CAEEhgEv2bNXH5QhhgQ=xT61b5-0nFsbJOXZV4dkAshxdc+6eZA@mail.gmail.com>
User-Agent NeoMutt/20170113 (1.7.2)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2a0c:e300::1
X-BeenThere help-hurd@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Users list for the GNU Hurd <help-hurd.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/help-hurd>, <mailto:help-hurd-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/help-hurd/>
List-Post <mailto:help-hurd@gnu.org>
List-Help <mailto:help-hurd-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/help-hurd>, <mailto:help-hurd-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.hurd.help:387

Show key headers only | 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