Git Product home page Git Product logo

wolfssl / meta-wolfssl Goto Github PK

View Code? Open in Web Editor NEW
28.0 26.0 21.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 mqtt tpm2 wolfssl bblayers wolfssh wolfmqtt wolftpm

meta-wolfssl's Introduction

meta-wolfssl

This layer provides both Yocto and OpenEmbedded recipes for wolfSSL products and examples, as well as .bbappend files for configuring common open source packages and projects with support for wolfSSL.

This layer currently provides recipes for the following wolfSSL products:

These recipes have been tested using these versions of yocto:

  • Scarthgap (v5.0)
  • Nanbield (v4.3)
  • Langdale (v4.1)
  • Kirkstone (v4.0)
  • Hardknott (v3.3)
  • Gatesgarth (v3.2)
  • Dunfell (v3.1)
  • Zeus (v3.0)
  • Thud (v2.6)
  • Sumo (v2.5)

The wolfSSL library recipe is also included in the openembedded meta-networking layer, located here.

wolfSSL is a lightweight SSL/TLS library written in C and targeted at embedded and RTOS environments - primarily because of its small size, speed, and feature set. With common build sizes between 20-100kB, it is typically up to 20 times smaller than OpenSSL. Other feature highlights include support for TLS 1.3 and DTLS 1.2, full client and server support, abstraction layers for easy porting, CRL and OCSP support, key and cert generation, support for hardware cryptography modules, and much more. For a full feature list, please visit the wolfSSL product page.

Setup

Clone meta-wolfssl onto your machine:

git clone https://github.com/wolfSSL/meta-wolfssl.git

After installing your build's Yocto/OpenEmbedded components:

  1. Insert the 'meta-wolfssl' layer location into your build's bblayers.conf file, in the BBLAYERS section:

    BBLAYERS ?= " \
       ...
       /path/to/yocto/poky/meta-wolfssl \
       ...
    "
    
  2. Once the 'meta-wolfssl' layer has been added to your BBLAYERS collection, you have two options

    1. If you want to directly add wolfSSL recipes to your image recipe proceed to step 3.

    2. If you want to run bitbake wolf* on a particular recipe then it needs to be added to the IMAGE_INSTALL. This can be done by adding the following line to local.conf located in path/to/poky/build/conf.

      • For Dunfell and newer versions of Yocto:
      IMAGE_INSTALL:append = " wolfssl wolfssh wolfmqtt wolftpm "
      
      • For versions of Yocto older than Dunfell:
      IMAGE_INSTALL_append = " wolfssl wolfssh wolfmqtt wolftpm "
      
      $ bitbake wolfssl
      $ bitbake wolfssh
      $ bitbake wolfmqtt
      $ bitbake wolftpm
      $ bitbake wolfclu - This command would result in an error
      
  3. Edit your build's local.conf file to install the recipes you would like to include (ie: wolfssl, wolfssh, wolfmqtt, wolftpm)

    • For Dunfell and newer versions of Yocto
    IMAGE_INSTALL:append = " wolfssl wolfssh wolfmqtt wolftpm wolfclu "
    
    • For versions of Yocto older than Dunfell
    IMAGE_INSTALL_append = " wolfssl wolfssh wolfmqtt wolftpm wolfclu "
    

    This will add the necassary --enable-* options necassary to use your specific combination of recipes.

    If you did step 2.2 make sure you comment out recipes that you don't desire because leaving them uncommented may add unneed --enable-* options in your build, which could increase the size of the build and turn on uneeded features.

Once your image has been built, the default location for the wolfSSL library on your machine will be in the "/usr/lib" directory.

Note: If you need to install the development headers for these libraries, you will want to use the "-dev" variant of the package. For example, to install both the wolfSSL library and headers into your image, use "wolfssl-dev" along with IMAGE_INSTALL:append, ie:

  • For Dunfell and newer versions of Yocto
IMAGE_INSTALL:append = "wolfssl-dev"
  • For versions of Yocto older than Dunfell
IMAGE_INSTALL_append = "wolfssl-dev"

After building your image, you will find wolfSSL headers in the "/usr/include" directory and applications in "usr/bin".

Customizing the wolfSSL Library Configuration

Custom applications that use wolfSSL libraries may wish to enable or disable specific Autoconf/configure options when the library is compiled. This can be done through the use of an application-specific .bbappend file for the wolfSSL library.

