[Vortex] getting error compiling axl

Jimmy Reza turinreza at gmail.com
Wed May 14 01:01:55 CEST 2008


i get an error after successful configure (on mac OS X 10.5)

ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libaxl-ns.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


not sure why i get undefined symbols after successful configure...
any thoughts?

sh-3.2# make
make  all-recursive
Making all in src
make[2]: Nothing to be done for `all'.
Making all in ns
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2   -o libaxl-ns.la -rpath
/usr/local/lib -no-undefined -export-symbols-regex '^(axl|__axl|_axl).*'
axl_ns_doc.lo axl_ns_node.lo
rm -fr  .libs/libaxl-ns.exp
generating symbol list for `libaxl-ns.la'
/usr/bin/nm -p  .libs/axl_ns_doc.o .libs/axl_ns_node.o  | sed -n -e
's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[
][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' |
sort | uniq > .libs/libaxl-ns.exp
/usr/bin/grep -E -e "^(axl|__axl|_axl).*" ".libs/libaxl-ns.exp" >
".libs/libaxl-ns.expT"
mv -f ".libs/libaxl-ns.expT" ".libs/libaxl-ns.exp"
sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < .libs/libaxl-ns.exp >
.libs/libaxl-ns-symbols.expsym
gcc -dynamiclib  -o .libs/libaxl-ns.0.0.0.dylib  .libs/axl_ns_doc.o
.libs/axl_ns_node.o   -install_name  /usr/local/lib/libaxl-ns.0.dylib
-compatibility_version 1 -current_version 1.0
Undefined symbols:
  "_axl_calloc", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
  "_axl_hash_new_full", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
  "_axl_node_get_previous", referenced from:
      _axl_ns_node_get_previous_called in axl_ns_node.o
      _axl_ns_node_get_previous_called in axl_ns_node.o
  "_axl_node_get_parent", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_doc_node_check in axl_ns_doc.o
      _axl_ns_doc_check_default in axl_ns_doc.o
  "_axl_hash_insert", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
  "_axl_hash_exists", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_doc_node_check in axl_ns_doc.o
  "_axl_hash_string", referenced from:
      _axl_hash_string$non_lazy_ptr in axl_ns_doc.o
  "_axl_node_get_first_child", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_node_get_child_called in axl_ns_node.o
      _axl_ns_node_find_called in axl_ns_node.o
  "_axl_doc_get_root", referenced from:
      _axl_ns_doc_validate in axl_ns_doc.o
  "_axl_hash_free", referenced from:
      ___axl_ns_free_table in axl_ns_doc.o
  "_axl_node_annotate_get", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_doc_node_check in axl_ns_doc.o
      _axl_ns_doc_check_default in axl_ns_doc.o
  "_axl_hash_equal_string", referenced from:
      _axl_hash_equal_string$non_lazy_ptr in axl_ns_doc.o
  "_axl_memcmp", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
  "_axl_node_has_attributes", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
  "_axl_node_attr_cursor_get_value", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
  "_axl_node_attr_cursor_new", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
  "_axl_node_get_next", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_node_get_child_called in axl_ns_node.o
      _axl_ns_node_find_called in axl_ns_node.o
      _axl_ns_node_get_next_called in axl_ns_node.o
      _axl_ns_node_get_next_called in axl_ns_node.o
  "_axl_node_attr_cursor_get_key", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
  "_axl_node_get_name", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_node_is_prefixed in axl_ns_node.o
      _axl_ns_node_cmp in axl_ns_node.o
      _axl_ns_node_cmp in axl_ns_node.o
  "_axl_node_attr_cursor_first", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
  "_axl_node_attr_cursor_free", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
  "_axl_node_attr_cursor_next", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
  "_axl_cmp", referenced from:
      _axl_ns_doc_node_check in axl_ns_doc.o
      _axl_ns_doc_check_default in axl_ns_doc.o
      _axl_ns_node_cmp in axl_ns_node.o
  "_axl_free", referenced from:
      ___axl_ns_free_table in axl_ns_doc.o
  "_axl_hash_get", referenced from:
      _axl_ns_doc_node_check in axl_ns_doc.o
  "_axl_error_new", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_doc_validate in axl_ns_doc.o
  "_axl_node_annotate_data_full", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
  "_axl_log", referenced from:
      ___axl_ns_node_validate in axl_ns_doc.o
      _axl_ns_node_is_prefixed in axl_ns_node.o
      _axl_ns_node_cmp in axl_ns_node.o
      _axl_ns_node_get_next_called in axl_ns_node.o
      _axl_ns_node_get_previous_called in axl_ns_node.o
  "_axl_node_attr_cursor_has_item", referenced from:
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_check_and_install_ns_decls in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
      ___axl_ns_node_validate in axl_ns_doc.o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aspl.es/pipermail/vortex/attachments/20080513/e09d07f0/attachment-0001.htm 


More information about the Vortex mailing list