gl-inet / sdk

OpenWRT SDK for GL.iNet devices
106 stars 34 forks source link

build ipk error -- /bin/sh: 1: scripts/basic/fixdep: not found #7

Open keanuzhang opened 2 years ago

keanuzhang commented 2 years ago

/bin/sh: 1: scripts/basic/fixdep: not found make[5]: [/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/ioctl.o] Error 127 make[5]: Deleting file '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/ioctl.o' make[4]: [module/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10] Error 2 scripts/Makefile.build:326: recipe for target '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/ioctl.o' failed make[3]: [build] Error 2 Makefile:1544: recipe for target 'module/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10' failed make[2]: [/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/.built] Error 2 make[4]: Leaving directory '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/linux-4.14.221' Makefile:27: recipe for target 'build' failed make[3]: Leaving directory '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10' Makefile:58: recipe for target '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/.built' failed make[2]: Leaving directory '/home/runner/sdk/1907/ath79/feeds/base/package/kernel/cryptodev-linux' time: package/feeds/base/cryptodev-linux/compile#1.84#0.67#2.39 make[1]: [package/feeds/base/cryptodev-linux/compile] Error 2 package/Makefile:111: recipe for target 'package/feeds/base/cryptodev-linux/compile' failed make[1]: Leaving directory '/home/runner/sdk/1907/ath79' make: *** [package/helloworld/luci-app-ssr-plus/compile] Error 2 /home/runner/sdk/1907/ath79/include/toplevel.mk:218: recipe for target 'package/helloworld/luci-app-ssr-plus/compile' failed Error: Process completed with exit code 2.

Lintao-Zeng commented 2 years ago

/bin/sh: 1: scripts/basic/fixdep: not found make[5]: [/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/ioctl.o] Error 127 make[5]: Deleting file '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/ioctl.o' make[4]: [module/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10] Error 2 scripts/Makefile.build:326: recipe for target '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/ioctl.o' failed make[3]: [build] Error 2 Makefile:1544: recipe for target 'module/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10' failed make[2]: [/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/.built] Error 2 make[4]: Leaving directory '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/linux-4.14.221' Makefile:27: recipe for target 'build' failed make[3]: Leaving directory '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10' Makefile:58: recipe for target '/home/runner/sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/cryptodev-linux-cryptodev-linux-1.10/.built' failed make[2]: Leaving directory '/home/runner/sdk/1907/ath79/feeds/base/package/kernel/cryptodev-linux' time: package/feeds/base/cryptodev-linux/compile#1.84#0.67#2.39 make[1]: [package/feeds/base/cryptodev-linux/compile] Error 2 package/Makefile:111: recipe for target 'package/feeds/base/cryptodev-linux/compile' failed make[1]: Leaving directory '/home/runner/sdk/1907/ath79' make: *** [package/helloworld/luci-app-ssr-plus/compile] Error 2 /home/runner/sdk/1907/ath79/include/toplevel.mk:218: recipe for target 'package/helloworld/luci-app-ssr-plus/compile' failed Error: Process completed with exit code 2.

我也是这个问题

picronsin commented 2 years ago

同这个问题

BoyInTheSun commented 2 years ago

同样问题

olochi commented 2 years ago

same with you all...................

Explorer1092 commented 2 years ago

同样问题

abioteau commented 2 years ago

To fix it, you should add symbolic link to .fixdep.bin

cd sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/linux-4.14.221/scripts/basic/ ln -s .fixdep.bin fixdep

After this, you have also need to add symbolic link for modpost which is also not found

cd sdk/1907/ath79/build_dir/target-mips_24kc_musl/linux-ath79_nand/linux-4.14.221/scripts/mod/ ln -s .modpost.bin modpost