RE: [xml] Undefined references: gjobread.c won't compile

Date view Thread view Subject view Author view

From: TOM (ptittom@free.fr)
Date: Fri Jan 05 2001 - 13:34:47 EST


Le 05/01/01 19:05:26, Dan Turchin a écrit :
> Meant to thank you for your reply. That's exactly what I was missing.
>
> -----Original Message-----
> From: Alfred Reibenschuh [SMTP:alfred.reibenschu@chello.at]
> you seem to lack the
> -lxml -L/usr/local/libxml2-2.10/
> options since you must link against the library too :)

Just use xml-config :
gcc `xml-config --cflags --libs` -g -Wall gjobread.c -o gjobread
It's been designed for that purpose.

Tom.

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Jan 05 2001 - 13:43:32 EST