For example, if your application wanted TLS 1.3 support compiled into the wolfSSL library, you would want to create a .bbappend file for wolfSSL in your application recipe/layer, ie:

wolfssl_%.bbappend

Inside this .bbappend file, you can use the EXTRA_OECONF variable to add additional configure options to the wolfSSL library build. For enabling TLS 1.3 this would be:

EXTRA_OECONF += "--enable-tls13"

Make sure this .bbappend file gets picked up when bitbake is compiling your application.

Building Other Applications with wolfSSL

Support for building many open source projects with wolfSSL is included in the various recipes-* directories. As an example, take a look at recipes_support/curl/wolfssl_%.bbappend. This .bbappend adds --enable-curl to the wolfSSL configuration line via EXTRA_OECONF. curl_%.bbappend sets up curl to use wolfSSL as its crypto and TLS provider. curl_7.82.0.bbappend is a .bbappend specifically for adding wolfSSL support to curl version 7.82.0.

In the curl project, wolfSSL is supported upstream, but other projects may not have native wolfSSL support. We've added wolfSSL support to many popular open source projects, and the patches can be found in our open source projects (OSP) repository. Several of these patches are used here. OpenSSH is one example. Under recipes-connectivity/openssh/files, you'll find a patch for OpenSSH 8.5p1 that adds wolfSSL support. One directory up in recipes-connectivity/openssh, you'll find openssh_8.5p1.bbappend which

  1. Adds the patch to the build.
  2. Removes OpenSSH's OpenSSL dependency.
  3. Adds the wolfSSL dependency.
  4. Adds --with-wolfssl to the configuration line.

Additionally, there's another wolfssl_%.bbappend which adds --enable-openssh to the wolfSSL configuration. This is the general pattern you'll see for other projects that depend on wolfSSL, too.

This layer offers wolfSSL support for the following open source projects:

Example Application Recipes

Several wolfSSL example application recipes are included in this layer. These include:

  • wolfCrypt test application (depends on wolfssl)
  • wolfCrypt benchmark application (depends on wolfssl)

The recipes for these applications are located at:

meta-wolfssl/recipes-examples/wolfcrypt/wolfcrypttest/wolfcrypttest.bb
meta-wolfssl/recipes-examples/wolfcrypt/wolfcryptbenchmark/wolfcryptbenchmark.bb

These can be compiled individually with bitbake:

$ bitbake wolfcrypttest
$ bitbake wolfcryptbenchmark

To install these applications into your image, you will need to edit your "build/conf/local.conf" file and add them to the "IMAGE_INSTALL" variable. For example, to install the wolfSSL, wolfSSH, and wolfMQTT libraries in addition to the wolfCrypt test and benchmark applications:

  • For Dunfell and newer versions of Yocto
IMAGE_INSTALL:append = " wolfssl wolfssh wolfmqtt wolftpm wolfclu wolfcrypttest wolfcryptbenchmark "
  • For versions of Yocto older than Dunfell
IMAGE_INSTALL_append = " wolfssl wolfssh wolfmqtt wolftpm wolfclu wolfcrypttest wolfcryptbenchmark "

When your image builds, these will be installed to the '/usr/bin' system directory. When inside your executing image, you can run them from the terminal.

Excluding Recipe from Build

Recipes can be excluded from your build by deleting their respective ".bb" file, or by deleting the recipe directory.

Wolfssl-py and Wolfcrypt-py Installation Requirements

To use the python wrapper for wolfSSL and wolfcrypt in a yocto build it will require python3, python3-cffi and wolfSSL are built on the target system.

If you are using older version of yocto (2.x) or (3.x), you will need to download and add the meta-oe and meta-python recipes from openembedded's meta-openembedded to the image.

It will be necassary then to make sure at minimum that the IMAGE_INSTALL:append looks as follows:

  • For Dunfell and newer versions of Yocto

    • if wolfSSL-py is desired on target system
    IMAGE_INSTALL:append = " wolfssl wolfssl-py python3 "
    
    • if wolfCrypt-py is desired on target system
    IMAGE_INSTALL:append = " wolfssl wolfcrypt-py python3 "
    
    • if wolfSSL-py and wolfCrypt-py are both desired on target system
    Image_INSTALL:append = " wolfssl wolfssl-py wolfcrypt-py python3 python3-cffi"
    
  • For versions of Yocto older than Dunfell

    • if wolfSSL-py is desired on target system
    IMAGE_INSTALL_append = " wolfssl wolfssl-py python3 "
    
    • if wolfCrypt-py is desired on target system
    IMAGE_INSTALL_append = " wolfssl wolfcrypt-py python3 "
    
    • if wolfSSL-py and wolfCrypt-py are both desired on target system
    Image_INSTALL_append = " wolfssl wolfssl-py wolfcrypt-py python3 python3-cffi"
    

