Re: Re: [xml] Re: XML - tutorial compilation



-----Original Message-----
From: Daniel Veillard <veillard redhat com>

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

Thanks. I didn't know about the xml2-config.

-roland




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