UCanLinux / riscv64-sample

Building a busybox based RiscV 64-bit GNU/Linux system from scratch
48 stars 7 forks source link

busybox installation fail #1

Open yswntht opened 5 years ago

yswntht commented 5 years ago

Hi ,

Have faced an issue installing busybox? I see the following error when I make CROSS_COMPILE=riscv64-unknown-linux-gnu- all

CC      applets/applets.o
In file included from include/libbb.h:13:0,
                 from include/busybox.h:8,
                 from applets/applets.c:9:
include/platform.h:149:11: fatal error: byteswap.h: No such file or directory
 # include <byteswap.h>
           ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2

Am I missing anything here? Thanks!

Josh-Jing commented 1 year ago

Hello bro? I have just meet the same problem with you! Could you please update your progress to help me if you succeeded?