[Axl] Link errors on OS X
Francis Brosnan Blazquez
francis at aspl.es
Mon Apr 28 20:05:33 CEST 2008
> Hello,
Hi Dave,
> I'm trying to build on Max OS X 10.5.2, and I'm getting link errors.
> In fact, this is the same problem I found in the archives. I tried
> the 2nd suggestion here, to no avail:
>
> <http://lists.aspl.es/pipermail/axl/2007-November/000053.html>
>
> It still fails at:
>
> gcc -dynamiclib -o .libs/libaxl-ns.0.0.0.dylib .libs/
> axl_ns_doc.o .libs/axl_ns_node.o -install_name /usr/local/encap/
> axl-0.4.14.b3237.g3237/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
> ...
>
> It seems that libaxl-ns isn't linking against libaxl?
Right. I see no reference to ../src/libaxl.0.dylib or something
similiar..
> As per suggestion #1 (upgrading libtool): GNU libtool on OS X is
> glibtool. /usr/bin/libtool is *not* GNU libtool on Mac OS X.
> However, since I'm only running ./configure and not automake/autoconf,
> this shouldn't really matter, AFAIK.
..certainly it shouldn't..
> Any suggestions?
I've updated Makefile.am at babel/ and ns/ directories to add an
explicit reference to libaxl.la object. Try it or latest svn [1].
Thanks for reporting Dave, Cheers!
> Thanks,
>
> -Dave
[1] https://dolphin.aspl.es/svn/publico/af-arch/trunk/libaxl/
--
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: axl.patch
Type: text/x-patch
Size: 824 bytes
Desc: not available
Url : http://lists.aspl.es/pipermail/axl/attachments/20080428/e801533d/attachment.bin
More information about the Axl
mailing list