[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'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x12c):gjobread.c: undefined reference to `xml
NodeListGetString'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x3e1):gjobread.c: undefined reference to `xml
GetProp'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x449):gjobread.c: undefined reference to `xml
NodeListGetString'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x491):gjobread.c: undefined reference to `xml
NodeListGetString'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x7b3):gjobread.c: undefined reference to `xml
ParseFile'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x7d4):gjobread.c: undefined reference to `xml
DocGetRootElement'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x807):gjobread.c: undefined reference to `xml
FreeDoc'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x829):gjobread.c: undefined reference to `xml
SearchNsByHref'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x85c):gjobread.c: undefined reference to `xml
FreeDoc'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x8aa):gjobread.c: undefined reference to `xml
FreeDoc'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x8f4):gjobread.c: undefined reference to `xml
FreeDoc'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x932):gjobread.c: undefined reference to `xml
IsBlankNode'
/cygdrive/d/Temp/cc7kARhf.o(.text+0x9de):gjobread.c: undefined reference to `xml
DocDump'
/cygdrive/d/Temp/cc7kARhf.o(.text+0xa06):gjobread.c: undefined reference to `xml
FreeDoc'
/cygdrive/d/Temp/cc7kARhf.o(.text+0xb70):gjobread.c: undefined reference to `xml
CheckVersion'
/cygdrive/d/Temp/cc7kARhf.o(.text+0xb7d):gjobread.c: undefined reference to `xml
KeepBlanksDefault'
collect2: ld returned 1 exit status

-- 
Vidar <vidar xinhuanet com>




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