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 
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:
  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 Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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