RE: Re[2]: [xml] gjobread example



You need to link against libxml2, just like you would on unix.

Rob

-----Original Message-----
From: Vidar [mailto:vidar xinhuanet com] 
Sent: Sunday, 14 July 2002 7:53 AM
To: Robert Collins
Subject: Re[2]: [xml] gjobread example


When I use "gcc -S gjobread.c" which do compile and assemble only, it
did work. If I use "gcc -o gjobread gjobread.c", it failed. What
parameter shall I use?

Thank you for your help.

On Sun, 14 Jul 2002 07:37:04 +1000
"Robert Collins" <robert collins syncretize net> wrote: 



-----Original Message-----
From: xml-admin gnome org [mailto:xml-admin gnome org] On 
Behalf Of Vidar
Sent: Sunday, 14 July 2002 3:25 AM
To: xml gnome org
Subject: [xml] gjobread example


I can compile and assemble gjobread.c, but when I try to 
link it, the
following message reports. anyone can help me about it?

btw: I am using cgywin and its building libxml
--------------------------------------------------------------
------------------
/cygdrive/d/Temp/cc7kARhf.o(.text+0xe5):gjobread.c: undefined 
reference to `xmlN
odeListGetString'

...

What is the link command line you are using?

Rob 

-- 
Vidar <vidar xinhuanet com>





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