Notices


Reply
Thread Tools
Posts: 38 | Thanked: 24 times | Joined on Mar 2011 @ India
#51
Okay I was able to compile apr-1.3.12 and apr-util-1.3.10
on scratchbox x86 config
I am also able to run autogen and configure scripts for subversion

but when I try to compile the source by invoking make command it returns error.

Code:
cd subversion/svn && /bin/sh /home/maemo/svn/subversion-1.6.12/libtool --tag=CC --silent --mode=link gcc  -g -O2  -g -O2 -pthread  -D_LARGEFILE64_SOURCE -DNE_LFS   -rpath /usr/local/lib -o svn  add-cmd.o blame-cmd.o cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o conflict-callbacks.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o help-cmd.o import-cmd.o info-cmd.o list-cmd.o lock-cmd.o log-cmd.o main.o merge-cmd.o mergeinfo-cmd.o mkdir-cmd.o move-cmd.o notify.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o tree-conflicts.o unlock-cmd.o update-cmd.o util.o ../../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 /usr/local/apr/lib/libaprutil-1.la     -lexpat /usr/local/apr/lib/libapr-1.la -lrt -lcrypt  -lpthread -ldl -L/scratchbox/devkits/svn/lib -Wl,-rpath -Wl,/scratchbox/host_shared/lib/ -Wl,-rpath -Wl,/scratchbox/tools/lib/ -Wl,-rpath -Wl,/scratchbox/devkits/svn/lib/ -L/scratchbox/devkits/svn/lib -lneon
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_NAME_entry_count'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_set_ex_data'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_connect'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `i2d_X509'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_session'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_set_client_CA_list'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `sk_pop_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `GENERAL_NAME_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `sk_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PEM_read_X509'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `ASN1_STRING_to_UTF8'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PKCS12_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get1_session'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_set_session'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `OPENSSL_add_all_algorithms_noconf'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PKCS12_SAFEBAG_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_NAME_get_index_by_NID'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_set_verify'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_SESSION_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `sk_value'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_ctrl'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_load_error_strings'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_NAME_cmp'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_peer_certificate'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_get_subject_name'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `ERR_clear_error'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_NAME_get_entry'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `d2i_PKCS12_fp'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `CRYPTO_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_get_ext_d2i'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_cmp_current_time'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_new'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_verify_result'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PKCS7_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_read'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_set_fd'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_pending'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_verify_cert_error_string'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_load_client_CA_file'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_load_verify_locations'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PKCS12_unpack_p7data'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `ERR_get_error'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_dup'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSLv23_client_method'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `CRYPTO_set_mem_functions'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `ERR_reason_error_string'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `sk_num'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `d2i_X509'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PEM_write_X509'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `EVP_PKEY_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_use_PrivateKey_file'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_library_init'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_use_certificate_file'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_client_CA_list'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_ex_data'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PKCS12_get_friendlyname'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_new'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_SESSION_cmp'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_write'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `RAND_pseudo_bytes'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_get_cert_store'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_alias_get0'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_check_private_key'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PKCS12_unpack_authsafes'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `OBJ_nid2obj'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_print_fp'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `sk_new_null'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_accept'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSLv2_server_method'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_shutdown'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_digest'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_get_issuer_name'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `RAND_status'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_version'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_ctrl'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `OBJ_cmp'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_cmp'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `EVP_sha1'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_NAME_ENTRY_get_data'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_error'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_STORE_set_default_paths'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_CTX_free'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `sk_push'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `OBJ_obj2nid'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSLv23_server_method'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `PKCS12_parse'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `X509_STORE_add_cert'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSLeay'
/home/maemo/svn/subversion-1.6.12/subversion/libsvn_ra_neon/.libs/libsvn_ra_neon-1.so: undefined reference to `SSL_get_peer_cert_chain'
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Error 1
 

The Following User Says Thank You to sat2050 For This Useful Post:
ajack's Avatar
Posts: 288 | Thanked: 175 times | Joined on Oct 2010 @ Petaling Jaya, Selangor, Malaysia
#52
Are you missing libopenssl-dev package?
__________________
Visit my blog at http://lifewithmaemo.blogspot.com or my website at http://www.renegade-uiq.com
 
Posts: 38 | Thanked: 24 times | Joined on Mar 2011 @ India
#53
Originally Posted by ajack View Post
Are you missing libopenssl-dev package?
Its already thr

