Giter Site home page Giter Site logo

wolfssl / meta-wolfssl Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 18.0 1.01 MB

wolfSSL layer for OpenEmbedded and Yocto, containing product recipes, examples, and bbappend files.

Home Page: https://www.wolfssl.com

License: GNU General Public License v2.0

BitBake 79.65% Shell 11.14% C 9.21%
yocto yocto-project openembedded bitbake poky security tls cryptography tls13 ssh

meta-wolfssl's Issues

Update wolfSSL version on Kirkstone Branch

The version is a few out of date. I've tried tweaking the recipe for 5.5.4 and that modification is trivial and seems to work. Upgrading to 5.6.0 is a different story the options.h.in seems to generate options.h in a different directory and the configure script seems to get hung up after that.

| configure: Generating user options header...
| checking for wolfssl/openssl/aes.h... no
| configure: error: Error including wolfssl/openssl/aes.h. Possible circular dependency introduced or missing include.

Unable to build curl with wolfSSL using PetaLinux 2018.3

I am in the process of evaluating the performance of an application that acts both as an TLS server and TLS client. I was able to successfully build and install wolfSSL into my target system and my application is able to use wolfSSL to provide secure server functionality, however the provided "curl_%.bbappend" file is not sufficient to build curl with wolfSSL support.

I know that that "curl_%.bbappend" file is being picked up by the PetaLinux build because by default, curl is built with gnuTLS support, but with the "curl_%.bbappend" file in the project, curl is built without gnuTLS support. The issue is that it doesn't link to wolfSSL and ends up being built without HTTPs support at all.

Is there a way I can amend "curl_%.bbappend" so that curl is properly built and linked with wolfSSL support using PetaLinux 2018.3?

error in curl_7.37.1.bbappend

Parsing recipes: 100% |#########################################################################################################| Time: 00:00:40
Parsing of 2269 .bb files complete (0 cached, 2269 parsed). 2835 targets, 152 skipped, 5 masked, 0 errors.
ERROR: No recipes available for:
/home/kpit/VAB-820_Linux_BSP_v4.1.3_20180208/Sourcecode/via-release-bsp/sources/meta-wolfssl/recipes-support/curl/curl_7.37.1.bbappend

Summary: There was 1 WARNING message shown.

Feature request: Simplify the layer.conf file so that ALL recipes are available.

In order to properly use your metadata as it is, I'd have to fork your repo to be able to drop in the other pieces of the metadata layer (Per your instructions in the readme, if I want things like the SSH and CLU functionality in my recipe...) - this is at the least annoying.

VERY un-Yocto-like there. It should be a pick list wherein I add it to the image buildout and you shouldn't care about that and do what you're doing. It means I have lurking mods in a git repository pull of your stuff that most probably don't want there- and that I have to modify things in the config just to get recipes to build.

Suggest a simpler construct there than what you have in there right now. From one of my metadata layers (meta-runit...):

`
BBFILES += "
${LAYERDIR}/recipes-//.bb
${LAYERDIR}/recipes-
//.bbappend
${LAYERDIR}//recipes-//.bb
${LAYERDIR}//recipes-//.bbappend
"

BBFILES += "${@' '.join('${LAYERDIR}/external/%s/recipes*//.bb' % layer
for layer in BBFILE_COLLECTIONS.split() if os.path.exists(os.path.join('${LAYERDIR}','external',layer)))}"
BBFILES += "${@' '.join('${LAYERDIR}/external/%s/recipes*//.bbappend' % layer
for layer in BBFILE_COLLECTIONS.split() if os.path.exists(os.path.join('${LAYERDIR}','external',layer)))}"

`

In this example, it catches all the content and leaves it up to the dev leveraging the layer to specify out the needed things in the layer, with RDEPENDS in the recipes themselves as needed- providing an "external" annex for .bbappends for things not in the core layer that lets the runit supervisor and init engine to be a first-class citizen in Yocto systems in the manner that Systemd support is.

Github Security Update Breaks Build

I'll preface this by saying I'm a yocto novice at best.

I tried adding wolfssl to my layers, cloning the meta-wolfssl repo to my poky directory, and adding wolfssl wolfcrypttest wolfcryptbenchmark to my IMAGE_INSTALL, but I ran into the new Github Security change.

ERROR: wolfssl-5.2.0-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1001/bus"; export SSH_AGENT_PID="2856"; export SSH_AUTH_SOCK="/run/user/1001/keyring/ssh";
...
git -c core.fsyncobjectfiles=0 ls-remote git://github.com/wolfssl/wolfssl.git  failed with exit code 128, output:
fatal: remote error: 
  The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

After touching each of the recipes to change git:// to https://, and adding a md5 checksum to the SRC_URI, I'm now running into an issue where the do_compile step of the wolfssl recipe is failing.

./autogen.sh: not found

Yocto Build fails for wolfssh and wolfmqtt

Hi,
I am trying to build the libraries as suggested in the instructions, however I am facing the following issue while building wolfssh and wolfmqtt recipes (wolfssl builds fine):

