[Expat-bugs] [Bug #116700] Build Error on Win32/Cygwin

noreply@sourceforge.net noreply@sourceforge.net
Thu, 12 Oct 2000 05:33:07 -0700


Bug #116700, was updated on 2000-Oct-12 05:33
Here is a current snapshot of the bug.

Project: Expat XML Parser
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: Build Error on Win32/Cygwin

Details: When building on cygwin 1.1.4, the ./configure script works fine.  However, make produces the following output.

{08:33:11:expat-1.95.0:593}$ make
cd lib; make
make[1]: Entering directory `/usr/src/expat-1.95.0/lib'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -DPACKAGE=expat -DVERSION=
1.95.0 -I. -I..  -g -O2 -c xmlparse.c
mkdir .libs
gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"1.95.0\" -I. -I.. -g -O2 -Wp
,-MD,.deps/xmlparse.pp -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 -DVERSION=
1.95.0 -I. -I..  -g -O2 -c xmltok.c
rm -f .libs/xmltok.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"1.95.0\" -I. -I.. -g -O2 -Wp
,-MD,.deps/xmltok.pp -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 -DVERSION=
1.95.0 -I. -I..  -g -O2 -c xmlrole.c
rm -f .libs/xmlrole.lo
gcc -DHAVE_CONFIG_H -DPACKAGE=\"expat\" -DVERSION=\"1.95.0\" -I. -I.. -g -O2 -Wp
,-MD,.deps/xmlrole.pp -c xmlrole.c  -DPIC -o .libs/xmlrole.lo
mv -f .libs/xmlrole.lo xmlrole.o
(cd . && ln -s xmlrole.o xmlrole.lo)
/bin/sh ../libtool --mode=link  gcc -version-info 0:0:0 -g -O2  -o libexpat.la -
rpath /usr/local/lib  xmlparse.lo xmltok.lo xmlrole.lo
rm -fr .libs/libexpat.la .libs/libexpat.* .libs/libexpat.*
generating symbol list for `libexpat.la'
test -f .libs/libexpat-0-0-0.dll-ltdll.c || sed -e "/^# \/\* ltdll\.c starts her
e \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < ../libtool > .l
ibs/libexpat-0-0-0.dll-ltdll.c
 test -f .libs/libexpat-0-0-0.dll-ltdll.o || (cd .libs && gcc -c libexpat-0-0-0.
dll-ltdll.c)
libexpat-0-0-0.dll-ltdll.c:15: conflicting types for `_cygwin_dll_entry'
libexpat-0-0-0.dll-ltdll.c:15: previous declaration of `_cygwin_dll_entry'
make[1]: *** [libexpat.la] Error 1
make[1]: Leaving directory `/usr/src/expat-1.95.0/lib'
make: *** [lib] Error 2

I can email the generated Makefile and libtool script if it would help.

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=116700&group_id=10127