gwlim / mips24k-ar71xx-lede-patch

Patchset for MIPS24Kc AR71xx For LEDE Project
33 stars 15 forks source link

Error compiling #12

Open bardimnik opened 6 years ago

bardimnik commented 6 years ago

Hello! Everything was done according to the instructions, as written in readme.md. After entering the command: make tools / install -j9 V = -1 && make toolchain / install -j9 V = -1 I get this error:

make -r toolchain / install: build failed. Please re-run make with -j1 V = s to see what's going on /home/bardimnik/firmware/lede/include/toplevel.mk:205: failed to execute the recipe for the "toolchain / install" target make: *** [toolchain / install] Error 1

After entering the command:

make toolchain / install -j1 V = s

I get the answer:

checking for mips-openwrt-linux-musl-gcc... /home/bardimnik/firmware/lede/build_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/gcc-5.4.0-initial/./gcc/xgcc -B/home/bardimnik/firmware/lede/build_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/gcc-5.4.0-initial/./gcc/ -B/home/bardimnik/firmware/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/mips-openwrt-linux-musl/bin/ -B/home/bardimnik/firmware/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/mips-openwrt-linux-musl/lib/ -isystem /home/bardimnik/firmware/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/mips-openwrt-linux-musl/include -isystem /home/bardimnik/firmware/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/mips-openwrt-linux-musl/sys-include
checking for suffix of object files... configure: error: in /home/bardimnik/firmware/lede/build_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/gcc-5.4.0-initial/mips-openwrt-linux-musl/libgcc': configure: error: cannot compute suffix of object files: cannot compile Seeconfig.log' for more details. Makefile:10906: recipe for target 'configure-target-libgcc' failed make[3]: [configure-target-libgcc] Error 1 make[3]: Leaving directory '/home/bardimnik/firmware/lede/build_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/gcc-5.4.0-initial' Makefile:36: recipe for target '/home/bardimnik/firmware/lede/build_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/gcc-5.4.0-initial/.built' failed make[2]: [/home/bardimnik/firmware/lede/build_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/gcc-5.4.0-initial/.built] Error 2 make[2]: Leaving directory '/home/bardimnik/firmware/lede/toolchain/gcc/initial' toolchain/Makefile:91: recipe for target 'toolchain/gcc/initial/compile' failed make[1]: *** [toolchain/gcc/initial/compile] Error 2 make[1]: Leaving directory '/home/bardimnik/firmware/lede'

I do not understand what to do next. Help me please!!!

juppin commented 6 years ago

I could aso not build toolchain on mips74k. Test if this pr solves the issue... PR13