[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problem building on OS X Lion

From: Patrick May <patrick.may_at_mac.com>
Date: Sat, 23 Mar 2013 17:28:53 -0400

        I downloaded the subversion-1.7.8 tar ball and attempted to build it on OS X 10.8.3 with the latest version of Xcode installed. After "configure --prefix=/usr/local", running make gives the errors attached below. Is there something wrong with my build environment?

Thanks,

Patrick

cd subversion/svn && /bin/sh /Users/Patrick/packages/subversion-1.7.8/libtool --tag=CC --silent --mode=link gcc -g -O2 -Werror=implicit-function-declaration -rpath /usr/local/lib -o svn add-cmd.lo blame-cmd.lo cat-cmd.lo changelist-cmd.lo checkout-cmd.lo cleanup-cmd.lo commit-cmd.lo conflict-callbacks.lo copy-cmd.lo delete-cmd.lo diff-cmd.lo export-cmd.lo help-cmd.lo import-cmd.lo info-cmd.lo list-cmd.lo lock-cmd.lo log-cmd.lo main.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 switch-cmd.lo tree-conflicts.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 -laprutil-1 -lapr-1 -L/usr/local/lib -lneon -lz -L/opt/local/lib -lssl -lcrypto -dynamic -Wl,-search_paths_first -lkrb5 -lexpat -framework Security -framework CoreFoundation -framework CoreServices
ld: warning: ignoring file /usr/local/lib/libaprutil-1.dylib, missing required architecture x86_64 in file /usr/local/lib/libaprutil-1.dylib (2 slices)
ld: warning: ignoring file /usr/local/lib/libapr-1.dylib, missing required architecture x86_64 in file /usr/local/lib/libapr-1.dylib (2 slices)
ld: warning: ignoring file /usr/local/lib/libz.a, file was built for archive which is not the architecture being linked (x86_64): /usr/local/lib/libz.a
ld: warning: ignoring file /usr/local/lib/libexpat.dylib, missing required architecture x86_64 in file /usr/local/lib/libexpat.dylib (2 slices)
Undefined symbols for architecture x86_64:
  "_apr_allocator_create", referenced from:
      _main in main.o
  "_apr_allocator_max_free_set", referenced from:
      _main in main.o
  "_apr_allocator_owner_set", referenced from:
      _main in main.o
  "_apr_array_make", referenced from:
      _svn_cl__add in add-cmd.o
      _svn_cl__cat in cat-cmd.o
      _svn_cl__changelist in changelist-cmd.o
      _svn_cl__copy in copy-cmd.o
      svn_cl(double, int, float, float)in diff-cmd.o
      _svn_cl__log in log-cmd.o
      _main in main.o
      ...
  "_apr_array_pop", referenced from:
      _svn_cl__checkout in checkout-cmd.o
      _svn_cl__copy in copy-cmd.o
      _log_entry_receiver_xml in log-cmd.o
      _log_entry_receiver in log-cmd.o
      _svn_cl__move in move-cmd.o
  "_apr_array_push", referenced from:
      _svn_cl__copy in copy-cmd.o
      svn_cl(double, int, float, float)in diff-cmd.o
      _svn_cl__log in log-cmd.o
      _log_entry_receiver_xml in log-cmd.o
      _log_entry_receiver in log-cmd.o
      _main in main.o
      _svn_cl__merge in merge-cmd.o
      ...
  "_apr_env_get", referenced from:
      _svn_cl__merge_file_externally in util.o
  "_apr_file_close", referenced from:
      _svn_cl__edit_string_externally in util.o
  "_apr_file_mtime_set", referenced from:
      _svn_cl__edit_string_externally in util.o
  "_apr_file_open_stderr", referenced from:
      svn_cl(double, int, float, float)in diff-cmd.o
      _log_entry_receiver in log-cmd.o
  "_apr_file_open_stdout", referenced from:
      svn_cl(double, int, float, float)in diff-cmd.o
      _log_entry_receiver in log-cmd.o
  "_apr_file_write_full", referenced from:
      _svn_cl__edit_string_externally in util.o
  "_apr_filepath_get", referenced from:
      _svn_cl__edit_string_externally in util.o
      _svn_cl__merge_file_externally in util.o
      _svn_cl__edit_file_externally in util.o
  "_apr_filepath_set", referenced from:
      _svn_cl__edit_string_externally in util.o
      _svn_cl__edit_file_externally in util.o
  "_apr_getopt_long", referenced from:
      _main in main.o
  "_apr_hash_count", referenced from:
      _svn_cl__log in log-cmd.o
      _log_entry_receiver_xml in log-cmd.o
      _svn_cl__propget in propget-cmd.o
      _svn_cl__status in status-cmd.o
  "_apr_hash_first", referenced from:
      _svn_cl__log in log-cmd.o
      _log_entry_receiver_xml in log-cmd.o
      _svn_cl__status in status-cmd.o
  "_apr_hash_get", referenced from:
      _svn_cl__commit in commit-cmd.o
      _log_entry_receiver in log-cmd.o
      _main in main.o
      _svn_cl__propedit in propedit-cmd.o
      _print_status in status-cmd.o
      _svn_cl__make_log_msg_baton in util.o
      _find_editor_binary in util.o
      ...
  "_apr_hash_make", referenced from:
      _main in main.o
      _svn_cl__propget in propget-cmd.o
      _svn_cl__status in status-cmd.o
      _svn_cl__print_status_xml in status.o
      _add_conflict_version_xml in tree-conflicts.o
      _svn_cl__append_tree_conflict_info_xml in tree-conflicts.o
  "_apr_hash_next", referenced from:
      _svn_cl__log in log-cmd.o
      _log_entry_receiver_xml in log-cmd.o
      _svn_cl__status in status-cmd.o
  "_apr_hash_set", referenced from:
      _main in main.o
      _svn_cl__propget in propget-cmd.o
      _print_status in status-cmd.o
      _svn_cl__print_status_xml in status.o
      _add_conflict_version_xml in tree-conflicts.o
      _svn_cl__append_tree_conflict_info_xml in tree-conflicts.o
  "_apr_ltoa", referenced from:
      _add_conflict_version_xml in tree-conflicts.o
  "_apr_palloc", referenced from:
      _svn_cl__conflict_baton_make in conflict-callbacks.o
      _svn_cl__copy in copy-cmd.o
      _main in main.o
      _svn_cl__merge in merge-cmd.o
      _svn_cl__get_notifier in notify.o
      _print_status in status-cmd.o
      _svn_cl__make_log_msg_baton in util.o
      ...
  "_apr_pool_clear", referenced from:
      _svn_cl__add in add-cmd.o
      _svn_cl__blame in blame-cmd.o
      _svn_cl__cat in cat-cmd.o
      _svn_cl__checkout in checkout-cmd.o
      _svn_cl__cleanup in cleanup-cmd.o
      _svn_cl__conflict_handler in conflict-callbacks.o
      svn_cl(double, int, float, float)in diff-cmd.o
      ...
  "_apr_pool_destroy", referenced from:
      _svn_cl__add in add-cmd.o
      _svn_cl__blame in blame-cmd.o
      _svn_cl__cat in cat-cmd.o
      _svn_cl__checkout in checkout-cmd.o
      _svn_cl__cleanup in cleanup-cmd.o
      _svn_cl__conflict_handler in conflict-callbacks.o
      svn_cl(double, int, float, float)in diff-cmd.o
      ...
  "_apr_psprintf", referenced from:
      _blame_receiver_xml in blame-cmd.o
      _print_line_info in blame-cmd.o
      _svn_cl__help in help-cmd.o
      _print_info_xml in info-cmd.o
      _print_dirent_xml in list-cmd.o
      _print_dirent in list-cmd.o
      _log_entry_receiver_xml in log-cmd.o
      ...
  "_apr_pstrcat", referenced from:
      _svn_cl__conflict_handler in conflict-callbacks.o
      _notify in notify.o
  "_apr_pstrdup", referenced from:
      _svn_cl__commit in commit-cmd.o
      _svn_cl__conflict_handler in conflict-callbacks.o
      _print_info_xml in info-cmd.o
      _main in main.o
      _print_status in status-cmd.o
      _changelist_receiver in util.o
      _svn_cl__get_log_message in util.o
      ...
  "_apr_signal", referenced from:
      _signal_handler in main.o
      _main in main.o
  "_apr_stat$INODE64", referenced from:
      _main in main.o
      _svn_cl__edit_string_externally in util.o
  "_apr_strftime", referenced from:
      _print_dirent in list-cmd.o
  "_apr_time_exp_lt", referenced from:
      _print_dirent in list-cmd.o
  "_apr_time_now", referenced from:
      _print_dirent in list-cmd.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Error 1
Received on 2013-03-23 22:29:31 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.