Re: [Xml-coreutils-discuss] Compilation Problem
Status: Alpha
Brought to you by:
lbreyer
From: Latha G. <la...@ai...> - 2011-04-29 08:48:56
|
Hi, Thanks for the reply I downloaded and installed Expat just now Can u suggest how to purge system's Expat package and reinstall. Or can u specify how to make the makefile to look at /usr/local/lib/expat before others I tried installing with xml-coreutils-0.8.1.tar.gz and even there I encountered the same issue Regards latha -----Original Message----- From: la...@lb... [mailto:la...@lb...] Sent: Friday, April 29, 2011 12:48 PM To: Latha Ganesan Cc: xml...@li... Subject: Re: [Xml-coreutils-discuss] Compilation Problem Hi Latha, On Fri, 29 Apr 2011 11:51:32 +0530, Latha Ganesan <la...@ai...> wrote: > gcc -funsigned-char -Wall -pedantic -g -O2 -o xml-cat xml-cat.o > myerror.o mysignal.o common.o parser.o filelist.o io.o stdout.o mem.o > entities.o cstring.o wrap.o -lslang -lncurses -lexpat -lm > parser.o(.text+0x94): In function `stop_parser': > /home/lathag/xmlutils/xml-coreutils-0.8a/src/parser.c:60: undefined > reference to `XML_StopParser' > parser.o(.text+0xc0): In function `restart_parser': > /home/lathag/xmlutils/xml-coreutils-0.8a/src/parser.c:68: undefined > reference to `XML_ResumeParser' > parser.o(.text+0x694): In function `get_pstatus': > /home/lathag/xmlutils/xml-coreutils-0.8a/src/parser.c:276: undefined > reference to `XML_GetParsingStatus' > collect2: ld returned 1 exit status That's a strange error. It looks to me like your Expat library exists, but it is missing some functions. Did you install the latest version of Expat? If it's convenient, I would suggest purging your system's Expat package and reinstalling. If you installed Expat as a user in your home directory, I would suggest checking your paths to see if there's another copy of the Expat headers in the system. BTW, there's a more recent xml-coreutils-0.8.1.tar.gz file in the sourceforge download area. Cheers, Laird Breyer |