OpenNetworkLinux
OpenNetworkLinux copied to clipboard
Cannot execute cross-compiler when building onl-buildroot-initrd
Hello, I'm trying to build a Debian buster ONL (docker/tool/onl-builder -10), while an error occurs during the process of building onl-buildroot-initrd. It says a cross-compiler x86_64-buildroot-linux-uclibc-gcc cannot be executed, but I can't find any files related to this cross-compiler in my compiling environment. Below is the whole error messge, does anyone know how this issue happens? Many thanks for any help!
host-ccache 3.1.8 Installing to host directory Checking external toolchain settings Cannot execute cross-compiler '/usr/buildroot/toolchains/x86_64/bin/x86_64-buildroot-linux-uclibc-gcc' make[6]: *** [toolchain/toolchain-external/ext-tool.mk:337: /home/czn_sonic/onl_loca
l/OpenNetworkLinux/packages/base/any/initrds/buildroot/builds/buildroot-x86_64/stamp s/ext-toolchain-checked] Error 1 make[5]: *** [Makefile:93: buildroot-x86_64] Error 2 make[4]: *** [/home/czn_sonic/onl_local/OpenNetworkLinux/packages/base/any/initrds/b uildroot/Makefile.any:36: buildroot-initrd-amd64.cpio.gz] Error 2 ERROR:onlpm:'Build failed.' ERROR:onlrfs:Failed to build all required packages. make[3]: *** [/home/czn_sonic/onl_local/OpenNetworkLinux/make/rfs.mk:51: RFS] Error 1 ERROR:onlpm:'Build failed.' make[2]: *** [/home/czn_sonic/onl_local/OpenNetworkLinux/make/pkg.mk:30: pkgall] Error 1 make[1]: *** [/home/czn_sonic/onl_local/OpenNetworkLinux/make/subdirs.mk:15: all] Error 1 make[1]: Leaving directory '/home/czn_sonic/onl_local/OpenNetworkLinux/builds/amd64' make: *** [Makefile:23: amd64] Error 2
have you solved this problem? i am also report similar error.