Options to compile WolfSSL/cyaSSL
I'm compiling WolfSSL (formerly cyaSSL) for am335x based board. I am unable to configure the package (which uses autoconf based configuration)
I am using the following command line for the configuration
./configure --host=armel-none CC=arm-
as mentioned in https:/
checking for armel-none-gcc... arm-none-eabi-gcc
checking whether the C compiler works... no
configure: error: in `/home/
configure: error: C compiler cannot create executables
See `config.log' for more details
contents of config.log:
$ ./configure --host=armel-none CC=arm-
## --------- ##
## Platform. ##
## --------- ##
hostname = Ab-PC
uname -m = x86_64
uname -r = 4.15.0-72-generic
uname -s = Linux
uname -v = #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/gcc-
PATH: /opt/gcc-
PATH: /home/AB1/bin
PATH: /home/AB1/
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3283: checking for armel-none-gcc
configure:3310: result: arm-none-eabi-gcc
configure:3579: checking for C compiler version
configure:3588: arm-none-eabi-gcc --version >&5
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150529 (release) [ARM/embedded-
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3599: $? = 0
configure:3588: arm-none-eabi-gcc -v >&5
Using built-in specs.
COLLECT_
COLLECT_
Target: arm-none-eabi
Configured with: /home/build/
Thread model: single
gcc version 4.9.3 20150529 (release) [ARM/embedded-
configure:3599: $? = 0
configure:3588: arm-none-eabi-gcc -V >&5
arm-none-eabi-gcc: error: unrecognized command line option '-V'
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
configure:3599: $? = 1
configure:3588: arm-none-eabi-gcc -qversion >&5
arm-none-eabi-gcc: error: unrecognized command line option '-qversion'
arm-none-eabi-gcc: fatal error: no input files
compilation terminated.
configure:3599: $? = 1
configure:3619: checking whether the C compiler works
configure:3641: arm-none-eabi-gcc -DWOLFSSL_USER_IO -O3 -mcpu=cortex-a8 -I./ conftest.c >&5
/opt/gcc-
exit.c:
collect2: error: ld returned 1 exit status
configure:3645: $? = 1
configure:3683: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "wolfssl"
| #define PACKAGE_TARNAME "wolfssl"
| #define PACKAGE_VERSION "4.2.0"
| #define PACKAGE_STRING "wolfssl 4.2.0"
| #define PACKAGE_BUGREPORT "https:/
| #define PACKAGE_URL "https:/
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3688: error: in `/home/
configure:3690: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_
ac_cv_env_
ac_cv_env_CCAS_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_CPP_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_LIBS_set=
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_env_
ac_cv_prog_
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMINCLUDE=''
AMTAR=''
AM_BACKSLASH=''
AM_CCASFLAGS=''
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_DEFAULT_V=''
AM_DEFAULT_
AM_LDFLAGS=''
AM_V=''
AR='arm-
AS=''
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BUILD_AESCCM_
BUILD_AESCCM_
BUILD_AESGCM_
BUILD_AESGCM_
BUILD_AESNI_
BUILD_AESNI_TRUE=''
BUILD_AES_FALSE=''
BUILD_AES_TRUE=''
BUILD_AFALG_
BUILD_AFALG_TRUE=''
BUILD_ALL_FALSE=''
BUILD_ALL_TRUE=''
BUILD_ARMASM_
BUILD_ARMASM_
BUILD_ASN_FALSE=''
BUILD_ASN_TRUE=''
BUILD_ASYNCCRYP
BUILD_ASYNCCRYP
BUILD_BLAKE2S_
BUILD_BLAKE2S_
BUILD_BLAKE2_
BUILD_BLAKE2_
BUILD_CAMELLIA_
BUILD_CAMELLIA_
BUILD_CAVIUM_
BUILD_CAVIUM_
BUILD_CAVIUM_
BUILD_CAVIUM_
BUILD_CHACHA_
BUILD_CHACHA_
BUILD_CMAC_FALSE=''
BUILD_CMAC_TRUE=''
BUILD_CODING_
BUILD_CODING_
BUILD_CRL_FALSE=''
BUILD_CRL_
BUILD_CRL_
BUILD_CRL_TRUE=''
BUILD_CRYPTOAUT
BUILD_CRYPTOAUT
BUILD_CRYPTOCB_
BUILD_CRYPTOCB_
BUILD_CRYPTONLY
BUILD_CRYPTONLY
BUILD_CURVE2551
BUILD_CURVE2551
BUILD_CURVE2551
BUILD_CURVE2551
BUILD_DES3_FALSE=''
BUILD_DES3_TRUE=''
BUILD_DEVCRYPTO
BUILD_DEVCRYPTO
BUILD_DH_FALSE=''
BUILD_DH_TRUE=''
BUILD_DISTRO_
BUILD_DISTRO_
BUILD_DSA_FALSE=''
BUILD_DSA_TRUE=''
BUILD_ECC_FALSE=''
BUILD_ECC_TRUE=''
BUILD_ED25519_
BUILD_ED25519_
BUILD_ED25519_
BUILD_ED25519_
BUILD_EXAMPLE_
BUILD_EXAMPLE_
BUILD_EXAMPLE_
BUILD_EXAMPLE_
BUILD_FASTMATH_
BUILD_FASTMATH_
BUILD_FAST_
BUILD_FAST_
BUILD_FEMATH_
BUILD_FEMATH_
BUILD_FIPS_FALSE=''
BUILD_FIPS_
BUILD_FIPS_
BUILD_FIPS_TRUE=''
BUILD_FIPS_
BUILD_FIPS_
BUILD_FIPS_
BUILD_FIPS_
BUILD_GEMATH_
BUILD_GEMATH_
BUILD_HASHFLAGS
BUILD_HASHFLAGS
BUILD_HC128_
BUILD_HC128_TRUE=''
BUILD_IDEA_FALSE=''
BUILD_IDEA_TRUE=''
BUILD_INLINE_
BUILD_INLINE_
BUILD_INTELASM_
BUILD_INTELASM_
BUILD_INTEL_
BUILD_INTEL_
BUILD_INTEL_
BUILD_INTEL_
BUILD_IPV6_FALSE=''
BUILD_IPV6_TRUE=''
BUILD_LEANPSK_
BUILD_LEANPSK_
BUILD_LEANTLS_
BUILD_LEANTLS_
BUILD_LIBZ_FALSE=''
BUILD_LIBZ_TRUE=''
BUILD_LOWMEM_
BUILD_LOWMEM_
BUILD_MCAPI_
BUILD_MCAPI_TRUE=''
BUILD_MCAST_
BUILD_MCAST_TRUE=''
BUILD_MD2_FALSE=''
BUILD_MD2_TRUE=''
BUILD_MD4_FALSE=''
BUILD_MD4_TRUE=''
BUILD_MD5_FALSE=''
BUILD_MD5_TRUE=''
BUILD_MEMORY_
BUILD_MEMORY_
BUILD_NTRU_FALSE=''
BUILD_NTRU_TRUE=''
BUILD_OCSP_FALSE=''
BUILD_OCSP_
BUILD_OCSP_
BUILD_OCSP_
BUILD_OCSP_
BUILD_OCSP_TRUE=''
BUILD_OCTEON_
BUILD_OCTEON_
BUILD_PKCALLBAC
BUILD_PKCALLBAC
BUILD_PKCS11_
BUILD_PKCS11_
BUILD_PKCS12_
BUILD_PKCS12_
BUILD_PKCS7_
BUILD_PKCS7_TRUE=''
BUILD_PKI_FALSE=''
BUILD_PKI_TRUE=''
BUILD_POLY1305_
BUILD_POLY1305_
BUILD_PSK_FALSE=''
BUILD_PSK_TRUE=''
BUILD_PWDBASED_
BUILD_PWDBASED_
BUILD_RABBIT_
BUILD_RABBIT_
BUILD_RC4_FALSE=''
BUILD_RC4_TRUE=''
BUILD_RIPEMD_
BUILD_RIPEMD_
BUILD_RNG_FALSE=''
BUILD_RNG_TRUE=''
BUILD_RSA_FALSE=''
BUILD_RSA_TRUE=''
BUILD_SCRYPT_
BUILD_SCRYPT_
BUILD_SCTP_FALSE=''
BUILD_SCTP_TRUE=''
BUILD_SELFTEST_
BUILD_SELFTEST_
BUILD_SHA224_
BUILD_SHA224_
BUILD_SHA3_FALSE=''
BUILD_SHA3_TRUE=''
BUILD_SHA512_
BUILD_SHA512_
BUILD_SHA_FALSE=''
BUILD_SHA_TRUE=''
BUILD_SLOWMATH_
BUILD_SLOWMATH_
BUILD_SNIFFER_
BUILD_SNIFFER_
BUILD_SNIFFTEST
BUILD_SNIFFTEST
BUILD_SP_
BUILD_SP_
BUILD_SP_
BUILD_SP_
BUILD_SP_
BUILD_SP_
BUILD_SP_
BUILD_SP_
BUILD_SP_C_FALSE=''
BUILD_SP_C_TRUE=''
BUILD_SP_FALSE=''
BUILD_SP_
BUILD_SP_
BUILD_SP_TRUE=''
BUILD_SP_
BUILD_SP_
BUILD_SRP_FALSE=''
BUILD_SRP_TRUE=''
BUILD_TESTS_
BUILD_TESTS_TRUE=''
BUILD_THREADED_
BUILD_THREADED_
BUILD_TLS13_
BUILD_TLS13_TRUE=''
BUILD_TRUST_
BUILD_TRUST_
BUILD_USER_
BUILD_USER_
BUILD_USER_
BUILD_USER_
BUILD_WNR_FALSE=''
BUILD_WNR_TRUE=''
BUILD_WOLFCRYPT
BUILD_WOLFCRYPT
BUILD_WOLFEVENT
BUILD_WOLFEVENT
BUILD_XILINX_
BUILD_XILINX_
CC='arm-
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=
CFLAG_VISIBILITY=''
CPP=''
CPPFLAGS='-I./'
CYGPATH_W=''
DEBUG_FALSE=''
DEBUG_TRUE=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GENERIC_CONFIG=''
GREP=''
HAVE_OPENSSL_CMD=''
HAVE_VALGRIND=''
HAVE_VISIBILITY=''
HEX_VERSION=''
INC_AMINCLUDE=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
INSTALL_
IPPHEADERS=''
IPPLIBS=''
IPPLINK=''
IS_VCS_
IS_VCS_
LD=''
LDFLAGS=''
LIBM=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIB_ADD=''
LIB_STATIC_ADD=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_
MAKEINFO=''
MANIFEST_TOOL=''
MCHECK=''
MKDIR_P=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='https:/
PACKAGE_
PACKAGE_
PACKAGE_
PACKAGE_URL='https:/
PACKAGE_
PATH_SEPARATOR=':'
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
USE_VALGRIND_
USE_VALGRIND_
VERSION=''
WOLFSSL_
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS
am__fastdepCCAS
am__fastdepCC_
am__fastdepCC_
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
ax_pthread_
bindir=
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir=
datarootdir=
docdir=
dvidir='${docdir}'
exec_prefix='NONE'
host='armel-none'
host_alias=
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir=
infodir=
install_sh=''
libdir=
libexecdir=
localedir=
localstatedir=
mandir=
mkdir_p=''
oldincludedir=
pdfdir='${docdir}'
prefix='NONE'
program_
psdir='${docdir}'
runstatedir=
sbindir=
sharedstatedir=
sysconfdir=
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "wolfssl"
#define PACKAGE_TARNAME "wolfssl"
#define PACKAGE_VERSION "4.2.0"
#define PACKAGE_STRING "wolfssl 4.2.0"
#define PACKAGE_BUGREPORT "https:/
#define PACKAGE_URL "https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Aijaz
- Solved:
- Last query:
- Last reply: