[ expat-Bugs-454879 ] Compile of xmlwf fails in cygwin v1.95.2
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 27 Aug 2001 16:29:58 -0700
Bugs item #454879, was opened at 2001-08-24 00:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=454879&group_id=10127
Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Pabs (pabs3)
Assigned to: Greg Stein (gstein)
Summary: Compile of xmlwf fails in cygwin v1.95.2
Initial Comment:
make.log attached
The short of it is that the .o files in the xmlwf dir reference functions in the lib as _imp__<function name>,
but in the lib (libexpat.a) the functions are named _<function name> & just <function name>
Probably some gcc flag was omitted from one or the other.
Bye,
Pabs
----------------------------------------------------------------------
Comment By: David Crowley (dcrowley)
Date: 2001-08-27 16:29
Message:
Logged In: YES
user_id=27458
I have this same problem. I had to make a change to
expat.h. I fixed it by changing the macro for XMLPARSEAPI.
I just added the "&& !defined(__CYGWIN32)". Here it is:
#ifndef XMLPARSEAPI
# if defined(__declspec) && !defined(__BEOS__) && !defined
(__CYGWIN32__)
# define XMLPARSEAPI(type) __declspec(dllimport) type
__cdecl
# else
# define XMLPARSEAPI(type) type
# endif
#endif /* not defined XMLPARSEAPI */
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-08-26 22:38
Message:
Logged In: NO
to clarify v1.95.2 is the expat version number
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=454879&group_id=10127