[Buildroot] asm/errno.h: No such file or directory compiling luajit
Arnout Vandecappelle
arnout at mind.be
Sat Mar 7 00:49:04 UTC 2015
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
More information about the buildroot
mailing list