MACHINE=am65xx-evm bitbake wolfssh
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |############################################################################################| Time: 0:00:00
Loaded 4206 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################| Time: 0:00:12
Parsing of 3283 .bb files complete (3280 cached, 3 parsed). 4209 targets, 523 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/prateekkhatri/tisdk/sources/meta-processor-sdk/recipes-devtools/python/python3-native_3.5.2.bbappend
/home/prateekkhatri/tisdk/sources/meta-processor-sdk/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-linux"
MACHINE = "am65xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2018.10"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-processor-sdk = "HEAD:f33a37ac6baa8155302fa1faea99f1be5461779e"
meta-ros = "HEAD:e2566402ab108a19634354a934788109422cf409"
meta-arago-distro
meta-arago-extras = "HEAD:d4bc00af838df7a77f4ddbd3546755c5bad5b880"
meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5 = "HEAD:d8b531530fa42b59aa0a5b123d87a30d749cbcc4"
meta-virtualization = "HEAD:b704c689b67639214b9568a3d62e82df27e9434f"
meta-networking
meta-python
meta-oe
meta-gnome
meta-multimedia
meta-filesystems = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-ti = "HEAD:02e852b1a069463f937ea594e13fe5f88ce9b74d"
meta-linaro-toolchain
meta-optee = "HEAD:cd9ee776044a2d8943be4cb019f063271e9c684d"
meta-wolfssl = "master:f4842e35cf7d69563d0f5c985cd2a7638ba69c00"
meta = "HEAD:3638cb32ba9ba32b4d498fc31ab7fdf82f0d2495"

