[OpenWrt-Devel] Build error on latest trunk: LuaJIT
Rosen Penev
rosenp at gmail.com
Tue Jun 9 11:37:47 EDT 2020
On Tue, Jun 9, 2020 at 8:19 AM Reiner Karlsberg
<karlsberg at softart-ge.com> wrote:
>
> make -j1 -C /etc/openwrt/WE826/build_dir/target-mipsel_24kc_musl/LuaJIT-2.1.0-beta3 HOST_CC="gcc -O2
> -I/etc/openwrt/WE826_PCS3/staging_dir/host/include -I/etc/openwrt/WE826/staging_dir/hostpkg/include
> -I/etc/openwrt/WE826_PCS3/staging_dir/target-mipsel_24kc_musl/host/include -m32" CROSS="mipsel-openwrt-linux-musl-"
> DPREFIX=/etc/openwrt/WE826/build_dir/target-mipsel_24kc_musl/LuaJIT-2.1.0-beta3/ipkg-install/usr PREFIX=/usr
> TARGET_SYS=Linux TARGET_CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt
> -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float
> -ffile-prefix-map=/etc/openwrt/WE826_PCS3/build_dir/target-mipsel_24kc_musl/LuaJIT-2.1.0-beta3=LuaJIT-2.1.0-beta3
> -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" BUILDMODE=dynamic
> make[4]: Entering directory '/etc/openwrt/WE826/build_dir/target-mipsel_24kc_musl/LuaJIT-2.1.0-beta3'
>
> ==== Building LuaJIT 2.1.0-beta3 ====
> make -C src
> make[5]: Entering directory '/etc/openwrt/WE826/build_dir/target-mipsel_24kc_musl/LuaJIT-2.1.0-beta3/src'
> HOSTCC host/minilua.o
> In file included from /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed/limits.h:194,
> from /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed/syslimits.h:7,
> from /usr/lib/gcc/x86_64-linux-gnu/9/include-fixed/limits.h:34,
> from host/minilua.c:33:
> /usr/include/limits.h:26:10: fatal error: bits/libc-header-start.h: No such file or directory
> 26 | #include <bits/libc-header-start.h>
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
>
Needs 32-bit gcc installed on the host.
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list