On Sat, Dec 31, 2016 at 6:35 AM, Vered Zvi <[email protected]> wrote:
> Hello,
>
> I have to compile busybox (1.25.1) for ARM-V7 (NXP's LS1021A)
> So I installed the standalone compiler supplied by NXP.
> With this compiler I compiled the kernel (supplied by NXP).
> Then I tried to compile busybox and got:
>
> /x86_64-fslsdk-linux/usr/lib/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.9.3/include-fixed/limits.h:34,
> from include/platform.h:141,
> from include/libbb.h:13,
> from include/busybox.h:8,
> from applets/applets.c:9:
> /home/user/module/CARD/linux-sdk2.0/toolchain/sysroots/x86_64-fslsdk-linux/usr/lib/arm-fsl-linux-gnueabi/gcc/arm-fsl-linux-gnueabi/4.9.3/include-fixed/limits.h:168:61:
> error: no include path in which to search for limits.h
> #include_next <limits.h> /* recurse down to the real one */
> ^
> In file included from include/libbb.h:13:0,
> from include/busybox.h:8,
> from applets/applets.c:9:
> include/platform.h:152:23: fatal error: byteswap.h: No such file or directory
> # include <byteswap.h>
>
> Compiler version:
> gcc version 4.9.3 20150311 (prerelease) (Linaro GCC 4.9-2015.03)
>
> I searched the toolchain's tree. It contains limits.h, byteswap.h
>
> Can you help ?
Try compiling a simpler program. Would
#include <limits.h>
#include <byteswap.h>
#include <endian.h>
void f() {}
compile?
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox