I am running into this error when compiling OpenWrt 22.03, target x86_64
, latest master (1f7ca927b788c180135b7708138e94386bb958b4
) with the package coova-chilli with the option CONFIG_COOVACHILLI_WOLFSSL=y
:
ssl.h:52:10: fatal error: cyassl/options.h: No such file or directory
52 | #include <cyassl/options.h>
| ^~~~~~~~~~~~~~~~~~
This is the output of locate
:
locate cyassl/options.h
/home/builder/openwrt/build_dir/target-mips_24kc_musl/wolfssl-5.6.3-stable/cyassl/options.h
/home/builder/openwrt/build_dir/target-mips_24kc_musl/wolfssl-5.6.3-stable/cyassl/options.h.in
/home/builder/openwrt/build_dir/target-mips_24kc_musl/wolfssl-5.6.3-stable/ipkg-install/usr/include/cyassl/options.h
/home/builder/openwrt/build_dir/target-mipsel_24kc_musl/wolfssl-5.6.3-stable/cyassl/options.h
/home/builder/openwrt/build_dir/target-mipsel_24kc_musl/wolfssl-5.6.3-stable/cyassl/options.h.in
/home/builder/openwrt/build_dir/target-mipsel_24kc_musl/wolfssl-5.6.3-stable/ipkg-install/usr/include/cyassl/options.h
/home/builder/openwrt/staging_dir/target-mips_24kc_musl/usr/include/cyassl/options.h
/home/builder/openwrt/staging_dir/target-mipsel_24kc_musl/usr/include/cyassl/options.h
/usr/include/cyassl/options.h
There seems to be different versions of the headers but the compiler is complaining it can't find any, why is that? Where can I look in order to fix this compilation error?