I am trying to integrate SWUpdate framework with Hawkbit. I am facing some issue after changing configuration to include Suricatta in SWUpdate. Steps I have done:
- Enabled Suricatta in menuconfig.
- Ran
make
command. No issues here - Bitbaked again the image recipe which includes swupdate-image.inc which installs swupdate package. Now I am getting below errors:
swupdate-image.inc is included in meta-swupdate and it includes swupdate, swupdate-client, swupdate-progress, and swupdate-tools-hawkbit
ERROR: swupdate-2021.04-r0 do_compile: oe_runmake failed ERROR: swupdate-2021.04-r0 do_compile: Execution of '[....]/swupdate/2021.04-r0/temp/run.do_compile.18762' failed with exit code 1
It mainly complains about json.h
and curl.h
files.
Complete log file is attached.
Also I am getting error for lua5.3:
Package lua5.3 was not found in the pkg-config search path. | Perhaps you should add the directory containing `lua5.3.pc' | to the PKG_CONFIG_PATH environment variable | No package 'lua5.3' found
I have not enabled "lua" in SWUpdate General Configurations.
The /usr/include has both json.h and curl.h files. usr/include
I have installed all the libraries mentioned in https://sbabic.github.io/swupdate/swupdate.html#configuration-and-build . Still I am having same issues.
P.S: The initial build with default config(no suricatta) had no issues. I am on Ubuntu 20.04 machine. I am using Yocto Project as build system. I tried some of the solutions from internet but nothing worked for me
Can someone please let me know how to resolve this issues?