Topic: Linking problem while compiling WolfCLU on Ubuntu 16.04 LTS
Hi,
I am trying to compile WolfCLU utility on an Ubuntu. Earlier I have compiled WolfSSL with default configure options and installed.
cisadmin@a2md15616l:~/wolfssl_example/wolfssl-examples-master/wolfCLU$ ./configure --enable-pwdbased --enable-opensslextra && make && make check
I see below linking error when I compile WolfCLU.
cisadmin@a2md15616l:~/wolfssl_example/wolfssl-examples-master/wolfCLU$ make
make -j3 all-am
make[1]: Entering directory `/home/wolfssl_example/wolfssl-examples-master/wolfCLU'
CCLD wolfssl
clu_src/tools/clu_hex_to_bin.o: In function `wolfCLU_hexToBin':
clu_hex_to_bin.c:(.text+0x124): undefined reference to `Base16_Decode'
clu_hex_to_bin.c:(.text+0x224): undefined reference to `Base16_Decode'
clu_hex_to_bin.c:(.text+0x340): undefined reference to `Base16_Decode'
clu_hex_to_bin.c:(.text+0x478): undefined reference to `Base16_Decode'
clu_src/crypto/clu_decrypt.o: In function `wolfCLU_decrypt':
clu_decrypt.c:(.text+0x3af): undefined reference to `wc_PBKDF2'
clu_src/x509/clu_parse.o: In function `wolfCLU_parseFile':
clu_parse.c:(.text+0x24d): undefined reference to `wc_DerToPem'
clu_src/genkey/clu_genkey.o: In function `wolfCLU_genKey_PWDBASED':
clu_genkey.c:(.text+0xb9): undefined reference to `wc_PBKDF2'
collect2: error: ld returned 1 exit status
make[1]: *** [wolfssl] Error 1
Does it required to enable some more option in WolfSSL compilation?
Appreciate your help in providing the right steps.
Thanks,