[OE-core] [PATCH] openssl: Upgrade to 1.0.2

Robert Yang liezhi.yang at windriver.com
Mon Mar 16 06:21:56 UTC 2015



On 03/13/2015 03:17 AM, Saul Wold wrote:
> On 03/11/2015 11:18 PM, Robert Yang wrote:
>>
>> I met this error when building openflow in meta-networking, I guess it
>> maybe
>> related to the upgraded:
>>
>> x86_64-wrs-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse
>> --sysroot=/buildarea/lyang1/test_qemux86-64/bitbake_build/tmp/sysroots/qemux86-64
>> -Wstrict-prototypes  -O2 -pipe -g -feliminate-unused-debug-types -Wall
>> -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement
>> -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing
>> -Wbad-function-cast -Wcast-align -Wstrict-prototypes
>> -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers
>> -Wno-override-init -export-dynamic -Wl,-O1 -Wl,--hash-style=gnu
>> -Wl,--as-needed -o secchan/ofprotocol secchan/discovery.o
>> secchan/emerg-flow.o secchan/fail-open.o secchan/failover.o
>> secchan/in-band.o secchan/port-watcher.o secchan/protocol-stat.o
>> secchan/ratelimit.o secchan/secchan.o secchan/status.o
>> secchan/stp-secchan.o lib/libopenflow.a -ldl
>> -L/buildarea/lyang1/test_qemux86-64/bitbake_build/tmp/sysroots/qemux86-64/usr/lib64
>>
>> -lssl
>> /buildarea/lyang1/test_qemux86-64/bitbake_build/tmp/sysroots/x86_64-linux/usr/libexec/x86_64-wrs-linux/gcc/x86_64-wrs-linux/4.9.2/ld:
>>
>> lib/libopenflow.a(vconn-ssl.o): undefined reference to symbol
>> 'ERR_error_string@@OPENSSL_1.0.0'
>> /buildarea/lyang1/test_qemux86-64/bitbake_build/tmp/sysroots/qemux86-64/lib64/libcrypto.so.1.0.0:
>>
>> error adding symbols: DSO missing from command line
>> collect2: error: ld returned 1 exit status
>>
> Robert, I am not sure about this, I just verified that ERR_error_string is a
> valid symbol in libcrypto.so, maybe you nbeed to have -lcrypto in addition to
> the -lssl on the command line for building openflow? I don't see it explicitly
> and maybe that's needed.

Yes, add -lcrypto works.

// Robert

>
> Sau!
>
>
>



More information about the Openembedded-core mailing list