I'm trying to compile libpcap and libssl statically (with -static) and linker get me these errors:
more undefined references to `ASN1_const_check_infinite_end' follow myprogram line 0, external location: /lib64/libssl.a(ssl_asn1.o)
more undefined references to `BIO_test_flags' follow myprogram line 0, external location: /lib64/libssl.a(ssl_lib.o)
------------------------truncated for brevity----------------------------------
I'm using ubuntu 11.4 i686_64 and a nm result on libssl.a with greping BIO_test_flags, is: U BIO_test_flags that means this symbol is an undefined one and all of undefined symbols are in the same status.
How can I solve this linking problem? (any idea or approaches are welcome) [note that static compilation is a must for me]