Code:
apt-get install libssl-dev
Reading package lists... Done
Building dependency tree... Done
libssl-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
 
Posts: 38 | Thanked: 24 times | Joined on Mar 2011 @ India
#54
Adding --without-neon I was able to compile svn on scratchbox x86

Code:
[sbox-FREMANTLE_X86: ~/svn/subversion-1.6.12] > ./subversion/svn/svn --version
svn, version 1.6.12 (r955767)
   compiled Mar 25 2011, 05:43:34

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
 

The Following User Says Thank You to sat2050 For This Useful Post:
mece's Avatar
Posts: 1,111 | Thanked: 1,985 times | Joined on Aug 2009 @ Åbo, Finland
#55
Solved this one like this:
Code:
root
apt-get install libaprutil1=1.3.9-2
apt-get install libapr1=1.4.2-1
No segfault after that.

Edit: Doing apt-get upgrade would break it again, naturally. But at least this method is simple enough for anyone to do.
__________________
Class .. : Meddler, Thread watcher, Developer, Helper
Humor .. : [********--] Alignment: Pacifist
Patience : [*****-----] Weapon(s): N900, N950, Metal music
Agro ... : [----------] Relic(s) : N95, NGage, Tamyia Wild One

Try Tweed Suit for your hardcore twittering needs
http://twitter.com/mece66
I like my coffee black, like my metal.

Last edited by mece; 2011-03-25 at 10:53.
 

The Following 6 Users Say Thank You to mece For This Useful Post:
ajack's Avatar
Posts: 288 | Thanked: 175 times | Joined on Oct 2010 @ Petaling Jaya, Selangor, Malaysia
#56
@Mece: Thanks man! You've saved me from a lot of heartache!

@Sat2050: Thanks for the effort, but I guess I'll use Mece's method which is so much easier for the average user to follow. But your efforts is GREATLY APPRECIATED!!!
__________________
Visit my blog at http://lifewithmaemo.blogspot.com or my website at http://www.renegade-uiq.com

Last edited by ajack; 2011-03-25 at 10:59.
 
Posts: 38 | Thanked: 24 times | Joined on Mar 2011 @ India
#57
Originally Posted by mece View Post
Solved this one like this:
Code:
root
apt-get install libaprutil1=1.3.9-2
apt-get install libapr1=1.4.2-1
No segfault after that.

Edit: Doing apt-get upgrade would break it again, naturally. But at least this method is simple enough for anyone to do.
Hey thanx for resolving the issue

Last edited by sat2050; 2011-03-25 at 12:40.
 

The Following User Says Thank You to sat2050 For This Useful Post:
Posts: 38 | Thanked: 24 times | Joined on Mar 2011 @ India
#58
Originally Posted by ajack View Post
@Mece: Thanks man! You've saved me from a lot of heartache!

@Sat2050: Thanks for the effort, but I guess I'll use Mece's method which is so much easier for the average user to follow. But your efforts is GREATLY APPRECIATED!!!
No worries I was able to understand SVN package completely
and I was able to compile it on ARMREL as well
 

The Following User Says Thank You to sat2050 For This Useful Post:
Posts: 9 | Thanked: 7 times | Joined on Jul 2010
#59
Originally Posted by mece View Post
Solved this one like this:
Code:
root
apt-get install libaprutil1=1.3.9-2
apt-get install libapr1=1.4.2-1
No segfault after that.

Edit: Doing apt-get upgrade would break it again, naturally. But at least this method is simple enough for anyone to do.
You are great!
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#60
Originally Posted by sat2050 View Post
No worries I was able to understand SVN package completely
and I was able to compile it on ARMREL as well
sat2050: I would much rather take your solution to mece's one. Can you possibly request to be the maintainer of the subversion package in the repository and push your fixed-for-latest-version-of-the-libs subversion package to the repository?

Not that I can't compile myself, and I probably will using your steps, but it'd be nice if people didn't have to deal with either of the fixes in this thread from now on.

- Edit -

My problem with Mece's solution is obviously we had something that installed a more recent version of that lib - if something else depends on the later lib, now or in the future, we're back into dependency hell.

Last edited by Mentalist Traceur; 2011-03-25 at 17:11. Reason: Elaboration
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:55.