1. 程式人生 > >OrangePi應用筆記:開發板編譯問題總結

OrangePi應用筆記:開發板編譯問題總結

No1:  

make[3]: *** No rule to make target 'drivers/input/misc/input_demo.c', needed by 'drivers/input/misc/input_demo.o'.  Stop.

解決辦法:

刪除OragePiH5/kernel/drviers/input/misc/Makefile.中的最後一行(obj-m += input_demo.o)

No2:

chroot /home/war/OrangePi/OrangePiH5/output/rootfs mount -t proc proc /proc
chroot: failed to run command ‘mount’: Exec format error
true
chroot /home/war/OrangePi/OrangePiH5/output/rootfs mount -t sysfs sys /sys
chroot: failed to run command ‘mount’: Exec format error
true
chroot /home/war/OrangePi/OrangePiH5/output/rootfs /second-phase
chroot: failed to run command ‘/second-phase’: Exec format error

解決辦法:

No3:

 Uncompress toolchain..
cat: '/home/ril3y/dev/OrangePiH5/toolchain/toolchain_tar/toolchain*': No such file or directory

解決辦法:

make sure unzip is installed.

make sure curl is installed.