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

noreply@sourceforge.net noreply@sourceforge.net
Fri May 17 17:32:02 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: Closed
>Resolution: Accepted
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...



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

>Comment By: Greg Stein (gstein)
Date: 2002-05-17 17:31

Message:
Logged In: YES 
user_id=6501

This patch has been accepted and applied.

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

Comment By: Gerrit Haase (siebenschlaefer)
Date: 2002-02-17 06:18

Message:
Logged In: YES 
user_id=76037

I sent a new (completer) patch recently here:
https://sourceforge.net/tracker/index.php?
func=detail&aid=501295&group_id=10127&atid=310127

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

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