Giter Site home page Giter Site logo

wolfssl / meta-wolfssl Goto Github PK

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

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

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

License: GNU General Public License v2.0

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

meta-wolfssl's Introduction

wolfSSL Embedded SSL/TLS Library

The wolfSSL embedded SSL library (formerly CyaSSL) is a lightweight SSL/TLS library written in ANSI C and targeted for embedded, RTOS, and resource-constrained environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating environments as well because of its royalty-free pricing and excellent cross platform support. wolfSSL supports industry standards up to the current TLS 1.3 and DTLS 1.3, is up to 20 times smaller than OpenSSL, and offers progressive ciphers such as ChaCha20, Curve25519, Blake2b and Post-Quantum TLS 1.3 groups. User benchmarking and feedback reports dramatically better performance when using wolfSSL over OpenSSL.

wolfSSL is powered by the wolfCrypt cryptography library. Two versions of wolfCrypt have been FIPS 140-2 validated (Certificate #2425 and certificate #3389). FIPS 140-3 validation is in progress. For additional information, visit the wolfCrypt FIPS FAQ or contact [email protected].

Why Choose wolfSSL?

There are many reasons to choose wolfSSL as your embedded, desktop, mobile, or enterprise SSL/TLS solution. Some of the top reasons include size (typical footprint sizes range from 20-100 kB), support for the newest standards (SSL 3.0, TLS 1.0, TLS 1.1, TLS 1.2, TLS 1.3, DTLS 1.0, DTLS 1.2, and DTLS 1.3), current and progressive cipher support (including stream ciphers), multi-platform, royalty free, and an OpenSSL compatibility API to ease porting into existing applications which have previously used the OpenSSL package. For a complete feature list, see Chapter 4 of the wolfSSL manual.

Notes, Please Read

Note 1

wolfSSL as of 3.6.6 no longer enables SSLv3 by default. wolfSSL also no longer supports static key cipher suites with PSK, RSA, or ECDH. This means if you plan to use TLS cipher suites you must enable DH (DH is on by default), or enable ECC (ECC is on by default), or you must enable static key cipher suites with one or more of the following defines:

WOLFSSL_STATIC_DH
WOLFSSL_STATIC_RSA
WOLFSSL_STATIC_PSK

Though static key cipher suites are deprecated and will be removed from future versions of TLS. They also lower your security by removing PFS.

When compiling ssl.c, wolfSSL will now issue a compiler error if no cipher suites are available. You can remove this error by defining WOLFSSL_ALLOW_NO_SUITES in the event that you desire that, i.e., you're not using TLS cipher suites.

Note 2

wolfSSL takes a different approach to certificate verification than OpenSSL does. The default policy for the client is to verify the server, this means that if you don't load CAs to verify the server you'll get a connect error, no signer error to confirm failure (-188).

If you want to mimic OpenSSL behavior of having SSL_connect succeed even if verifying the server fails and reducing security you can do this by calling:

wolfSSL_CTX_set_verify(ctx, WOLFSSL_VERIFY_NONE, NULL);

before calling wolfSSL_new();. Though it's not recommended.

Note 3

The enum values SHA, SHA256, SHA384, SHA512 are no longer available when wolfSSL is built with --enable-opensslextra (OPENSSL_EXTRA) or with the macro NO_OLD_SHA_NAMES. These names get mapped to the OpenSSL API for a single call hash function. Instead the name WC_SHA, WC_SHA256, WC_SHA384 and WC_SHA512 should be used for the enum name.

wolfSSL Release 5.7.0 (Mar 20, 2024)

Release 5.7.0 has been developed according to wolfSSL's development and QA process (see link below) and successfully passed the quality criteria. https://www.wolfssl.com/about/wolfssl-software-development-process-quality-assurance

NOTE: * --enable-heapmath is being deprecated and will be removed by end of 2024

NOTE: In future releases, --enable-des3 (which is disabled by default) will be insufficient in itself to enable DES3 in TLS cipher suites. A new option, --enable-des3-tls-suites, will need to be supplied in addition. This option should only be used in backward compatibility scenarios, as it is inherently insecure.

NOTE: This release switches the default ASN.1 parser to the new ASN template code. If the original ASN.1 code is preferred define WOLFSSL_ASN_ORIGINAL to use it. See PR #7199.

Vulnerabilities

  • [High] CVE-2024-0901 Potential denial of service and out of bounds read. Affects TLS 1.3 on the server side when accepting a connection from a malicious TLS 1.3 client. If using TLS 1.3 on the server side it is recommended to update the version of wolfSSL used. Fixed in this GitHub pull request #7099

  • [Med] CVE-2024-1545 Fault Injection vulnerability in RsaPrivateDecryption function that potentially allows an attacker that has access to the same system with a victims process to perform a Rowhammer fault injection. Thanks to Junkai Liang, Zhi Zhang, Xin Zhang, Qingni Shen for the report (Peking University, The University of Western Australia)." Fixed in this GitHub pull request #7167

  • [Med] Fault injection attack with EdDSA signature operations. This affects ed25519 sign operations where the system could be susceptible to Rowhammer attacks. Thanks to Junkai Liang, Zhi Zhang, Xin Zhang, Qingni Shen for the report (Peking University, The University of Western Australia). Fixed in this GitHub pull request #7212

New Feature Additions

  • Added --enable-experimental configure flag to gate out features that are currently experimental. Now liboqs, kyber, lms, xmss, and dual-alg-certs require the --enable-experimental flag.

POST QUANTUM SUPPORT ADDITIONS

  • Experimental framework for using wolfSSL’s XMSS implementation (PR 7161)
  • Experimental framework for using wolfSSL’s LMS implementation (PR 7283)
  • Experimental wolfSSL Kyber implementation and assembly optimizations, enabled with --enable-experimental --enable-kyber (PR 7318)
  • Experimental support for post quantum dual key/signature certificates. A few known issues and sanitizer checks are in progress with this feature. Enabled with the configure flags --enable-experimental --enable-dual-alg-certs (PR 7112)
  • CryptoCb support for PQC algorithms (PR 7110)

OTHER FEATURE ADDITIONS

  • The Linux kernel module now supports registration of AES-GCM, AES-XTS, AES-CBC, and AES-CFB with the kernel cryptosystem through the new --enable-linuxkm-lkcapi-register option, enabling automatic use of wolfCrypt implementations by the dm-crypt/luks and ESP subsystems. In particular, wolfCrypt AES-XTS with –enable-aesni is faster than the native kernel implementation.
  • CryptoCb hook to one-shot CMAC functions (PR 7059)
  • BER content streaming support for PKCS7_VerifySignedData and sign/encrypt operations (PR 6961 & 7184)
  • IoT-Safe SHA-384 and SHA-512 support (PR 7176)
  • I/O callbacks for content and output with PKCS7 bundle sign/encrypt to reduce peak memory usage (PR 7272)
  • Microchip PIC24 support and example project (PR 7151)
  • AutoSAR shim layer for RNG, SHA256, and AES (PR 7296)
  • wolfSSL_CertManagerUnloadIntermediateCerts API to clear intermediate certs added to certificate store (PR 7245)
  • Implement SSL_get_peer_signature_nid and SSL_get_peer_signature_type_nid (PR 7236)

Enhancements and Optimizations

  • Remove obsolete user-crypto functionality and Intel IPP support (PR 7097)
  • Support for RSA-PSS signatures with CRL use (PR 7119)
  • Enhancement for AES-GCM use with Xilsecure on Microblaze (PR 7051)
  • Support for crypto cb only build with ECC and NXP CAAM (PR 7269)
  • Improve liboqs integration adding locking and init/cleanup functions (PR 7026)
  • Prevent memory access before clientSession->serverRow and clientSession->serverIdx are sanitized (PR 7096)
  • Enhancements to reproducible build (PR 7267)
  • Update Arduino example TLS Client/Server and improve support for ESP32 (PR 7304 & 7177)
  • XC32 compiler version 4.x compatibility (PR 7128)
  • Porting for build on PlayStation 3 and 4 (PR 7072)
  • Improvements for Espressif use; SHA HW/SW selection and use on ESP32-C2/ESP8684, wolfSSL_NewThread() type, component cmake fix, and update TLS client example for ESP8266 (PR 7081, 7173, 7077, 7148, 7240)
  • Allow crypto callbacks with SHA-1 HW (PR 7087)
  • Update OpenSSH port to version 9.6p1(PR 7203)
  • ARM Thumb2 enhancements, AES-GCM support for GCM_SMALL, alignment fix on key, fix for ASM clobber list (PR 7291,7301,7221)
  • Expand heap hint support for static memory build with more x509 functions (PR 7136)
  • Improving ARMv8 ChaCha20 ASM (alignment) (PR 7182)
  • Unknown extension callback wolfSSL_CertManagerSetUnknownExtCallback added to CertManager (PR 7194)
  • Implement wc_rng_new_ex for use with devID’s with crypto callback (PR 7271)
  • Allow reading 0-RTT data after writing 0.5-RTT data (PR 7102)
  • Send alert on bad PSK binder error (PR 7235)
  • Enhancements to CMake build files for use with cross compiling (PR 7188)

Fixes

  • Fix for checking result of MAC verify when no AAD is used with AES-GCM and Xilinx Xilsecure (PR 7051)
  • Fix for Aria sign use (PR 7082)
  • Fix for invalid dh_ffdhe_test test case using Intel QuickAssist (PR 7085)
  • Fixes for TI AES and SHA on TM4C with HW acceleration and add full AES GCM and CCM support with TLS (PR 7018)
  • Fixes for STM32 PKA use with ECC (PR 7098)
  • Fixes for TLS 1.3 with crypto callbacks to offload KDF / HMAC operation (PR 7070)
  • Fix include path for FSP 3.5 on Renesas RA6M4 (PR 7101)
  • Siphash x64 asm fix for use with older compilers (PR 7299)
  • Fix for SGX build with SP (PR 7308)
  • Fix to Make it mandatory that the cookie is sent back in new ClientHello when seen in a HelloRetryRequest with (PR 7190)
  • Fix for wrap around behavior with BIO pairs (PR 7169)
  • OCSP fixes for parsing of response correctly when there was a revocation reason and returning correct error value with date checks (PR 7241 & 7255)
  • Fix build with NO_STDIO_FILESYSTEM and improve checks for XGETENV (PR 7150)
  • Fix for DTLS sequence number and cookie when downgrading DTLS version (PR 7214)
  • Fix for write_dup use with chacha-poly cipher suites (PR 7206)
  • Fix for multiple handshake messages in one record failing with OUT_OF_ORDER_E when downgrading from TLS 1.3 to TLS 1.2 (PR 7141)
  • Fix for AES ECB build with Thumb and alignment (PR 7094)
  • Fix for negotiate handshake until the end in wolfSSL_read/wolfSSL_write if hitting an edge case with want read/write (PR 7237)

For additional vulnerability information visit the vulnerability page at: https://www.wolfssl.com/docs/security-vulnerabilities/

See INSTALL file for build instructions. More info can be found on-line at: https://wolfssl.com/wolfSSL/Docs.html

Resources

wolfSSL Website

wolfSSL Wiki

FIPS 140-2/140-3 FAQ

wolfSSL Documentation

wolfSSL Manual

wolfSSL API Reference

wolfCrypt API Reference

TLS 1.3

wolfSSL Vulnerabilities

Additional wolfSSL Examples

Directory structure

<wolfssl_root>
├── certs   [Certificates used in tests and examples]
├── cmake   [Cmake build utilities]
├── debian  [Debian packaging files]
├── doc     [Documentation for wolfSSL (Doxygen)]
├── Docker  [Prebuilt Docker environments]
├── examples    [wolfSSL examples]
│   ├── asn1    [ASN.1 printing example]
│   ├── async   [Asynchronous Cryptography example]
│   ├── benchmark   [TLS benchmark example]
│   ├── client  [Client example]
│   ├── configs [Example build configurations]
│   ├── echoclient  [Echoclient example]
│   ├── echoserver  [Echoserver example]
│   ├── pem [Example for convert between PEM and DER]
│   ├── sctp    [Servers and clients that demonstrate wolfSSL's DTLS-SCTP support]
│   └── server  [Server example]
├── IDE     [Contains example projects for various development environments]
├── linuxkm [Linux Kernel Module implementation]
├── m4      [Autotools utilities]
├── mcapi   [wolfSSL MPLAB X Project Files]
├── mplabx  [wolfSSL MPLAB X Project Files]
├── mqx     [wolfSSL Freescale CodeWarrior Project Files]
├── rpm     [RPM packaging metadata]
├── RTOS
│   └── nuttx   [Port of wolfSSL for NuttX]
├── scripts [Testing scripts]
├── src     [wolfSSL source code]
├── sslSniffer  [wolfSSL sniffer can be used to passively sniff SSL traffic]
├── support [Contains the pkg-config file]
├── tests   [Unit and configuration testing]
├── testsuite   [Test application that orchestrates tests]
├── tirtos  [Port of wolfSSL for TI RTOS]
├── wolfcrypt   [The wolfCrypt component]
│   ├── benchmark   [Cryptography benchmarking application]
│   ├── src         [wolfCrypt source code]
│   │   └── port    [Supported hardware acceleration ports]
│   └── test        [Cryptography testing application]
├── wolfssl [Header files]
│   ├── openssl [Compatibility layer headers]
│   └── wolfcrypt   [Header files]
├── wrapper [wolfSSL language wrappers]
└── zephyr  [Port of wolfSSL for Zephyr RTOS]

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

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  avatar

meta-wolfssl's Issues

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

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.

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!

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?

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.