From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] asm/errno.h: No such file or directory compiling luajit
Date: Sat, 07 Mar 2015 01:49:04 +0100 [thread overview]
Message-ID: <54FA4B00.4000901@mind.be> (raw)
In-Reply-To: <CA+TH9Vm09qBNY2qrykL1zTe5JmPmiRObfg_-K1juURVSjWwvZA@mail.gmail.com>
On 06/03/15 22:52, Angelo Compagnucci wrote:
[snip]
> /usr/bin/make all "LJCORE_O=ljamalg.o"
> HOSTCC host/minilua.o
> HOSTCC host/buildvm_asm.o
> HOSTCC host/buildvm_peobj.o
> HOSTCC host/buildvm_lib.o
> HOSTCC host/buildvm_fold.o
> CC luajit.o
> In file included from /usr/include/bits/errno.h:24:0,
> from /usr/include/errno.h:35,
> from host/buildvm.h:13,
> from host/buildvm_asm.c:6:
> /usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such
> file or directory
> #include <asm/errno.h>
The error actually pertains to the compilation of host/buildvm_asm.o, which is
a host file not a target file. It helps to debug this kind of thing with
BR2_JLEVEL=1...
It looks like there is something wrong with your system's toolchain
installation. There really should be a /usr/include/asm/errno.h. In a multilib
installation, asm is typically a symlink to <arch>/asm. Is it possible that this
symlink got removed by a botched package install?
Regards,
Arnout
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2015-03-07 0:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-06 16:35 [Buildroot] asm/errno.h: No such file or directory compiling luajit Angelo Compagnucci
2015-03-06 18:54 ` Thomas Petazzoni
2015-03-06 21:52 ` Angelo Compagnucci
2015-03-07 0:49 ` Arnout Vandecappelle [this message]
2015-03-07 9:43 ` Angelo Compagnucci
2015-03-07 11:44 ` Angelo Compagnucci
2015-03-07 12:03 ` Thomas Petazzoni
2015-03-07 12:26 ` Angelo Compagnucci
2015-03-07 12:55 ` Angelo Compagnucci
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54FA4B00.4000901@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox