Re: [xml] xmlTextReaderConstName - undefined reference



On Thu, Jan 29, 2004 at 10:03:05AM -0800, Dave Feinleib wrote:
I am new to using xmlib2. I am trying to compile the sample reader1.c from xmlsoft.org. 
 
I get the following error:
 
/tmp/ccgAFllk.o(.text+0xd): In function 'processNode':
: undefined reference to 'xmlTextReaderConstName'
 
I've tried this with both libxml2 2.5.4 and 2.5.11 and get the same error.
 
My compile line looks like this:
 
gcc 'xml2-config --cflags --libs' -o reader1 reader1.c
 
Any suggestions?
 

  What about reading the page about getting help:
    http://xmlsoft.org/bugs.html
  there is in red so it should have caught your attention
    "Check the following before posting"
    "Make sure you are using a recent version, and that the problem still
     shows up in a recent version.

 So I will repeat what you didn;t bothered to read apparently
    "Try a recent version".

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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