Re: [xml] Re: XML - tutorial compilation



On Sat, Apr 26, 2003 at 07:13:16PM +0200, The MiP RvL wrote:
After reading in the mailinglist archives
that it had to do with libxml1 vs libxml2 issues
and hints that it should be with -lxml
I tried and it worked with:

cc -lxml xml2.c -o xml

  That looks wrong.
Use xml2-config --cflags and xml2-config --libs output to get the
C compiler flags and the linker library list to compile  code based
on libxml2.

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]