[FS#444] qemu/host: multiple definition of AES_*

LEDE Bugs lede-bugs at lists.infradead.org
Mon Jan 30 07:41:13 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Stijn Tintel (stintel) 

Attached to Project - LEDE Project
Summary - qemu/host: multiple definition of AES_*
Task Type - Bug Report
Category - Base system
Status - New
Assigned To - 
Operating System - All
Severity - High
Priority - High
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Unable to compile lede-17.01 r3043-31b0640 x86/64.
Did make clean, make dirclean, rm -rf build_dir/host* staging_dir/host/


make[4]: Entering directory '/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1'
gcc -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -I/home/stijn/Development/LEDE/source/staging_dir/host/include -I/home/stijn/Development/LEDE/source/staging_dir/host/usr/include  -I/home/stijn/Development/LEDE/source/staging_dir/host/include/e2fsprogs   -O2 -g -O2 -I/home/stijn/Development/LEDE/source/staging_dir/host/include -I/home/stijn/Development/LEDE/source/staging_dir/host/usr/include  -I/home/stijn/Development/LEDE/source/staging_dir/host/include/e2fsprogs -Wl,--warn-common -m64 -g -L/home/stijn/Development/LEDE/source/staging_dir/host/lib -L/home/stijn/Development/LEDE/source/staging_dir/host/usr/lib  -o qemu-img qemu-img.o qemu-tool.o qemu-error.o osdep.o oslib-posix.o trace.o cutils.o cache-utils.o qemu-malloc.o qemu-option.o module.o nbd.o block.o aio.o aes.o qemu-config.o posix-aio-compat.o linux-aio.o block/raw.o block/cow.o block/qcow.o block/vdi.o block/vmdk.o block/cloop.o block/dmg.o block/bochs.o block/vpc.o block/vvfat.o block/qcow2.o block/qcow2-refcount.o block/qcow2-cluster.o block/qcow2-snapshot.o block/qcow2-cache.o block/qed.o block/qed-gencb.o block/qed-l2-cache.o block/qed-table.o block/qed-cluster.o block/qed-check.o block/parallels.o block/nbd.o block/blkdebug.o block/sheepdog.o block/blkverify.o block/raw-posix.o block/curl.o qint.o qstring.o qdict.o qlist.o qfloat.o qbool.o qjson.o json-lexer.o json-streamer.o json-parser.o qerror.o qemu-timer-common.o -lattr -lpthread  -lz -lcurl -lidn2 -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz -luuid  -laio
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(libcrypto_la-cpuid-elf-x86_64.o): warning: multiple common of `OPENSSL_ia32cap_P'
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(libcrypto_la-cryptlib.o): warning: previous common is here
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(aes-elf-x86_64.o): In function `AES_encrypt':
(.text+0x460): multiple definition of `AES_encrypt'
aes.o:/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1/aes.c:886: first defined here
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(aes-elf-x86_64.o): In function `AES_decrypt':
(.text+0x9f0): multiple definition of `AES_decrypt'
aes.o:/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1/aes.c:1077: first defined here
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(aes-elf-x86_64.o): In function `AES_set_encrypt_key':
(.text+0xab0): multiple definition of `AES_set_encrypt_key'
aes.o:/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1/aes.c:738: first defined here
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(aes-elf-x86_64.o): In function `AES_set_decrypt_key':
(.text+0xd80): multiple definition of `AES_set_decrypt_key'
aes.o:/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1/aes.c:833: first defined here
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(aes-elf-x86_64.o): In function `AES_cbc_encrypt':
(.text+0xfa0): multiple definition of `AES_cbc_encrypt'
aes.o:/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1/aes.c:1268: first defined here
/usr/lib64/libssl.so.1.0.0: warning: warning: EVP_EncryptFinal is often misused, please use EVP_EncryptFinal_ex and EVP_CIPHER_CTX_cleanup
/usr/lib64/libssl.so.1.0.0: warning: warning: EVP_DecryptFinal is often misused, please use EVP_DecryptFinal_ex and EVP_CIPHER_CTX_cleanup
/usr/lib64/libcrypto.so.1.0.0: warning: multiple common of `sig_app'
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(libcrypto_la-obj_xref.o): warning: previous common is here
/usr/lib64/libcrypto.so.1.0.0: warning: multiple common of `sigx_app'
/home/stijn/Development/LEDE/source/staging_dir/host/lib/libcrypto.a(libcrypto_la-obj_xref.o): warning: previous common is here
/usr/lib64/libcrypto.so.1.0.0: warning: warning: EVP_CipherFinal is often misused, please use EVP_CipherFinal_ex and EVP_CIPHER_CTX_cleanup
collect2: error: ld returned 1 exit status
make[4]: *** [/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1/rules.mak:29: qemu-img] Error 1
make[4]: Leaving directory '/home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1'
make[3]: *** [Makefile:41: /home/stijn/Development/LEDE/source/build_dir/host/qemu-0.14.1/.built] Error 2
make[3]: Leaving directory '/home/stijn/Development/LEDE/source/tools/qemu'
make[2]: *** [tools/Makefile:148: tools/qemu/compile] Error 2
make[2]: Leaving directory '/home/stijn/Development/LEDE/source'
make[1]: *** [tools/Makefile:145: /home/stijn/Development/LEDE/source/staging_dir/target-x86_64_musl-1.1.15/stamp/.tools_install_yynyyyyynyyyyynyynnyyyynyyyyyyyyyyyyyyyyyynynnyyynnny] Error 2
make[1]: Leaving directory '/home/stijn/Development/LEDE/source'
make: *** [/home/stijn/Development/LEDE/source/include/toplevel.mk:199: world] Error 2



More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=444



More information about the lede-bugs mailing list