Testing Wolfssl-py and Wolfcrypt-py

To test the python wrapper for wolfSSL and wolfcrypt in a yocto build it will require python3, python3-pytest, python3-cffi and wolfSSL are built on the target system.

It will be necassary then to make sure at minimum that the IMAGE_INSTALL:append looks as follows:

  • If wolfSSL-py and wolfCrypt-py are both desired on target system

    • For Dunfell and newer versions of Yocto
    IMAGE_INSTALL:append = " wolfssl wolfssl-py wolfcrypt-py wolf-py-tests python3 python3-cffi python3-pytest"
    
    • For versions of Yocto older than Dunfell
    IMAGE_INSTALL_append = " wolfssl wolfssl-py wolfcrypt-py wolf-py-tests python3 python3-cffi python3-pytest"
    

This places the tests in the root home directory

$ cd /home/root/wolf-py-tests/
$ ls wolfcrypt-py-test wolfssl-py-test

navigate into the desired test:

+ for wolfssl-py
```
$ cd /home/root/wolf-py-tests/wolfssl-py-test

```
+ for wolfcrypt-py
```
$ cd /home/root/wolf-py-tests/wolfcrypt-py-test
```

once in the desired test directory, begin the test by calling pytest

$ pytest

This should then result in a pass or fail for the desired suit.

If you are testing this with the core-image-minimal yocto build, make sure to add a DNS server to /etc/resolv.conf like such with root perms

echo "nameserver 8.8.8.8" >> /etc/resolv.conf

wolfProvider

To build wolfProvider view the instructions in this README

wolfEngine

To build wolfEngine view the instructions in this README

FIPS-READY

For building FIPS-Ready for wolfSSL view the instruction in this README

Commercial/FIPS Bundles

For building FIPS and/or commercial bundles of wolfSSL products view the instructions in this README.

To gain access to these bundles contact [email protected] to get a qoute.

Maintenance

Layer maintainers:

Website

https://www.wolfssl.com

License

wolfSSL is open source and dual licensed under both the GPLv2 and a standard commercial license. wolfSSL also offers commercial licensing for our FIPS-validated wolfCrypt module. For commercial license questions, please contact wolfSSL at [email protected]. For product support inquiries please contact [email protected].

meta-wolfssl's People

Contributors

bandi13 avatar cconlon avatar dgarske avatar douzzer avatar haydenroche5 avatar jacobbarthelmeh avatar kaleb-himes avatar lchristina26 avatar sparkidev avatar toddouska avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meta-wolfssl's Issues

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.

WolfProvider adds -DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER when building for FIPS

According to the WolfProvider README, https://github.com/wolfSSL/wolfProvider, -DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER options should be dropped when building from FIPS or FIPS-ready bundles. As the recipe doesn't have a condition on the WOLFSSL_TYPE it's always added and the WolfSSL fips/fips-ready recipes do not remove the added options (Trying to remove them would probably be worse than simply not adding them since it would be dependent on the ordering of the bbappends being parsed which from my experience is hard to predict).

Suggested Fix: Drop "-DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER" from the existing CPPFLAGS += and Add a CPPFLAGS += "-DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER" conditioned on the WOLFSSL_TYPE.

CPPFLAGS += " -DHAVE_AES_ECB -DWOLFSSL_AES_DIRECT -DWC_RSA_NO_PADDING -DWOLFSSL_PUBLIC_MP -DECC_MIN_KEY_SZ=192 -DHAVE_PUBLIC_FFDHE -DWOLFSSL_DH_EXTRA ${@'-DWOLFSSL_PSS_LONG_SALT -DWOLFSSL_PSS_SALT_LEN_DISCOVER' if d.getVar('WOLFSSL_TYPE') not in ("fips", "fips-ready") else ''}"

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

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.

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.

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.