Re: [xml] xmlTextReaderConstName - undefined reference



You need to upgrade to the latest version.

Cheers,
John



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?
 
Thanks.



---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!



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