i'm getting this error while building qosify for openwrt x86/64 about missing clang
i tried to go to make menuconfig and then advanced configuration option and i didn't find anything about using host clang btw i installed clang on ubuntu 20.04
here the log:
bash: /home/isso/openwrt-sdk-21.02.2-x86-64_gcc-8.4.0_musl.Linux-x86_64/staging_dir/host/bin/clang: No such file or directory
make: *** [Makefile:71: /home/isso/openwrt-sdk-21.02.2-x86-64_gcc-8.4.0_musl.Linux-x86_64/build_dir/target-x86_64_musl/linux-x86_64/qosify-2022-03-06-f13b67c9/.built] Error 127
make: Leaving directory '/home/isso/openwrt-sdk-21.02.2-x86-64_gcc-8.4.0_musl.Linux-x86_64/package/qosify'
ERROR: package/qosify failed to build.
make: *** [package/Makefile:116: package/qosify/compile] Error 1
make: Leaving directory '/home/isso/openwrt-sdk-21.02.2-x86-64_gcc-8.4.0_musl.Linux-x86_64'
make: *** [/home/isso/openwrt-sdk-21.02.2-x86-64_gcc-8.4.0_musl.Linux-x86_64/include/toplevel.mk:223: package/qosify/compile] Error 2
Did you change the toolchain settings?
Qosify only exixts in master, not in 21.02 branch
And it needs additional toolchain components (like llvm toolchain), which are not present in 21.02 SDK
in master, it is pretty easy with the full toolchain:
And since then the llvm toolchain has apparently also been added into the master's SDK.
ok thanks for replaying:
i'm noob at programing so please bear with me
step 1: download llvm-bpf-13.0.0.Linux-x86_64.tar.xz
step 2: extract [llvm-bpf-13.0.0.Linux-x86_64.tar.xz] to buildroot (openwrt sdk) if not, what buildroot did you mean and where to get it ?
I meant the full toolchain that you can build from sources.
If you are using master, the SDK currently includes also the llvm toolchain.
The 21.02 does not contain all relevant config options, so if you are trying to backport qosify there, you may have quite a lot of learnign and backporting ahead of you.