-
Notifications
You must be signed in to change notification settings - Fork 30
Description
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 dependenciesBuild 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.lotest -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.lotest -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.lotest -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.otest -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 dependenciesBuild 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.lotest -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.otest -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.otest -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.otest -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.otest -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.otest -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.otest -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.otest -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.otest -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!