[Axl] Link errors on OS X

Francis Brosnan Blazquez francis at aspl.es
Tue Apr 29 10:41:11 CEST 2008


Hi Dave,

> Hrm... still the same issue.  It's looking like libaxl_ns_LDADD is  
> being passed through to Makefile.in, but it's not being used in  
> Makefile:
> 
> gcc -dynamiclib
> -o .libs/libaxl-ns.0.dylib  .libs/axl_ns_doc.o .libs/ 
> axl_ns_node.o   -install_name  /usr/local/lib/libaxl-ns.0.dylib -Wl,- 
> compatibility_version -Wl,1 -Wl,-current_version -Wl,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 is possible Makefile(.in) files aren't refreshed with changes
introduced, or they were refreshed but those sentences wasn't applied
for some reason. It is also estrange the compiler is mangling function
reference from axl_calloc to _axl_calloc. 

Check patch attached to also export symbols mangled to _axl. Cheers!

> -Dave
-- 
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 695 bytes
Desc: not available
Url : http://lists.aspl.es/pipermail/axl/attachments/20080429/dced7a10/attachment.bin 


More information about the Axl mailing list