Re: [xml] status of xmlBufEnd() and xmlBufContent()



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

thinkpad:~/XML -> grep -C4 xmlBufContent libxml2.syms 
LIBXML2_2.9.0 {
    global:

# tree
  xmlBufContent;
  xmlBufEnd;
  xmlBufGetNodeContent;
  xmlBufNodeDump;
  xmlBufShrink;
thinkpad:~/XML -> 

  yes they are, added in 2.9.0,

Daniel

-- 
Daniel Veillard      | Open Source and Standards, Red Hat
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]