On Mon, Oct 29, 2012 at 02:45:29PM +0100, Petr Sumbera wrote:
> Hi,
> 
> are functions mentioned in subject public or not?
> 
> Code in libxml2-2.9.0/testapi.c calls them but they are not listed
> in libxml2-2.9.0/libxml2.syms.
> 
> The result is problem during linking:
> 
> -bash-4.1$ /bin/bash ./libtool --silent --tag=CC   --mode=link
> /ws/on12-tools/SUNWspro/sunstudio12.1/bin/cc -D_REENTRANT   -m32
> -xO4 -xchip=pentium -xregs=no%frameptr    -mt -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64  -z defs -z direct -lpthread -o testapi
> testapi.o ./libxml2.la -lpthread -lz   -lm  -lsocket -lnslUndefined
> first referenced
>  symbol                             in file
> xmlBufEnd                           testapi.o
> xmlBufContent                       testapi.o
> ld: fatal: symbol referencing errors. No output written to .libs/testapi

  See doc/symbols.xml for an official version of the public symbols
in libxml2, the version they were added in (and in rare occasions
removed), this may help you generate corrects symbol files for your
linker,

Daniel

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
[email protected]  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to