Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#37 compile expat-1.95.2 on cygwin (_imp__)

closed-accepted
Greg Stein
5
2002-05-18
2002-02-11
Dmitry Frolov
No

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...

Discussion

  • Dmitry Frolov
    Dmitry Frolov
    2002-02-11

    patch to make expat compile on cygwin

     
  • 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

     
  • Greg Stein
    Greg Stein
    2002-05-18

    Logged In: YES
    user_id=6501

    This patch has been accepted and applied.

     
  • Greg Stein
    Greg Stein
    2002-05-18

    • status: open --> closed-accepted