Error when building openwrt

This's my error when building a OpenWRT. So anyone can help me solve this. I tried fixing by add some patch to ./15.05-rak-rc2/package/network/utils/curl/patches_40/ direction. But, it wasn't a good solution.
Thank in advance !

vtls/vtls.c: In function 'Curl_ssl_md5sum':
vtls/vtls.c:841:3: error: unknown type name 'MD5_context'
   MD5_context *MD5pw;
vtls/vtls.c:845:25: error: 'Curl_DIGEST_MD5' undeclared (first use in this function)
   MD5pw = Curl_MD5_init(Curl_DIGEST_MD5);
vtls/vtls.c:845:25: note: each undeclared identifier is reported only once for each function it appears in
Makefile:1871: recipe for target 'vtls/libcurl_la-vtls.lo' failed
make[6]: *** [vtls/libcurl_la-vtls.lo] Error 1
make[6]: Leaving directory '/home/lpnhan/LoRaSource/RAK831-LINKIT7688/wiswrt/15.05-rak-rc2/build_dir/target-mipsel_24kec+dsp_uClibc-'
Makefile:857: recipe for target 'install-recursive' failed
make[5]: *** [install-recursive] Error 1

you have an undeclared identifier on line 845:25 in file vtls/vtls.c

1 Like


I hope it’s the patch that’s so old as v15 of OpenWrt has been EOL for a long time and, as such, is known to be insecure. You should be working on 18.06 or master.

If already on master, I’m guessing the patch is outdated.

1 Like

Hi guys !
Thanks for your supporting !