bpd1069 / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

Failed in compiling openssl-1.0.0e #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd src/libraries/openssl-1.0.0e
2. ./nacl-openssl-1.0.0e.sh

What is the expected output? What do you see instead?
I expected to compiles successfully but I got error

What version of the product are you using? On what operating system?
version: from repository
OS: Linux x86_64

Please provide any additional information below.
I attached the compiling error

Original issue reported on code.google.com by eslashm...@gmail.com on 5 Mar 2012 at 8:35

Attachments:

GoogleCodeExporter commented 9 years ago
Latest patch fixed this compilation issue but the generated libcrypto.a causes 
ld error

third_party/native_client_sdk/pepper_23/toolchain/linux_x86_newlib/i686-nacl/usr
/lib/libcrypto.a(md_rand.o): In function `ssleay_rand_status':
md_rand.c:(.text+0x21c): undefined reference to `RAND_poll'
third_party/native_client_sdk/pepper_23/toolchain/linux_x86_newlib/i686-nacl/usr
/lib/libcrypto.a(md_rand.o): In function `ssleay_rand_bytes':
md_rand.c:(.text+0x15fc): undefined reference to `RAND_poll'
third_party/native_client_sdk/pepper_23/toolchain/linux_x86_newlib/i686-nacl/usr
/lib/libcrypto.a(ui_lib.o): In function `UI_get_default_method':
ui_lib.c:(.text+0xe5c): undefined reference to `UI_OpenSSL'
collect2: ld returned 1 exit status

Seems that UI related functions are not properly disabled in the patch.

Original comment by arthur...@google.com on 17 Aug 2012 at 5:57

GoogleCodeExporter commented 9 years ago
Works today on naclports head and pepper_canary.

Original comment by sbc@google.com on 1 Feb 2013 at 6:09