What part of this is a bug in OpenSSL proper?

To me it looks like the classic issue when linking with static libraries, that
you have to explicitely specify the libraries that libcrypto and libssl depend
on.

Cheers,
Richard

On Mon Jul 04 23:40:25 2016, noloa...@gmail.com wrote:
> From http://stackoverflow.com/q/38192458/608639:
>
> jni/openssl/lib/armeabi-v7a/libcrypto.a(armcap.o):armcap.c:function
> OPENSSL_cpuid_setup: error: undefined reference to 'sigfillset'
> jni/openssl/lib/armeabi-v7a/libcrypto.a(armcap.o):armcap.c:function
> OPENSSL_cpuid_setup: error: undefined reference to 'sigdelset'
> jni/openssl/lib/armeabi-v7a/libcrypto.a(armcap.o):armcap.c:function
> OPENSSL_cpuid_setup: error: undefined reference to 'sigdelset'
> jni/openssl/lib/armeabi-v7a/libcrypto.a(armcap.o):armcap.c:function
> OPENSSL_cpuid_setup: error: undefined reference to 'sigdelset'
> jni/openssl/lib/armeabi-v7a/libcrypto.a(armcap.o):armcap.c:function
> OPENSSL_cpuid_setup: error: undefined reference to 'sigdelset'
> jni/openssl/lib/armeabi-
> v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> open_console: error: undefined reference to 'tcgetattr'
> jni/openssl/lib/armeabi-
> v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'signal'
> jni/openssl/lib/armeabi-
> v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'tcsetattr'
> jni/openssl/lib/armeabi-
> v7a/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'tcsetattr'
> collect2: error: ld returned 1 exit status
> make[1]: *** [obj/local/armeabi-v7a/libpjsipjni.so] Error 1
> make[1]: *** Waiting for unfinished jobs....
> jni/openssl/lib/armeabi/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> open_console: error: undefined reference to 'tcgetattr'
> jni/openssl/lib/armeabi/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'signal'
> jni/openssl/lib/armeabi/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'tcsetattr'
> jni/openssl/lib/armeabi/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'tcsetattr'
> collect2: error: ld returned 1 exit status
> make[1]: *** [obj/local/armeabi/libpjsipjni.so] Error 1
> jni/openssl/lib/x86/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> open_console: error: undefined reference to 'tcgetattr'
> jni/openssl/lib/x86/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'signal'
> jni/openssl/lib/x86/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'tcsetattr'
> jni/openssl/lib/x86/libcrypto.a(ui_openssl.o):ui_openssl.c:function
> read_string_inner: error: undefined reference to 'tcsetattr'
> collect2: error: ld returned 1 exit status
> make[1]: *** [obj/local/x86/libpjsipjni.so] Error 1
> jni/openssl/lib/mips/libcrypto.a(ui_openssl.o): In function
> `open_console':
> ui_openssl.c:(.text.open_console+0xb4): undefined reference to
> `tcgetattr'
> jni/openssl/lib/mips/libcrypto.a(ui_openssl.o): In function
> `read_string_inner':
> ui_openssl.c:(.text.read_string_inner+0xf0): undefined reference to
> `signal'
> ui_openssl.c:(.text.read_string_inner+0x2c0): undefined reference to
> `tcsetattr'
> ui_openssl.c:(.text.read_string_inner+0x39c): undefined reference to
> `tcsetattr'
> collect2: error: ld returned 1 exit status


--
Richard Levitte
levi...@openssl.org

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4604
Please log in as guest with password guest if prompted

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to