[ expat-Bugs-480273 ] Failing to install on Cygwin
noreply@sourceforge.net
noreply@sourceforge.net
Wed Nov 14 16:02:03 2001
Bugs item #480273, was opened at 2001-11-09 16:48
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=480273&group_id=10127
Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Carlos Araya (elrond25)
Assigned to: Greg Stein (gstein)
Summary: Failing to install on Cygwin
Initial Comment:
When trying to build against cygwin 1.3.4 I get the
following list of errors:
$ make
cd lib && make
make[1]: Entering directory `/home/Administrator/expat-
1.95.2/lib'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -
DPACKAGE='"expat"' -DVERS
ION='"expat_1.95.2"' -I. -I. -I.. -g -O2 -Wall -
Wmissing-prototypes -Wstrict-pr
ototypes -fexceptions -c xmlparse.c
mkdir .libs
gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -
DVERSION=\expat_1.95.2\ -I. -I. -I..
-g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -
fexceptions -c xmlparse.c
-DPIC -o .libs/xmlparse.lo
mv -f .libs/xmlparse.lo xmlparse.o
(cd . && ln -s xmlparse.o xmlparse.lo)
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -
DPACKAGE='"expat"' -DVERS
ION='"expat_1.95.2"' -I. -I. -I.. -g -O2 -Wall -
Wmissing-prototypes -Wstrict-pr
ototypes -fexceptions -c xmltok.c
rm -f .libs/xmltok.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -
DVERSION=\expat_1.95.2\ -I. -I. -I..
-g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -
fexceptions -c xmltok.c
-DPIC -o .libs/xmltok.lo
mv -f .libs/xmltok.lo xmltok.o
(cd . && ln -s xmltok.o xmltok.lo)
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -
DPACKAGE='"expat"' -DVERS
ION='"expat_1.95.2"' -I. -I. -I.. -g -O2 -Wall -
Wmissing-prototypes -Wstrict-pr
ototypes -fexceptions -c xmlrole.c
rm -f .libs/xmlrole.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\expat\ -
DVERSION=\expat_1.95.2\ -I. -I. -I..
-g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -
fexceptions -c xmlrole.c
-DPIC -o .libs/xmlrole.lo
xmlrole.c:7: warning: `RCSId' defined but not used
mv -f .libs/xmlrole.lo xmlrole.o
(cd . && ln -s xmlrole.o xmlrole.lo)
/bin/sh ../libtool --mode=link gcc -version-info
1:0:1 -g -O2 -Wall -Wmissing-p
rototypes -Wstrict-prototypes -fexceptions -o
libexpat.la -rpath /usr/local/lib
xmlparse.lo xmltok.lo xmlrole.lo
libtool: link: warning: undefined symbols not allowed
in i686-pc-cygwin shared l
ibraries
rm -
fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
ar cru .libs/libexpat.a xmlparse.o xmltok.o xmlrole.o
ranlib .libs/libexpat.a
creating libexpat.la
(cd .libs && rm -f libexpat.la && ln -s ../libexpat.la
libexpat.la)
make[1]: Leaving directory `/home/Administrator/expat-
1.95.2/lib'
cd xmlwf && make
make[1]: Entering directory `/home/Administrator/expat-
1.95.2/xmlwf'
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib
-c -o xmlwf.o xmlwf.c
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib
-c -o xmlfile.o xmlfile.c
xmlfile.c: In function `processStream':
xmlfile.c:149: warning: implicit declaration of
function `close'
xmlfile.c:153: warning: implicit declaration of
function `read'
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib
-c -o codepage.o codepage.c
gcc -g -O2 -Wall -Wmissing-prototypes -Wstrict-
prototypes -fexceptions -I../lib
-c -o unixfilemap.o unixfilemap.c
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':
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:244:
undefined reference to `_imp
__XML_DefaultCurrent'
xmlwf.o: In function `defaultEndElement':
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:249:
undefined reference to `_imp
__XML_DefaultCurrent'
xmlwf.o: In function `defaultProcessingInstruction':
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:254:
undefined reference to `_imp
__XML_DefaultCurrent'
xmlwf.o: In function `metaLocation':
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:283:
undefined reference to `_imp
__XML_GetBase'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:286:
undefined reference to `_imp
__XML_GetCurrentColumnNumber'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:286:
undefined reference to `_imp
__XML_GetCurrentLineNumber'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:286:
undefined reference to `_imp
__XML_GetCurrentByteCount'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:286:
undefined reference to `_imp
__XML_GetCurrentByteIndex'
xmlwf.o: In function `metaStartElement':
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:311:
undefined reference to `_imp
__XML_GetSpecifiedAttributeCount'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:313:
undefined reference to `_imp
__XML_GetIdAttributeIndex'
xmlwf.o: In function `main':
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:676:
undefined reference to `_imp
__XML_ParserCreateNS'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:678:
undefined reference to `_imp
__XML_ParserCreate'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:680:
undefined reference to `_imp
__XML_SetNotStandaloneHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:681:
undefined reference to `_imp
__XML_SetParamEntityParsing'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:686:
undefined reference to `_imp
__XML_SetElementHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:687:
undefined reference to `_imp
__XML_SetCharacterDataHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:711:
undefined reference to `_imp
__XML_SetUserData'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:714:
undefined reference to `_imp
__XML_UseParserAsHandlerArg'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:715:
undefined reference to `_imp
__XML_SetElementHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:716:
undefined reference to `_imp
__XML_SetProcessingInstructionHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:717:
undefined reference to `_imp
__XML_SetCommentHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:718:
undefined reference to `_imp
__XML_SetCdataSectionHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:719:
undefined reference to `_imp
__XML_SetCharacterDataHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:720:
undefined reference to `_imp
__XML_SetDoctypeDeclHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:721:
undefined reference to `_imp
__XML_SetEntityDeclHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:722:
undefined reference to `_imp
__XML_SetNotationDeclHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:723:
undefined reference to `_imp
__XML_SetNamespaceDeclHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:727:
undefined reference to `_imp
__XML_UseParserAsHandlerArg'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:728:
undefined reference to `_imp
__XML_SetDefaultHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:729:
undefined reference to `_imp
__XML_SetElementHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:730:
undefined reference to `_imp
__XML_SetCharacterDataHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:731:
undefined reference to `_imp
__XML_SetProcessingInstructionHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:737:
undefined reference to `_imp
__XML_SetElementHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:738:
undefined reference to `_imp
__XML_SetCharacterDataHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:740:
undefined reference to `_imp
__XML_SetProcessingInstructionHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:746:
undefined reference to `_imp
__XML_SetUnknownEncodingHandler'
/home/Administrator/expat-1.95.2/xmlwf/xmlwf.c:756:
undefined reference to `_imp
__XML_ParserFree'
xmlfile.o: In function `reportError':
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:48:
undefined reference to `_im
p__XML_GetErrorCode'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:49:
undefined reference to `_im
p__XML_ErrorString'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:51:
undefined reference to `_im
p__XML_GetCurrentColumnNumber'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:51:
undefined reference to `_im
p__XML_GetCurrentLineNumber'
xmlfile.o: In function `processFile':
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:68:
undefined reference to `_im
p__XML_Parse'
xmlfile.o: In function `externalEntityRefFilemap':
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:124:
undefined reference to `_i
mp__XML_ExternalEntityParserCreate'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:129:
undefined reference to `_i
mp__XML_SetBase'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:133:
undefined reference to `_i
mp__XML_ParserFree'
xmlfile.o: In function `processStream':
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:147:
undefined reference to `_i
mp__XML_GetBuffer'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:159:
undefined reference to `_i
mp__XML_ParseBuffer'
xmlfile.o: In function `externalEntityRefStream':
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:182:
undefined reference to
`_imp__XML_ExternalEntityParserCreate'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:184:
undefined reference to `_imp__XML_SetBase'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:187:
undefined reference to `_imp__XML_ParserFree'
xmlfile.o: In function `XML_ProcessFile':
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:197:
undefined reference to `_imp__XML_SetBase'
/home/Administrator/expat-1.95.2/xmlwf/xmlfile.c:203:
undefined reference to
`_imp__XML_SetExternalEntityRefHandler'
collect2: ld returned 1 exit status
make[1]: *** [xmlwf] Error 1
make[1]: Leaving directory `/home/Administrator/expat-
1.95.2/xmlwf'
make: *** [xmlwf] Error 2
Don't know what the problem is and I need to get
XML::Parser and other software installed soon
----------------------------------------------------------------------
Comment By: Gerrit Haase (siebenschlaefer)
Date: 2001-11-14 16:01
Message:
Logged In: YES
user_id=76037
Apply my patch and make sure you are using the latest
binutils and cygwin 1.3.5 (latest of the latest versions
available;)
I posted the patch here, (all in one line, please):
http://sourceforge.net/tracker/index.php?
func=detail&aid=474548&group_id=10127&atid=310127
Gerrit
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=110127&aid=480273&group_id=10127