Initialising tasks: 100% |#######################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: wolfssh-1.3.0-r0 do_compile: oe_runmake failed
ERROR: wolfssh-1.3.0-r0 do_compile: Function failed: do_compile (log file is located at /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/temp/log.do_compile.17103)
ERROR: Logfile of failure stored in: /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/temp/log.do_compile.17103
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 12
| make -j17 all-am
| make[1]: warning: -jN forced in submake: disabling jobserver mode.
| make[1]: Entering directory '/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/build'
| ./aarch64-linux-libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfssh-1.3.0 -I./src -DBUILDING_WOLFSSH -DNDEBUG -DHAVE_CYASSL_OPTIONS -DSIZEOF_LONG=8 -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -DBUILDING_WOLFSSH -fvisibility=hidden -O2 -pthread -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0=/usr/src/debug/wolfssh/1.3.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot= -c -o src/src_libwolfssh_la-ssh.lo test -f 'src/ssh.c' || echo '../wolfssh-1.3.0/'src/ssh.c
| ./aarch64-linux-libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfssh-1.3.0 -I./src -DBUILDING_WOLFSSH -DNDEBUG -DHAVE_CYASSL_OPTIONS -DSIZEOF_LONG=8 -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -DBUILDING_WOLFSSH -fvisibility=hidden -O2 -pthread -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0=/usr/src/debug/wolfssh/1.3.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot= -c -o src/src_libwolfssh_la-internal.lo test -f 'src/internal.c' || echo '../wolfssh-1.3.0/'src/internal.c
| ./aarch64-linux-libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfssh-1.3.0 -I./src -DBUILDING_WOLFSSH -DNDEBUG -DHAVE_CYASSL_OPTIONS -DSIZEOF_LONG=8 -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -DBUILDING_WOLFSSH -fvisibility=hidden -O2 -pthread -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0=/usr/src/debug/wolfssh/1.3.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot= -c -o src/src_libwolfssh_la-io.lo test -f 'src/io.c' || echo '../wolfssh-1.3.0/'src/io.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfssh-1.3.0 -I./src -DNDEBUG -DHAVE_CYASSL_OPTIONS -DSIZEOF_LONG=8 -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -DNO_MAIN_DRIVER -fvisibility=hidden -O2 -pthread -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0=/usr/src/debug/wolfssh/1.3.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot= -c -o tests/tests_unit_test-unit.o test -f 'tests/unit.c' || echo '../wolfssh-1.3.0/'tests/unit.c
| aarch64-linux-libtool: compile: aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfssh-1.3.0 -I./src -DBUILDING_WOLFSSH -DNDEBUG -DHAVE_CYASSL_OPTIONS -DSIZEOF_LONG=8 -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -DBUILDING_WOLFSSH -fvisibility=hidden -O2 -pthread -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0=/usr/src/debug/wolfssh/1.3.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot= -c ../wolfssh-1.3.0/src/internal.c -fPIC -DPIC -o src/.libs/src_libwolfssh_la-internal.o
| aarch64-linux-libtool: compile: aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfssh-1.3.0 -I./src -DBUILDING_WOLFSSH -DNDEBUG -DHAVE_CYASSL_OPTIONS -DSIZEOF_LONG=8 -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -DBUILDING_WOLFSSH -fvisibility=hidden -O2 -pthread -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0=/usr/src/debug/wolfssh/1.3.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot= -c ../wolfssh-1.3.0/src/io.c -fPIC -DPIC -o src/.libs/src_libwolfssh_la-io.o
| aarch64-linux-libtool: compile: aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfssh-1.3.0 -I./src -DBUILDING_WOLFSSH -DNDEBUG -DHAVE_CYASSL_OPTIONS -DSIZEOF_LONG=8 -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -DBUILDING_WOLFSSH -fvisibility=hidden -O2 -pthread -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0=/usr/src/debug/wolfssh/1.3.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/recipe-sysroot= -c ../wolfssh-1.3.0/src/ssh.c -fPIC -DPIC -o src/.libs/src_libwolfssh_la-ssh.o
| In file included from ../wolfssh-1.3.0/tests/unit.c:25:0:
| ../wolfssh-1.3.0/wolfssh/internal.h:241:9: error: unknown type name ‘ecc_key’
| ecc_key ecc;
| ^~~~~~~
| Makefile:1251: recipe for target 'tests/tests_unit_test-unit.o' failed
| make[1]: *** [tests/tests_unit_test-unit.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| In file included from ../wolfssh-1.3.0/src/io.c:34:0:
| ../wolfssh-1.3.0/wolfssh/internal.h:241:9: error: unknown type name ‘ecc_key’
| ecc_key ecc;
| ^~~~~~~
| In file included from ../wolfssh-1.3.0/src/internal.c:33:0:
| ../wolfssh-1.3.0/wolfssh/internal.h:241:9: error: unknown type name ‘ecc_key’
| ecc_key ecc;
| ^~~~~~~
| In file included from ../wolfssh-1.3.0/src/ssh.c:32:0:
| ../wolfssh-1.3.0/wolfssh/internal.h:241:9: error: unknown type name ‘ecc_key’
| ecc_key ecc;
| ^~~~~~~
| ../wolfssh-1.3.0/src/internal.c: In function ‘wolfSSH_ProcessBuffer’:
| ../wolfssh-1.3.0/src/internal.c:577:21: error: field ‘ecc’ has incomplete type
| ecc_key ecc;
| ^~~
| ../wolfssh-1.3.0/src/internal.c:591:17: warning: implicit declaration of function ‘wc_ecc_init_ex’; did you mean ‘wc_SignCert_ex’? [-Wimplicit-function-declaration]
| if (wc_ecc_init_ex(&key.ecc, ctx->heap, INVALID_DEVID) != 0)
| ^~~~~~~~~~~~~~
| wc_SignCert_ex
| ../wolfssh-1.3.0/src/internal.c:591:17: warning: nested extern declaration of ‘wc_ecc_init_ex’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:594:19: warning: implicit declaration of function ‘wc_EccPrivateKeyDecode’; did you mean ‘wc_RsaPrivateKeyDecode’? [-Wimplicit-function-declaration]
| ret = wc_EccPrivateKeyDecode(ctx->privateKey, &scratch,
| ^~~~~~~~~~~~~~~~~~~~~~
| wc_RsaPrivateKeyDecode
| ../wolfssh-1.3.0/src/internal.c:594:19: warning: nested extern declaration of ‘wc_EccPrivateKeyDecode’ [-Wnested-externs]
| Makefile:1153: recipe for target 'src/src_libwolfssh_la-io.lo' failed
| make[1]: *** [src/src_libwolfssh_la-io.lo] Error 1
| Makefile:1125: recipe for target 'src/src_libwolfssh_la-ssh.lo' failed
| make[1]: *** [src/src_libwolfssh_la-ssh.lo] Error 1
| ../wolfssh-1.3.0/src/internal.c:597:31: warning: implicit declaration of function ‘wc_ecc_get_curve_id’ [-Wimplicit-function-declaration]
| int curveId = wc_ecc_get_curve_id(key.ecc.idx);
| ^~~~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:597:31: warning: nested extern declaration of ‘wc_ecc_get_curve_id’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:598:32: error: ‘ECC_SECP256R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1_OID’?
| if (curveId == ECC_SECP256R1 ||
| ^~~~~~~~~~~~~
| ECC_SECP256R1_OID
| ../wolfssh-1.3.0/src/internal.c:598:32: note: each undeclared identifier is reported only once for each function it appears in
| ../wolfssh-1.3.0/src/internal.c:599:32: error: ‘ECC_SECP384R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1’?
| curveId == ECC_SECP384R1 ||
| ^~~~~~~~~~~~~
| ECC_SECP256R1
| ../wolfssh-1.3.0/src/internal.c:600:32: error: ‘ECC_SECP521R1’ undeclared (first use in this function); did you mean ‘ECC_SECP384R1’?
| curveId == ECC_SECP521R1) {
| ^~~~~~~~~~~~~
| ECC_SECP384R1
| ../wolfssh-1.3.0/src/internal.c:607:13: warning: implicit declaration of function ‘wc_ecc_free’; did you mean ‘wc_HmacFree’? [-Wimplicit-function-declaration]
| wc_ecc_free(&key.ecc);
| ^~~~~~~~~~~
| wc_HmacFree
| ../wolfssh-1.3.0/src/internal.c:607:13: warning: nested extern declaration of ‘wc_ecc_free’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c: In function ‘wcPrimeForId’:
| ../wolfssh-1.3.0/src/internal.c:1714:20: error: ‘ECC_SECP256R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1_OID’?
| return ECC_SECP256R1;
| ^~~~~~~~~~~~~
| ECC_SECP256R1_OID
| ../wolfssh-1.3.0/src/internal.c:1717:20: error: ‘ECC_SECP384R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1’?
| return ECC_SECP384R1;
| ^~~~~~~~~~~~~
| ECC_SECP256R1
| ../wolfssh-1.3.0/src/internal.c:1720:20: error: ‘ECC_SECP521R1’ undeclared (first use in this function); did you mean ‘ECC_SECP384R1’?
| return ECC_SECP521R1;
| ^~~~~~~~~~~~~
| ECC_SECP384R1
| ../wolfssh-1.3.0/src/internal.c:1722:20: error: ‘ECC_CURVE_INVALID’ undeclared (first use in this function)
| return ECC_CURVE_INVALID;
| ^~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c: In function ‘DoKexInit’:
| ../wolfssh-1.3.0/src/internal.c:1821:22: error: ‘ECC_SECP256R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1_OID’?
| case ECC_SECP256R1:
| ^~~~~~~~~~~~~
| ECC_SECP256R1_OID
| ../wolfssh-1.3.0/src/internal.c:1825:22: error: ‘ECC_SECP384R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1’?
| case ECC_SECP384R1:
| ^~~~~~~~~~~~~
| ECC_SECP256R1
| ../wolfssh-1.3.0/src/internal.c:1829:22: error: ‘ECC_SECP521R1’ undeclared (first use in this function); did you mean ‘ECC_SECP384R1’?
| case ECC_SECP521R1:
| ^~~~~~~~~~~~~
| ECC_SECP384R1
| ../wolfssh-1.3.0/src/internal.c: In function ‘DoKexDhReply’:
| ../wolfssh-1.3.0/src/internal.c:2189:25: error: field ‘key’ has incomplete type
| ecc_key key;
| ^~~
| ../wolfssh-1.3.0/src/internal.c:2394:23: warning: implicit declaration of function ‘wc_ecc_import_x963’ [-Wimplicit-function-declaration]
| ret = wc_ecc_import_x963(pubKey, pubKeySz,
| ^~~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:2394:23: warning: nested extern declaration of ‘wc_ecc_import_x963’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:2413:25: error: storage size of ‘key’ isn’t known
| ecc_key key;
| ^~~
| ../wolfssh-1.3.0/src/internal.c:2414:23: warning: implicit declaration of function ‘wc_ecc_init’; did you mean ‘wc_HmacInit’? [-Wimplicit-function-declaration]
| ret = wc_ecc_init(&key);
| ^~~~~~~~~~~
| wc_HmacInit
| ../wolfssh-1.3.0/src/internal.c:2414:23: warning: nested extern declaration of ‘wc_ecc_init’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:2418:27: warning: implicit declaration of function ‘wc_ecc_shared_secret’ [-Wimplicit-function-declaration]
| ret = wc_ecc_shared_secret(&ssh->handshake->privKey.ecc,
| ^~~~~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:2418:27: warning: nested extern declaration of ‘wc_ecc_shared_secret’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:2413:25: warning: unused variable ‘key’ [-Wunused-variable]
| ecc_key key;
| ^~~
| ../wolfssh-1.3.0/src/internal.c: In function ‘DoUserAuthRequestEcc’:
| ../wolfssh-1.3.0/src/internal.c:3100:13: error: storage size of ‘key’ isn’t known
| ecc_key key;
| ^~~
| ../wolfssh-1.3.0/src/internal.c:3213:15: warning: implicit declaration of function ‘wc_ecc_verify_hash_ex’ [-Wimplicit-function-declaration]
| ret = wc_ecc_verify_hash_ex(&r, &s, digest, digestSz, &status, &key);
| ^~~~~~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:3213:15: warning: nested extern declaration of ‘wc_ecc_verify_hash_ex’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:3100:13: warning: unused variable ‘key’ [-Wunused-variable]
| ecc_key key;
| ^~~
| ../wolfssh-1.3.0/src/internal.c: In function ‘CreateMac’:
| ../wolfssh-1.3.0/src/internal.c:4297:29: error: ‘WC_SHA_DIGEST_SIZE’ undeclared (first use in this function); did you mean ‘SHA_DIGEST_SIZE’?
| byte digest[WC_SHA_DIGEST_SIZE];
| ^~~~~~~~~~~~~~~~~~
| SHA_DIGEST_SIZE
| ../wolfssh-1.3.0/src/internal.c:4299:44: error: ‘WC_SHA’ undeclared (first use in this function); did you mean ‘WC_RNG’?
| ret = wc_HmacSetKey(&hmac, WC_SHA,
| ^~~~~~
| WC_RNG
| ../wolfssh-1.3.0/src/internal.c:4297:22: warning: unused variable ‘digest’ [-Wunused-variable]
| byte digest[WC_SHA_DIGEST_SIZE];
| ^~~~~~
| ../wolfssh-1.3.0/src/internal.c:4331:44: error: ‘WC_SHA256’ undeclared (first use in this function); did you mean ‘WC_SHA’?
| ret = wc_HmacSetKey(&hmac, WC_SHA256,
| ^~~~~~~~~
| WC_SHA
| ../wolfssh-1.3.0/src/internal.c: In function ‘VerifyMac’:
| ../wolfssh-1.3.0/src/internal.c:4376:40: error: ‘WC_SHA’ undeclared (first use in this function); did you mean ‘WC_RNG’?
| ret = wc_HmacSetKey(&hmac, WC_SHA,
| ^~~~~~
| WC_RNG
| ../wolfssh-1.3.0/src/internal.c:4389:40: error: ‘WC_SHA256’ undeclared (first use in this function); did you mean ‘WC_SHA’?
| ret = wc_HmacSetKey(&hmac, WC_SHA256,
| ^~~~~~~~~
| WC_SHA
| ../wolfssh-1.3.0/src/internal.c: In function ‘SendKexInit’:
| ../wolfssh-1.3.0/src/internal.c:4884:18: error: ‘ECC_SECP256R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1_OID’?
| case ECC_SECP256R1:
| ^~~~~~~~~~~~~
| ECC_SECP256R1_OID
| ../wolfssh-1.3.0/src/internal.c:4888:18: error: ‘ECC_SECP384R1’ undeclared (first use in this function); did you mean ‘ECC_SECP256R1’?
| case ECC_SECP384R1:
| ^~~~~~~~~~~~~
| ECC_SECP256R1
| ../wolfssh-1.3.0/src/internal.c:4892:18: error: ‘ECC_SECP521R1’ undeclared (first use in this function); did you mean ‘ECC_SECP384R1’?
| case ECC_SECP521R1:
| ^~~~~~~~~~~~~
| ECC_SECP384R1
| ../wolfssh-1.3.0/src/internal.c: In function ‘SendKexDhReply’:
| ../wolfssh-1.3.0/src/internal.c:5004:25: error: field ‘key’ has incomplete type
| ecc_key key;
| ^~~
| ../wolfssh-1.3.0/src/internal.c:5172:23: warning: implicit declaration of function ‘wc_ecc_export_x963’ [-Wimplicit-function-declaration]
| ret = wc_ecc_export_x963(&sigKeyBlock.sk.ecc.key,
| ^~~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5172:23: warning: nested extern declaration of ‘wc_ecc_export_x963’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:5337:25: error: storage size of ‘pubKey’ isn’t known
| ecc_key pubKey;
| ^~~~~~
| ../wolfssh-1.3.0/src/internal.c:5338:25: error: storage size of ‘privKey’ isn’t known
| ecc_key privKey;
| ^~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5341:32: error: ‘ECC_CURVE_INVALID’ undeclared (first use in this function)
| if (primeId == ECC_CURVE_INVALID)
| ^~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5352:27: warning: implicit declaration of function ‘wc_ecc_import_x963_ex’ [-Wimplicit-function-declaration]
| ret = wc_ecc_import_x963_ex(ssh->handshake->e,
| ^~~~~~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5352:27: warning: nested extern declaration of ‘wc_ecc_import_x963_ex’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:5357:27: warning: implicit declaration of function ‘wc_ecc_make_key_ex’; did you mean ‘wc_MakeCert_ex’? [-Wimplicit-function-declaration]
| ret = wc_ecc_make_key_ex(ssh->rng,
| ^~~~~~~~~~~~~~~~~~
| wc_MakeCert_ex
| ../wolfssh-1.3.0/src/internal.c:5357:27: warning: nested extern declaration of ‘wc_ecc_make_key_ex’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:5358:42: warning: implicit declaration of function ‘wc_ecc_get_curve_size_from_id’ [-Wimplicit-function-declaration]
| wc_ecc_get_curve_size_from_id(primeId),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5358:42: warning: nested extern declaration of ‘wc_ecc_get_curve_size_from_id’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:5338:25: warning: unused variable ‘privKey’ [-Wunused-variable]
| ecc_key privKey;
| ^~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5337:25: warning: unused variable ‘pubKey’ [-Wunused-variable]
| ecc_key pubKey;
| ^~~~~~
| ../wolfssh-1.3.0/src/internal.c:5463:23: warning: implicit declaration of function ‘wc_ecc_sign_hash’ [-Wimplicit-function-declaration]
| ret = wc_ecc_sign_hash(digest, wc_HashGetDigestSize(sigHashId),
| ^~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5463:23: warning: nested extern declaration of ‘wc_ecc_sign_hash’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c:5478:27: warning: implicit declaration of function ‘wc_ecc_sig_to_rs’ [-Wimplicit-function-declaration]
| ret = wc_ecc_sig_to_rs(sig, sigSz, r, &rSz, s, &sSz);
| ^~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c:5478:27: warning: nested extern declaration of ‘wc_ecc_sig_to_rs’ [-Wnested-externs]
| ../wolfssh-1.3.0/src/internal.c: In function ‘SendKexDhInit’:
| ../wolfssh-1.3.0/src/internal.c:5836:32: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
| ecc_key* privKey = &ssh->handshake->privKey.ecc;
| ^
| ../wolfssh-1.3.0/src/internal.c:5839:28: error: ‘ECC_CURVE_INVALID’ undeclared (first use in this function)
| if (primeId == ECC_CURVE_INVALID)
| ^~~~~~~~~~~~~~~~~
| ../wolfssh-1.3.0/src/internal.c: In function ‘wcPrimeForId’:
| ../wolfssh-1.3.0/src/internal.c:1724:1: warning: control reaches end of non-void function [-Wreturn-type]
| }
| ^
| Makefile:1132: recipe for target 'src/src_libwolfssh_la-internal.lo' failed
| make[1]: *** [src/src_libwolfssh_la-internal.lo] Error 1
| make[1]: Leaving directory '/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/build'
| Makefile:786: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/temp/run.do_compile.17103:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfssh/1.3.0-r0/temp/log.do_compile.17103)
ERROR: Task (/home/prateekkhatri/tisdk/sources/meta-wolfssl/recipes-wolfssl/wolfssh/wolfssh_1.3.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 681 tasks of which 680 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/prateekkhatri/tisdk/sources/meta-wolfssl/recipes-wolfssl/wolfssh/wolfssh_1.3.0.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

And while trying wolfmqtt:

MACHINE=am65xx-evm bitbake wolfmqtt
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
Loading cache: 100% |############################################################################################| Time: 0:00:00
Loaded 4206 entries from dependency cache.
Parsing recipes: 100% |##########################################################################################| Time: 0:00:12
Parsing of 3283 .bb files complete (3280 cached, 3 parsed). 4209 targets, 523 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/prateekkhatri/tisdk/sources/meta-processor-sdk/recipes-devtools/python/python3-native_3.5.2.bbappend
/home/prateekkhatri/tisdk/sources/meta-processor-sdk/recipes-ti/devtools/ti-cgt-arm-native_16.9.2.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-18.04"
TARGET_SYS = "aarch64-linux"
MACHINE = "am65xx-evm"
DISTRO = "arago"
DISTRO_VERSION = "2018.10"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta-processor-sdk = "HEAD:f33a37ac6baa8155302fa1faea99f1be5461779e"
meta-ros = "HEAD:e2566402ab108a19634354a934788109422cf409"
meta-arago-distro
meta-arago-extras = "HEAD:d4bc00af838df7a77f4ddbd3546755c5bad5b880"
meta-browser = "HEAD:26d50665e2f7223c5f4ad7481a8d2431e7cb55fb"
meta-qt5 = "HEAD:d8b531530fa42b59aa0a5b123d87a30d749cbcc4"
meta-virtualization = "HEAD:b704c689b67639214b9568a3d62e82df27e9434f"
meta-networking
meta-python
meta-oe
meta-gnome
meta-multimedia
meta-filesystems = "HEAD:eae996301d9c097bcbeb8046f08041dc82bb62f8"
meta-ti = "HEAD:02e852b1a069463f937ea594e13fe5f88ce9b74d"
meta-linaro-toolchain
meta-optee = "HEAD:cd9ee776044a2d8943be4cb019f063271e9c684d"
meta-wolfssl = "master:f4842e35cf7d69563d0f5c985cd2a7638ba69c00"
meta = "HEAD:3638cb32ba9ba32b4d498fc31ab7fdf82f0d2495"

Initialising tasks: 100% |#######################################################################################| Time: 0:00:01
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: wolfmqtt-1.2.0-r0 do_compile: oe_runmake failed
ERROR: wolfmqtt-1.2.0-r0 do_compile: Function failed: do_compile (log file is located at /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/temp/log.do_compile.17264)
ERROR: Logfile of failure stored in: /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/temp/log.do_compile.17264
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-64', 'arm-common', 'arm-64', 'common-linux', 'common-glibc', 'aarch64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 12
| make -j17 all-am
| make[1]: warning: -jN forced in submake: disabling jobserver mode.
| make[1]: Entering directory '/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/build'
| ./aarch64-linux-libtool --tag=CC --mode=compile aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -DBUILDING_WOLFMQTT -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -DBUILDING_WOLFMQTT -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o src/src_libwolfmqtt_la-mqtt_socket.lo test -f 'src/mqtt_socket.c' || echo '../wolfmqtt-1.2.0/'src/mqtt_socket.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/examples_mqttclient_mqttclient-mqttexample.o test -f 'examples/mqttexample.c' || echo '../wolfmqtt-1.2.0/'examples/mqttexample.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/examples_nbclient_nbclient-mqttexample.o test -f 'examples/mqttexample.c' || echo '../wolfmqtt-1.2.0/'examples/mqttexample.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/examples_firmware_fwpush-mqttexample.o test -f 'examples/mqttexample.c' || echo '../wolfmqtt-1.2.0/'examples/mqttexample.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/examples_firmware_fwclient-mqttexample.o test -f 'examples/mqttexample.c' || echo '../wolfmqtt-1.2.0/'examples/mqttexample.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/examples_azure_azureiothub-mqttexample.o test -f 'examples/mqttexample.c' || echo '../wolfmqtt-1.2.0/'examples/mqttexample.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/aws/examples_aws_awsiot-awsiot.o test -f 'examples/aws/awsiot.c' || echo '../wolfmqtt-1.2.0/'examples/aws/awsiot.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/examples_aws_awsiot-mqttexample.o test -f 'examples/mqttexample.c' || echo '../wolfmqtt-1.2.0/'examples/mqttexample.c
| aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -I../wolfmqtt-1.2.0/examples -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c -o examples/examples_wiot_wiot-mqttexample.o test -f 'examples/mqttexample.c' || echo '../wolfmqtt-1.2.0/'examples/mqttexample.c
| aarch64-linux-libtool: compile: aarch64-linux-gnu-gcc --sysroot=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../wolfmqtt-1.2.0 -I./src -DBUILDING_WOLFMQTT -fvisibility=hidden -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -fvisibility=hidden -DBUILDING_WOLFMQTT -O2 -DNDEBUG -pthread -DSIZEOF_LONG=8 -DENABLE_MQTT_TLS -DWOLFMQTT_DISCONNECT_CB -isystem/home/prateekkhatri/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/aarch64-linux-gnu/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0=/usr/src/debug/wolfmqtt/1.2.0-r0 -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/recipe-sysroot= -Wno-pragmas -Wall -Wno-strict-aliasing -Wextra -Wunknown-pragmas --param=ssp-buffer-size=1 -Waddress -Warray-bounds -Wbad-function-cast -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat-security -Wformat=2 -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wnormalized=id -Woverride-init -Wpointer-arith -Wpointer-sign -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-overflow=1 -Wswitch-enum -Wundef -Wunused -Wunused-result -Wunused-variable -Wwrite-strings -fwrapv -c ../wolfmqtt-1.2.0/src/mqtt_socket.c -fPIC -DPIC -o src/.libs/src_libwolfmqtt_la-mqtt_socket.o
| ../wolfmqtt-1.2.0/examples/mqttexample.c: In function ‘mqtt_tls_cb’:
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: note: each undeclared identifier is reported only once for each function it appears in
| ../wolfmqtt-1.2.0/examples/mqttexample.c: In function ‘mqtt_tls_cb’:
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: note: each undeclared identifier is reported only once for each function it appears in
| ../wolfmqtt-1.2.0/examples/mqttexample.c:388:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| ../wolfmqtt-1.2.0/examples/mqttexample.c:392:14: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/examples/mqttexample.c:388:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| ../wolfmqtt-1.2.0/examples/mqttexample.c: In function ‘mqtt_tls_cb’:
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: note: each undeclared identifier is reported only once for each function it appears in
| Makefile:1425: recipe for target 'examples/examples_firmware_fwpush-mqttexample.o' failed
| make[1]: *** [examples/examples_firmware_fwpush-mqttexample.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| ../wolfmqtt-1.2.0/examples/mqttexample.c:392:14: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/examples/mqttexample.c:388:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| Makefile:1383: recipe for target 'examples/examples_firmware_fwclient-mqttexample.o' failed
| make[1]: *** [examples/examples_firmware_fwclient-mqttexample.o] Error 1
| ../wolfmqtt-1.2.0/examples/mqttexample.c:392:14: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/examples/mqttexample.c: In function ‘mqtt_tls_cb’:
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: note: each undeclared identifier is reported only once for each function it appears in
| Makefile:1299: recipe for target 'examples/examples_aws_awsiot-mqttexample.o' failed
| make[1]: *** [examples/examples_aws_awsiot-mqttexample.o] Error 1
| ../wolfmqtt-1.2.0/examples/mqttexample.c:388:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| ../wolfmqtt-1.2.0/examples/mqttexample.c:392:14: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/examples/mqttexample.c: In function ‘mqtt_tls_cb’:
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: note: each undeclared identifier is reported only once for each function it appears in
| Makefile:1341: recipe for target 'examples/examples_azure_azureiothub-mqttexample.o' failed
| make[1]: *** [examples/examples_azure_azureiothub-mqttexample.o] Error 1
| ../wolfmqtt-1.2.0/examples/mqttexample.c: In function ‘mqtt_tls_cb’:
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: note: each undeclared identifier is reported only once for each function it appears in
| ../wolfmqtt-1.2.0/examples/aws/awsiot.c: In function ‘mqtt_aws_tls_cb’:
| ../wolfmqtt-1.2.0/examples/aws/awsiot.c:200:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/aws/awsiot.c:200:14: note: each undeclared identifier is reported only once for each function it appears in
| ../wolfmqtt-1.2.0/examples/mqttexample.c:388:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| ../wolfmqtt-1.2.0/examples/mqttexample.c:388:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| ../wolfmqtt-1.2.0/examples/mqttexample.c: In function ‘mqtt_tls_cb’:
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: error: ‘WOLFSSL_FAILURE’ undeclared (first use in this function); did you mean ‘SSL_FAILURE’?
| int rc = WOLFSSL_FAILURE;
| ^~~~~~~~~~~~~~~
| SSL_FAILURE
| ../wolfmqtt-1.2.0/examples/mqttexample.c:384:14: note: each undeclared identifier is reported only once for each function it appears in
| ../wolfmqtt-1.2.0/examples/aws/awsiot.c:204:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| ../wolfmqtt-1.2.0/examples/mqttexample.c:392:14: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/examples/mqttexample.c:392:14: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/examples/mqttexample.c:388:49: error: ‘WOLFSSL_VERIFY_PEER’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_PEER’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_PEER,
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_PEER
| Makefile:1509: recipe for target 'examples/examples_nbclient_nbclient-mqttexample.o' failed
| make[1]: *** [examples/examples_nbclient_nbclient-mqttexample.o] Error 1
| ../wolfmqtt-1.2.0/examples/aws/awsiot.c:209:59: error: ‘WOLFSSL_FILETYPE_PEM’ undeclared (first use in this function); did you mean ‘SSL_FILETYPE_PEM’?
| (const byte*)root_ca, (long)XSTRLEN(root_ca), WOLFSSL_FILETYPE_PEM);
| ^~~~~~~~~~~~~~~~~~~~
| SSL_FILETYPE_PEM
| Makefile:1467: recipe for target 'examples/examples_mqttclient_mqttclient-mqttexample.o' failed
| make[1]: *** [examples/examples_mqttclient_mqttclient-mqttexample.o] Error 1
| ../wolfmqtt-1.2.0/examples/mqttexample.c:392:14: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/examples/aws/awsiot.c:212:19: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| if (rc == WOLFSSL_SUCCESS)
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| Makefile:1593: recipe for target 'examples/examples_wiot_wiot-mqttexample.o' failed
| make[1]: *** [examples/examples_wiot_wiot-mqttexample.o] Error 1
| ../wolfmqtt-1.2.0/src/mqtt_socket.c: In function ‘MqttSocket_Connect’:
| ../wolfmqtt-1.2.0/src/mqtt_socket.c:357:18: error: ‘WOLFSSL_SUCCESS’ undeclared (first use in this function); did you mean ‘SSL_SUCCESS’?
| rc = WOLFSSL_SUCCESS;
| ^~~~~~~~~~~~~~~
| SSL_SUCCESS
| ../wolfmqtt-1.2.0/src/mqtt_socket.c:357:18: note: each undeclared identifier is reported only once for each function it appears in
| ../wolfmqtt-1.2.0/src/mqtt_socket.c:375:53: error: ‘WOLFSSL_VERIFY_NONE’ undeclared (first use in this function); did you mean ‘SSL_VERIFY_NONE’?
| wolfSSL_CTX_set_verify(client->tls.ctx, WOLFSSL_VERIFY_NONE, 0);
| ^~~~~~~~~~~~~~~~~~~
| SSL_VERIFY_NONE
| Makefile:1271: recipe for target 'examples/aws/examples_aws_awsiot-awsiot.o' failed
| make[1]: *** [examples/aws/examples_aws_awsiot-awsiot.o] Error 1
| ../wolfmqtt-1.2.0/src/mqtt_socket.c:424:28: error: ‘WOLFSSL_ERROR_WANT_READ’ undeclared (first use in this function); did you mean ‘SSL_ERROR_WANT_READ’?
| if ((errnum == WOLFSSL_ERROR_WANT_READ) ||
| ^~~~~~~~~~~~~~~~~~~~~~~
| SSL_ERROR_WANT_READ
| ../wolfmqtt-1.2.0/src/mqtt_socket.c:425:28: error: ‘WOLFSSL_ERROR_WANT_WRITE’ undeclared (first use in this function); did you mean ‘WOLFSSL_ERROR_WANT_READ’?
| (errnum == WOLFSSL_ERROR_WANT_WRITE)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
| WOLFSSL_ERROR_WANT_READ
| Makefile:1264: recipe for target 'src/src_libwolfmqtt_la-mqtt_socket.lo' failed
| make[1]: *** [src/src_libwolfmqtt_la-mqtt_socket.lo] Error 1
| make[1]: Leaving directory '/home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/build'
| Makefile:855: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/temp/run.do_compile.17264:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/prateekkhatri/tisdk/build/arago-tmp-external-linaro-toolchain/work/aarch64-linux/wolfmqtt/1.2.0-r0/temp/log.do_compile.17264)
ERROR: Task (/home/prateekkhatri/tisdk/sources/meta-wolfssl/recipes-wolfssl/wolfmqtt/wolfmqtt_1.2.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 681 tasks of which 680 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/prateekkhatri/tisdk/sources/meta-wolfssl/recipes-wolfssl/wolfmqtt/wolfmqtt_1.2.0.bb:do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Please adivse.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.