[ expat-Patches-515804 ] compile expat-1.95.2 on cygwin (_imp__)

noreply@sourceforge.net noreply@sourceforge.net
Mon Feb 11 00:52:04 2002


Patches item #515804, was opened at 2002-02-11 00:51
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=515804&group_id=10127

Category: Build Control
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dmitry Frolov (endsguy)
Assigned to: Greg Stein (gstein)
Summary: compile expat-1.95.2 on cygwin (_imp__)

Initial Comment:
When compiling unmodified expat-1.95.2 on cygwin 
following errors occur:
"make[1]: Entering directory 
`/home/Administrator/expat-1.95.2/xmlwf'
gcc -o xmlwf -static xmlwf.o xmlfile.o codepage.o 
unixfilemap.o -L../lib/.libs -
lexpat
xmlwf.o: In function `defaultCharacterData':
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:239: 
undefined reference to `_imp
__XML_DefaultCurrent'
xmlwf.o: In function `defaultStartElement':"
To fix this a small change should be done to 
expat.h.in. This will cause gcc to link with correct 
names to the libexpat.a.

Apply the patch and see for yourself, this patch has 
been tested only one one cygwin installation...



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=310127&aid=515804&group_id=10127