subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krusaf <kru...@gmail.com>
Subject Static compile of subversion 1.8.3
Date Tue, 08 Oct 2013 13:41:53 GMT
Hello,

For some reasons, I have to compile a subversion 1.8 in static. I'm trying
but I always have a problem with the linker.

Here the (last ?) instruction with the error :

cd subversion/svn && /bin/sh /home/user/pour-svn/subversion-1.8.3/libtool
--tag=CC --silent --mode=link gcc -all-static  -g -O2  -g -O2 -pthread
-L/home/user/pour-svn/subversion-1.8.3/serf//lib
-L/home/user/pour-svn/subversion-1.8.3/zlib/lib  -rpath
/home/user/svn-1.8.3/lib  -o svn  add-cmd.lo blame-cmd.lo cat-cmd.lo
changelist-cmd.lo checkout-cmd.lo cl-conflicts.lo cleanup-cmd.lo
commit-cmd.lo conflict-callbacks.lo copy-cmd.lo delete-cmd.lo deprecated.lo
diff-cmd.lo export-cmd.lo file-merge.lo help-cmd.lo import-cmd.lo
info-cmd.lo list-cmd.lo lock-cmd.lo log-cmd.lo merge-cmd.lo
mergeinfo-cmd.lo mkdir-cmd.lo move-cmd.lo notify.lo patch-cmd.lo
propdel-cmd.lo propedit-cmd.lo propget-cmd.lo proplist-cmd.lo props.lo
propset-cmd.lo relocate-cmd.lo resolve-cmd.lo resolved-cmd.lo revert-cmd.lo
status-cmd.lo status.lo svn.lo switch-cmd.lo unlock-cmd.lo update-cmd.lo
upgrade-cmd.lo util.lo
../../subversion/libsvn_client/libsvn_client-1.la../../subversion/libsvn_wc/
libsvn_wc-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la../../subversion/libsvn_delta/
libsvn_delta-1.la
../../subversion/libsvn_diff/libsvn_diff-1.la../../subversion/libsvn_subr/
libsvn_subr-1.la -L/home/user/pour-svn/subversion-1.8.3/apr-util/lib
-laprutil-1 -lexpat -L/home/user/pour-svn/subversion-1.8.3/apr/lib -lapr-1
-lrt -lcrypt -lpthread
/home/user/pour-svn/subversion-1.8.3/subversion/libsvn_subr/.libs/libsvn_subr-1.a(sqlite3wrapper.o):
In function `unixDlOpen':
/home/user/pour-svn/subversion-1.8.3/sqlite-amalgamation/sqlite3.c:28402:
warning: Using 'dlopen' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/home/user/pour-svn/subversion-1.8.3/apr/lib/libapr-1.a(groupinfo.o): In
function `apr_gid_name_get':
/home/user/pour-svn/subversion-1.8.3/apr/user/unix/groupinfo.c:44: warning:
Using 'getgrgid_r' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/home/user/pour-svn/subversion-1.8.3/apr/lib/libapr-1.a(groupinfo.o): In
function `apr_gid_get':
/home/user/pour-svn/subversion-1.8.3/apr/user/unix/groupinfo.c:72: warning:
Using 'getgrnam_r' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/home/user/pour-svn/subversion-1.8.3/apr/lib/libapr-1.a(userinfo.o): In
function `getpwnam_safe':
/home/user/pour-svn/subversion-1.8.3/apr/user/unix/userinfo.c:48: warning:
Using 'getpwnam_r' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/home/user/pour-svn/subversion-1.8.3/apr/lib/libapr-1.a(userinfo.o): In
function `apr_uid_name_get':
/home/user/pour-svn/subversion-1.8.3/apr/user/unix/userinfo.c:129: warning:
Using 'getpwuid_r' in statically linked applications requires at runtime
the shared libraries from the glibc version used for linking
/home/user/pour-svn/subversion-1.8.3/apr/lib/libapr-1.a(sockaddr.o): In
function `call_resolver':
/home/user/pour-svn/subversion-1.8.3/apr/network_io/unix/sockaddr.c:357:
warning: Using 'getaddrinfo' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64/libpthread.a(libpthread.o):
In function `sem_open':
(.text+0x760d): warning: the use of `mktemp' is dangerous, better use
`mkstemp'
/home/user/pour-svn/subversion-1.8.3/apr/lib/libapr-1.a(sockaddr.o): In
function `apr_getservbyname':
/home/user/pour-svn/subversion-1.8.3/apr/network_io/unix/sockaddr.c:752:
warning: Using 'getservbyname_r' in statically linked applications requires
at runtime the shared libraries from the glibc version used for linking
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `ssl_free_context':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1283:
undefined reference to `SSL_free'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1284:
undefined reference to `SSL_CTX_free'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_use_compression':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1662:
undefined reference to `SSL_ctrl'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1657:
undefined reference to `SSL_ctrl'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_cert_export':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1627:
undefined reference to `i2d_X509'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1634:
undefined reference to `i2d_X509'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_cert_certificate':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1544:
undefined reference to `EVP_sha1'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1544:
undefined reference to `X509_digest'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1563:
undefined reference to `BIO_s_mem'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1563:
undefined reference to `BIO_new'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1570:
undefined reference to `ASN1_TIME_print'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1577:
undefined reference to `ASN1_TIME_print'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1583:
undefined reference to `BIO_free'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1586:
undefined reference to `X509_get_ext_d2i'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1588:
undefined reference to `sk_num'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1595:
undefined reference to `sk_value'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1610:
undefined reference to `GENERAL_NAME_free'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1610:
undefined reference to `sk_pop_free'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1578:
undefined reference to `BIO_read'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1571:
undefined reference to `BIO_read'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `convert_X509_NAME_to_table':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1461:
undefined reference to `X509_NAME_get_text_by_NID'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1466:
undefined reference to `X509_NAME_get_text_by_NID'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1471:
undefined reference to `X509_NAME_get_text_by_NID'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1476:
undefined reference to `X509_NAME_get_text_by_NID'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1481:
undefined reference to `X509_NAME_get_text_by_NID'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1486:
more undefined references to `X509_NAME_get_text_by_NID' follow
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_cert_subject':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1524:
undefined reference to `X509_get_subject_name'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_cert_issuer':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1511:
undefined reference to `X509_get_issuer_name'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `bio_bucket_read':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:257:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:258:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:258:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:258:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:264:
undefined reference to `BIO_clear_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:281:
undefined reference to `BIO_set_flags'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `bio_bucket_write':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:299:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:300:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:300:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:300:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:306:
undefined reference to `BIO_clear_flags'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `cleanup_ssl':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:950:
undefined reference to `CRYPTO_set_locking_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:951:
undefined reference to `CRYPTO_set_id_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:952:
undefined reference to `CRYPTO_set_dynlock_create_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:953:
undefined reference to `CRYPTO_set_dynlock_lock_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:954:
undefined reference to `CRYPTO_set_dynlock_destroy_callback'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `ssl_init_context':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1218:
undefined reference to `SSLv23_client_method'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1218:
undefined reference to `SSL_CTX_new'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1220:
undefined reference to `SSL_CTX_set_client_cert_cb'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1231:
undefined reference to `SSL_CTX_set_verify'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1233:
undefined reference to `SSL_CTX_ctrl'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `disable_compression':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1649:
undefined reference to `SSL_CTX_ctrl'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `ssl_init_context':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1237:
undefined reference to `SSL_new'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1238:
undefined reference to `BIO_new'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1241:
undefined reference to `SSL_set_bio'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1243:
undefined reference to `SSL_set_connect_state'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1245:
undefined reference to `SSL_set_ex_data'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `init_ssl_libraries':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:980:
undefined reference to `SSLeay'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:990:
undefined reference to `CRYPTO_set_mem_functions'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:991:
undefined reference to `ERR_load_crypto_strings'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:992:
undefined reference to `SSL_load_error_strings'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:993:
undefined reference to `SSL_library_init'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:994:
undefined reference to `OPENSSL_add_all_algorithms_noconf'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:997:
undefined reference to `CRYPTO_num_locks'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1010:
undefined reference to `CRYPTO_set_locking_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1011:
undefined reference to `CRYPTO_set_id_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1012:
undefined reference to `CRYPTO_set_dynlock_create_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1013:
undefined reference to `CRYPTO_set_dynlock_lock_callback'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1014:
undefined reference to `CRYPTO_set_dynlock_destroy_callback'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `ssl_decrypt':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:603:
undefined reference to `SSL_read'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:605:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:691:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:627:
undefined reference to `SSL_read'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:664:
undefined reference to `SSL_get_shutdown'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:666:
undefined reference to `SSL_get_error'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:631:
undefined reference to `SSL_get_error'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `ssl_encrypt':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:731:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:731:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:740:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:796:
undefined reference to `SSL_write'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:725:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:881:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:881:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:886:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:886:
undefined reference to `BIO_test_flags'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:886:
more undefined references to `BIO_test_flags' follow
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `ssl_encrypt':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:815:
undefined reference to `SSL_get_error'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `validate_server_certificate':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:439:
undefined reference to `SSL_get_ex_data_X509_STORE_CTX_idx'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:439:
undefined reference to `X509_STORE_CTX_get_ex_data'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:441:
undefined reference to `SSL_get_ex_data'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:443:
undefined reference to `X509_STORE_CTX_get_current_cert'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:444:
undefined reference to `X509_STORE_CTX_get_error_depth'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:478:
undefined reference to `X509_cmp_current_time'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:523:
undefined reference to `X509_STORE_CTX_get_chain'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:542:
undefined reference to `sk_num'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:550:
undefined reference to `sk_value'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:449:
undefined reference to `X509_STORE_CTX_get_error'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:481:
undefined reference to `X509_cmp_current_time'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_set_hostname':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1317:
undefined reference to `SSL_ctrl'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1318:
undefined reference to `ERR_clear_error'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `ssl_need_client_cert':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1023:
undefined reference to `SSL_get_ex_data'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1061:
undefined reference to `BIO_new'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1065:
undefined reference to `d2i_PKCS12_bio'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1068:
undefined reference to `PKCS12_parse'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1086:
undefined reference to `ERR_get_error'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1087:
undefined reference to `ERR_clear_error'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1140:
undefined reference to `PKCS12_free'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1071:
undefined reference to `PKCS12_free'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1104:
undefined reference to `PKCS12_parse'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1133:
undefined reference to `PKCS12_free'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1106:
undefined reference to `PKCS12_free'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `bio_file_read':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:324:
undefined reference to `BIO_clear_flags'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:332:
undefined reference to `BIO_set_flags'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `bio_file_write':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:348:
undefined reference to `BIO_clear_flags'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_trust_cert':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1360:
undefined reference to `SSL_CTX_get_cert_store'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1362:
undefined reference to `X509_STORE_add_cert'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_load_cert_file':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1341:
undefined reference to `PEM_read_X509'
/home/user/pour-svn/subversion-1.8.3/serf//lib/libserf-1.a(ssl_buckets.o):
In function `serf_ssl_use_default_certificates':
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1326:
undefined reference to `SSL_CTX_get_cert_store'
/home/user/pour-svn/subversion-1.8.3/serf/buckets/ssl_buckets.c:1328:
undefined reference to `X509_STORE_set_default_paths'
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Erreur 1



Here what I do :

test -d subversion-1.8.3 && rm -rf subversion-1.8.3
tar zxvf subversion-1.8.3.tar.gz

cd subversion-1.8.3
tar zxvf ../apr-1.4.6.tar.gz
tar zxvf ../apr-util-1.5.2.tar.gz
tar zxvf ../scons-local-2.3.0.tar.gz
tar jxvfmp ../serf-1.3.1.tar.bz2
unzip ../sqlite-amalgamation-3071501.zip
tar zfxvmp ../zlib-1.2.8.tar.gz
tar zxvf ../openssl-1.0.1e.tar.gz


mv zlib-1.2.8 zlib
mv sqlite-amalgamation-3071501 sqlite-amalgamation
mv serf-1.3.1 serf
mv apr-util-1.5.2 apr-util
mv apr-1.4.6 apr
ln -s openssl-1.0.1e openssl


cd apr
./configure --prefix $PWD --enable-static
make
make install

cd ../apr-util
./configure --with-apr=$PWD/../apr/bin/apr-1-config --prefix=$PWD
make
make install

cd ../zlib
./configure --prefix=$PWD --static
make
make install

cd ../openssl
./config -fPIC --prefix=$PWD/../install-openssl -static  ;make; make
install;

cd ../serf
../scons.py APR=$PWD/../apr/ APU=$PWD/../apr-util  PREFIX=$PWD
APR_STATIC=yes ZLIB=$PWD/../zlib OPENSSL=$PWD/../install-openssl
../scons.py install


cd ..
sh autogen.sh
./configure --prefix $HOME/svn-1.8.3  --with-ssl=$PWD/install-openssl
--without-gssapi --without-swig --enable-all-static --without-sasl
--with-apr=$PWD/apr/ --with-apr-util=$PWD/apr-util/ --with-zlib=$PWD/zlib
--with-serf=$PWD/serf/ --with-openssl=$PWD/install-openssl
make;



Thansk a lot.

Mime
View raw message