[CMake] static build broken ?
Alan
alanh at fairlite.co.uk
Mon Oct 3 04:46:30 EDT 2011
Hi all,
I'm trying to build cmake 2.8.5, but the system I'm building on doesn't
have a dynamic libraries, so static only.
When cmake comes to link I get this (with debug from make)....
Invoking recipe from Source/CMakeFiles/ccmake.dir/build.make:365 to
update target `bin/ccmake'.
Linking CXX executable ../bin/ccmake
Putting child 0x130fafc (bin/ccmake) PID 520 on the chain.
Live child 0x130fafc (bin/ccmake) PID 520
Reaping winning child 0x130fafc PID 520
Live child 0x130fafc (bin/ccmake) PID 521
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x20c):
undefined reference to `_lzma_lzma_preset'
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x262):
undefined reference to `_lzma_alone_encoder'
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x32e):
undefined reference to `_lzma_stream_encoder'
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x45a):
undefined reference to `_lzma_code'
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x4fa):
undefined reference to `_lzma_memusage'
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x7fc):
undefined reference to `_lzma_end'
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x86c):
undefined reference to `_lzma_end'
/usr/lib/libarchive.a(archive_write_set_compression_xz.o):archive_write_set_compression_xz.o:(.text+0x88c):
undefined reference to `_lzma_end'
/usr/lib/libarchive.a(archive_write_set_compression_bzip2.o):archive_write_set_compression_bzip2.o:(.text+0x24e):
undefined reference to `_BZ2_bzCompressInit'
/usr/lib/libarchive.a(archive_write_set_compression_bzip2.o):archive_write_set_compression_bzip2.o:(.text+0x3a2):
undefined reference to `_BZ2_bzCompress'
/usr/lib/libarchive.a(archive_write_set_compression_bzip2.o):archive_write_set_compression_bzip2.o:(.text+0x72c):
undefined reference to `_BZ2_bzCompressEnd'
/usr/lib/libarchive.a(archive_write_set_compression_bzip2.o):archive_write_set_compression_bzip2.o:(.text+0x7ca):
undefined reference to `_BZ2_bzCompressEnd'
/usr/lib/libarchive.a(archive_read_support_compression_bzip2.o):archive_read_support_compression_bzip2.o:(.text+0x2ae):
undefined reference to `_BZ2_bzDecompress'
/usr/lib/libarchive.a(archive_read_support_compression_bzip2.o):archive_read_support_compression_bzip2.o:(.text+0x2ba):
undefined reference to `_BZ2_bzDecompressEnd'
/usr/lib/libarchive.a(archive_read_support_compression_bzip2.o):archive_read_support_compression_bzip2.o:(.text+0x144):
undefined reference to `_BZ2_bzDecompressEnd'
/usr/lib/libarchive.a(archive_read_support_compression_bzip2.o):archive_read_support_compression_bzip2.o:(.text+0x29e):
undefined reference to `_BZ2_bzDecompressInit'
/usr/lib/libarchive.a(archive_read_support_compression_xz.o):archive_read_support_compression_xz.o:(.text+0x16c):
undefined reference to `_lzma_alone_decoder'
/usr/lib/libarchive.a(archive_read_support_compression_xz.o):archive_read_support_compression_xz.o:(.text+0x194):
undefined reference to `_lzma_stream_decoder'
/usr/lib/libarchive.a(archive_read_support_compression_xz.o):archive_read_support_compression_xz.o:(.text+0x2d2):
undefined reference to `_lzma_end'
/usr/lib/libarchive.a(archive_read_support_compression_xz.o):archive_read_support_compression_xz.o:(.text+0x49e):
undefined reference to `_lzma_code'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4152):
undefined reference to `_xmlTextReaderConstLocalName'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x24e):
undefined reference to `_lzma_end'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x27c):
undefined reference to `_BZ2_bzDecompressEnd'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x438):
undefined reference to `_SHA1_Init'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x446):
undefined reference to `_MD5_Init'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x626):
undefined reference to `_BZ2_bzDecompressInit'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x74a):
undefined reference to `_lzma_alone_decoder'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x7e0):
undefined reference to `_BZ2_bzDecompressEnd'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x7f2):
undefined reference to `_BZ2_bzDecompressInit'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x814):
undefined reference to `_lzma_end'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x88c):
undefined reference to `_lzma_stream_decoder'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x9b4):
undefined reference to `_SHA1_Update'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x9cc):
undefined reference to `_MD5_Update'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0xbae):
undefined reference to `_lzma_code'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0xc46):
undefined reference to `_BZ2_bzDecompress'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0xd30):
undefined reference to `_lzma_end'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0xdb4):
undefined reference to `_BZ2_bzDecompressEnd'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0xefc):
undefined reference to `_SHA1_Final'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0xf36):
undefined reference to `_MD5_Final'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4130):
undefined reference to `_xmlReaderForIO'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4148):
undefined reference to `_xmlTextReaderSetErrorHandler'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4164):
undefined reference to `_xmlTextReaderRead'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4176):
undefined reference to `_xmlTextReaderNodeType'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x41a0):
undefined reference to `_xmlTextReaderIsEmptyElement'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x41b8):
undefined reference to `_xmlTextReaderMoveToFirstAttribute'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x41d2):
undefined reference to `_xmlTextReaderMoveToNextAttribute'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x41fe):
undefined reference to `_xmlTextReaderConstValue'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4236):
undefined reference to `_xmlFreeTextReader'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x423c):
undefined reference to `_xmlCleanupParser'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4428):
undefined reference to `_xmlTextReaderConstValue'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x4604):
undefined reference to `_xmlFreeTextReader'
/usr/lib/libarchive.a(archive_read_support_format_xar.o):archive_read_support_format_xar.o:(.text+0x460a):
undefined reference to `_xmlCleanupParser'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1926): undefined
reference to `_X509_get_subject_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1a36): undefined
reference to `_X509_get_subject_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x30dc): undefined
reference to `_RAND_load_file'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3cd0): undefined
reference to `_SSL_CTX_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x12c): undefined reference
to `_BIO_s_mem'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x134): undefined reference
to `_BIO_new'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x150): undefined reference
to `_X509_NAME_print_ex'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x164): undefined reference
to `_BIO_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x18c): undefined reference
to `_BIO_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1c2): undefined reference
to `_BIO_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1ec): undefined reference
to `_X509_STORE_CTX_get_current_cert'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1f4): undefined reference
to `_X509_get_subject_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xc32): undefined reference
to `_i2t_ASN1_OBJECT'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xdb8): undefined reference
to `_ERR_clear_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xde2): undefined reference
to `_SSL_write'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xe1e): undefined reference
to `_SSL_write'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xe30): undefined reference
to `_SSL_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xeb0): undefined reference
to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xebc): undefined reference
to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xf10): undefined reference
to `_ERR_clear_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xf3a): undefined reference
to `_SSL_read'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xf78): undefined reference
to `_SSL_read'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xf8a): undefined reference
to `_SSL_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xfbc): undefined reference
to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0xfce): undefined reference
to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x18fc): undefined
reference to `_SSL_get_peer_certificate'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x192e): undefined
reference to `_X509_get_subject_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x196e): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x19c2): undefined
reference to `_SSL_get_peer_cert_chain'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x19d6): undefined
reference to `_sk_num'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1a74): undefined
reference to `_sk_value'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1aba): undefined
reference to `_X509_get_issuer_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1af6): undefined
reference to `_ASN1_INTEGER_get'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1b3a): undefined
reference to `_X509_get_serialNumber'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1c9a): undefined
reference to `_X509_get_pubkey'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1cca): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1cde): undefined
reference to `_sk_num'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1cfa): undefined
reference to `_sk_num'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1d0e): undefined
reference to `_sk_value'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1d16): undefined
reference to `_BIO_s_mem'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1d1e): undefined
reference to `_BIO_new'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1d30): undefined
reference to `_X509_EXTENSION_get_object'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1d46): undefined
reference to `_X509_EXTENSION_get_critical'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1d76): undefined
reference to `_X509V3_EXT_print'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1d92): undefined
reference to `_BIO_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1e1c): undefined
reference to `_BIO_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1e2c): undefined
reference to `_sk_num'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1e9a): undefined
reference to `_BIO_s_mem'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1ea2): undefined
reference to `_BIO_new'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1eb4): undefined
reference to `_PEM_write_bio_X509'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1ec6): undefined
reference to `_BIO_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1efe): undefined
reference to `_BIO_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1f54): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1f8a): undefined
reference to `_ASN1_STRING_print'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x1fba): undefined
reference to `_X509_get_pubkey'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2098): undefined
reference to `_ASN1_INTEGER_get'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x21c4): undefined
reference to `_X509_get_ext_d2i'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x21d6): undefined
reference to `_sk_num'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2200): undefined
reference to `_sk_value'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x221c): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x223a): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2272): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x22a2): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x22d2): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2302): more undefined
references to `_BN_num_bits' follow
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x23f2): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2416): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2426): undefined
reference to `_ASN1_STRING_data'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2432): undefined
reference to `_ASN1_STRING_length'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2466): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x249e): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x24d6): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x250e): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2546): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x257e): more undefined
references to `_BN_bn2bin' follow
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2606): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2636): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2666): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2696): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x26c4): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x26e8): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2700): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2738): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2770): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x27aa): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x27da): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x280a): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x283a): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x286a): undefined
reference to `_BN_num_bits'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2898): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x28bc): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x28d4): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x290c): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2944): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x297c): undefined
reference to `_BN_bn2bin'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2a12): undefined
reference to `_CRYPTO_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2a28): undefined
reference to `_X509_get_issuer_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2a4c): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2a88): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2abe): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2ae4): undefined
reference to `_PEM_read_X509'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2b06): undefined
reference to `_X509_check_issued'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2b36): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2b6c): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2b80): undefined
reference to `_SSL_get_verify_result'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2be2): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2c0a): undefined
reference to `_X509_verify_cert_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2c46): undefined
reference to `_X509_verify_cert_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2ccc): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2cf2): undefined
reference to `_GENERAL_NAMES_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2d28): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2d62): undefined
reference to `_X509_NAME_get_index_by_NID'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2e28): undefined
reference to `_GENERAL_NAMES_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2e54): undefined
reference to `_X509_NAME_get_entry'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2e5c): undefined
reference to `_X509_NAME_ENTRY_get_data'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2e6e): undefined
reference to `_ASN1_STRING_type'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2e82): undefined
reference to `_ASN1_STRING_to_UTF8'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2ee6): undefined
reference to `_ASN1_STRING_length'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2f00): undefined
reference to `_CRYPTO_malloc'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x2f14): undefined
reference to `_ASN1_STRING_data'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x30e6): undefined
reference to `_RAND_status'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3104): undefined
reference to `_RAND_egd'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3126): undefined
reference to `_RAND_add'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x316a): undefined
reference to `_RAND_file_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3182): undefined
reference to `_RAND_status'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x31e0): undefined
reference to `_RAND_add'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3a60): undefined
reference to `_ERR_clear_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3a68): undefined
reference to `_SSL_connect'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3a7c): undefined
reference to `_SSL_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3aa0): undefined
reference to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3ad0): undefined
reference to `_ERR_error_string_n'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3b56): undefined
reference to `_SSL_get_current_cipher'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3b5e): undefined
reference to `_SSL_CIPHER_get_name'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3be4): undefined
reference to `_ERR_error_string_n'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3c6c): undefined
reference to `_SSLv23_client_method'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3c96): undefined
reference to `_SSL_CTX_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3ca0): undefined
reference to `_SSL_CTX_new'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3d76): undefined
reference to `_SSL_CTX_set_default_passwd_cb_userdata'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3d82): undefined
reference to `_SSL_CTX_set_default_passwd_cb'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3e5a): undefined
reference to `_SSL_CTX_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3e72): undefined
reference to `_SSL_CTX_callback_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3ec6): undefined
reference to `_TLSv1_client_method'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3edc): undefined
reference to `_SSL_CTX_use_certificate_chain_file'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3f26): undefined
reference to `_SSL_CTX_use_certificate_file'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3f60): undefined
reference to `_SSL_CTX_use_PrivateKey_file'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x3fa0): undefined
reference to `_SSL_SESSION_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4030): undefined
reference to `_ERR_peek_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x403a): undefined
reference to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4058): undefined
reference to `_SSLv3_client_method'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4068): undefined
reference to `_SSLv2_client_method'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x40aa): undefined
reference to `_d2i_PKCS12_fp'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x40cc): undefined
reference to `_PKCS12_PBE_add'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x40e6): undefined
reference to `_PKCS12_parse'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x40fa): undefined
reference to `_PKCS12_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4106): undefined
reference to `_SSL_CTX_use_certificate'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4128): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4132): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4160): undefined
reference to `_SSL_get1_session'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x41ee): undefined
reference to `_ENGINE_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4212): undefined
reference to `_ENGINE_ctrl_cmd'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x422e): undefined
reference to `_SSL_CTX_use_certificate'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x424e): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x42c8): undefined
reference to `_SSL_CTX_set_cipher_list'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x42fc): undefined
reference to `_SSL_CTX_load_verify_locations'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x438a): undefined
reference to `_X509_LOOKUP_file'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x43b4): undefined
reference to `_X509_STORE_add_lookup'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x43ca): undefined
reference to `_X509_load_crl_file'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x440c): undefined
reference to `_X509_STORE_set_flags'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4456): undefined
reference to `_SSL_CTX_set_verify'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4496): undefined
reference to `_SSL_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x44b4): undefined
reference to `_SSL_new'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x44ce): undefined
reference to `_SSL_set_connect_state'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x452a): undefined
reference to `_SSL_set_session'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4538): undefined
reference to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4542): undefined
reference to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4580): undefined
reference to `_SSL_ctrl'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x465a): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4664): undefined
reference to `_SSL_new'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4674): undefined
reference to `_SSL_get_certificate'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4684): undefined
reference to `_X509_get_pubkey'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x468e): undefined
reference to `_SSL_get_privatekey'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4698): undefined
reference to `_EVP_PKEY_copy_parameters'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x46a0): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x46ac): undefined
reference to `_SSL_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x46b4): undefined
reference to `_SSL_CTX_check_private_key'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x472e): undefined
reference to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4738): undefined
reference to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4750): undefined
reference to `_PKCS12_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x478a): undefined
reference to `_UI_OpenSSL'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x479e): undefined
reference to `_ENGINE_load_private_key'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x47b2): undefined
reference to `_SSL_CTX_use_PrivateKey'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x47d0): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x47e6): undefined
reference to `_SSL_CTX_use_PrivateKey'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4808): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4812): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x484a): undefined
reference to `_SSL_set_fd'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4892): undefined
reference to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x489c): undefined
reference to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x48c0): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x48d0): undefined
reference to `_SSL_CTX_check_private_key'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x48e8): undefined
reference to `_sk_num'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4904): undefined
reference to `_sk_num'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4918): undefined
reference to `_sk_value'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x493c): undefined
reference to `_sk_value'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4946): undefined
reference to `_SSL_CTX_add_client_CA'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x49bc): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x49c6): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4a24): undefined
reference to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4a2e): undefined
reference to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4a5e): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4a68): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4aa8): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4ab2): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4ad2): undefined
reference to `_EVP_PKEY_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4adc): undefined
reference to `_X509_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4af0): undefined
reference to `_ENGINE_load_builtin_engines'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4af6): undefined
reference to `_SSL_load_error_strings'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4afc): undefined
reference to `_SSL_library_init'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4b0c): undefined
reference to `_OPENSSL_add_all_algorithms_noconf'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4b1c): undefined
reference to `_ERR_free_strings'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4b22): undefined
reference to `_EVP_cleanup'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4b28): undefined
reference to `_ENGINE_cleanup'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4b30): undefined
reference to `_CRYPTO_cleanup_all_ex_data'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4b4a): undefined
reference to `_SSL_peek'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4bc0): undefined
reference to `_ENGINE_by_id'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4bdc): undefined
reference to `_ENGINE_finish'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4be6): undefined
reference to `_ENGINE_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4bf4): undefined
reference to `_ENGINE_init'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4c18): undefined
reference to `_ENGINE_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4c1e): undefined
reference to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4c34): undefined
reference to `_ERR_error_string_n'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4cde): undefined
reference to `_ENGINE_set_default'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4cee): undefined
reference to `_ENGINE_get_id'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4d18): undefined
reference to `_ENGINE_get_id'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4d54): undefined
reference to `_ENGINE_get_first'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4d62): undefined
reference to `_ENGINE_get_id'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4d6e): undefined
reference to `_ENGINE_get_next'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4e00): undefined
reference to `_SSL_shutdown'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4e08): undefined
reference to `_SSL_set_connect_state'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4e10): undefined
reference to `_SSL_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4e34): undefined
reference to `_SSL_CTX_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4f98): undefined
reference to `_ERR_clear_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4fa6): undefined
reference to `_SSL_read'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4fb0): undefined
reference to `_SSL_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x4fe4): undefined
reference to `_SSL_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x500a): undefined
reference to `_ERR_get_error'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x501a): undefined
reference to `_ERR_error_string'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x50ae): undefined
reference to `_SSL_get_shutdown'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x50f0): undefined
reference to `_SSL_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x511e): undefined
reference to `_SSL_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x5146): undefined
reference to `_SSL_shutdown'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x5196): undefined
reference to `_SSL_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x51aa): undefined
reference to `_SSL_SESSION_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x51be): undefined
reference to `_ERR_remove_state'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x51d4): undefined
reference to `_ENGINE_finish'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x51de): undefined
reference to `_ENGINE_free'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x5254): undefined
reference to `_SSL_pending'
/usr/lib/libcurl.a(ssluse.o):ssluse.o:(.text+0x528e): undefined
reference to `_SSLeay'
/usr/lib/libcurl.a(curl_ntlm_msgs.o):curl_ntlm_msgs.o:(.text+0x3f6):
undefined reference to `_RAND_bytes'
/usr/lib/libcurl.a(curl_ntlm_msgs.o):curl_ntlm_msgs.o:(.text+0x484):
undefined reference to `_MD5_Init'
/usr/lib/libcurl.a(curl_ntlm_msgs.o):curl_ntlm_msgs.o:(.text+0x492):
undefined reference to `_MD5_Update'
/usr/lib/libcurl.a(curl_ntlm_msgs.o):curl_ntlm_msgs.o:(.text+0x4a0):
undefined reference to `_MD5_Final'
/usr/lib/libcurl.a(md5.o):md5.o:(.text+0x48): undefined reference to
`_MD5_Init'
/usr/lib/libcurl.a(md5.o):md5.o:(.text+0x4c): undefined reference to
`_MD5_Update'
/usr/lib/libcurl.a(md5.o):md5.o:(.text+0x50): undefined reference to
`_MD5_Final'
/usr/lib/libcurl.a(md5.o):md5.o:(.text+0x14): undefined reference to
`_MD5_Init'
/usr/lib/libcurl.a(md5.o):md5.o:(.text+0x28): undefined reference to
`_MD5_Update'
/usr/lib/libcurl.a(md5.o):md5.o:(.text+0x34): undefined reference to
`_MD5_Final'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0x86):
undefined reference to `_DES_set_odd_parity'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0x92):
undefined reference to `_DES_set_key'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0xd0):
undefined reference to `_DES_ecb_encrypt'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0x184):
undefined reference to `_DES_ecb_encrypt'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0x20a):
undefined reference to `_DES_ecb_encrypt'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0x296):
undefined reference to `_MD4_Init'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0x2a2):
undefined reference to `_MD4_Update'
/usr/lib/libcurl.a(curl_ntlm_core.o):curl_ntlm_core.o:(.text+0x2ac):
undefined reference to `_MD4_Final'
collect2: ld returned 1 exit status
Reaping losing child 0x130fafc PID 521
make[2]: *** [bin/ccmake] Error 1
Removing child 0x130fafc PID 521 from chain.
Reaping losing child 0x12d2114 PID 519
make[1]: *** [Source/CMakeFiles/ccmake.dir/all] Error 2
Removing child 0x12d2114 PID 519 from chain.
Reaping losing child 0x12757ec PID 449
make: *** [all] Error 2
Removing child 0x12757ec PID 449 from chain.
Obviously, the static build isn't pulling in the other dependencies, but
I'm wondering where the best place is to put these ?
Any help appreciated.
Thanks,
Alan.
More information about the CMake
mailing list