Query on openssl-1.1.0h build error
SIMON BABY
simonkbaby at gmail.com
Fri Jul 17 00:59:35 UTC 2020
Hello,
I am working for a project which has dependency on openssl library. When I
try to build the openssl package with below bit bake recipe (got from open
embedded yocto ) it is failing with below errors.Could you please help to
resolve my issue.
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-connectivity/openssl/openssl_1.1.0h.bb?h=rocko
sbaby at ubuntu:~/workspace$ bitbake openssl
NOTE: Out of date cache found, rebuilding...
*ERROR: Could not inherit file classes/multilib_header.bbclass *
ERROR: Command execution failed: Exited with 1
When I commented the below two lines from the recepie, I got started build
but it failed with below error marked in Red.
inherit lib_package multilib_header ptest
| make[1]: Entering directory
`/home/sbaby/workspace/WQAR/tmp/work/mips-mv-linux/openssl-1.1.0h-r0/openssl-1.1.0h'
| ( trap "rm -f crypto/aes/aes-mips.o.*" INT 0; \
| mips-montavista-linux-gnu-gcc -E -I. -Icrypto/include -Iinclude
-DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM
-DSHA256_ASM -DSHA512_ASM -DAES_ASM -DPOLY1305_ASM
-DOPENSSLDIR="\"/usr/lib32/ssl-1.1\""
-DENGINESDIR="\"/usr/lib32/engines-1.1\"" -Wall -O3 -pthread -mabi=64
-DBN_DIV3W -mips3 -fPIC -DOPENSSL_USE_NODELETE crypto/aes/aes-mips.S | \
| /usr/bin/perl -ne '/^#(line)?\s*[0-9]+/ or print' >
crypto/aes/aes-mips.o.s && \
| mips-montavista-linux-gnu-gcc -march=octeon -msoft-float -mabi=n32
-DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS
-DOPENSSL_NO_STATIC_ENGINE -DOPENSSL_PIC -DOPENSSL_BN_ASM_MONT -DSHA1_ASM
-DSHA256_ASM -DSHA512_ASM -DAES_ASM -DPOLY1305_ASM
-DOPENSSLDIR="\"/usr/lib32/ssl-1.1\""
-DENGINESDIR="\"/usr/lib32/engines-1.1\"" -Wall -O3 -pthread -mabi=64
-DBN_DIV3W -mips3 -fPIC -DOPENSSL_USE_NODELETE -c -o crypto/aes/aes-mips.o
crypto/aes/aes-mips.o.s )
| Assembler messages:
* | Error: -mips3 conflicts with the other architecture options, which
imply -mips64r2*
| make[1]: *** [crypto/aes/aes-mips.o] Error 1
| make[1]: Leaving directory
`/home/sbaby/workspace/WQAR/tmp/work/mips-mv-linux/openssl-1.1.0h-r0/openssl-1.1.0h'
| make: *** [all] Error 2
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
Regards
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20200716/84ad43ec/attachment.html>
More information about the openssl-users
mailing list