[Expat-bugs] [ expat-Bugs-1063934 ] building expat-1.95.8 for win32 with mingw

SourceForge.net noreply at sourceforge.net
Fri Nov 26 11:29:38 CET 2004


Bugs item #1063934, was opened at 2004-11-10 08:35
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1063934&group_id=10127

Category: Build control
Group: Third-party Bug
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Greg Stein (gstein)
Summary: building expat-1.95.8 for win32 with mingw 

Initial Comment:
Hi!

I'm compiling expat-1.95.8 for win32 with mingw in an
cygwin-enviroment. During buildprocess i get following
error:

/bin/bash ./libtool --silent --mode=link g++-mingw -g
-O2 -Wall -Wmissing-prototypes -Wstrict-prototypes
-fexceptions -DHAVE_EXPAT_CONFIG_H   -I./lib -I.
-no-undefined -version-info 5:0:5 -rpath
/wamas/test/erudig/WX/cygwin_win32/lib
-Wl,--export-all,--kill-at -o libxmiexpat.la
lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/bin/ld:
warning: cannot find entry symbol
_DllMainCRTStartup at 12; defaulting to 00401000
/usr/lib/gcc-lib/i686-pc-mingw32/3.3.3/../../../../i686-pc-mingw32/lib/libmingw32.a(main.o)(.text+0x106):main.c:
undefined reference to `_WinMain at 16'
collect2: ld returned 1 exit status
make: *** [libxmiexpat.la] Error 1

I suppose the libtool-script which is generated during
configure is libtool-1.4.x. In this scipt they excluded
some dll-entrypoints for cygwin and mingw. I replaced
this script with the script of libtool-1.5.10 and all
worked fine.


So can you please replace the configure-scipt with an
scipt which is generated with libtool-1.5 or higher.

sincerely
Elmar Rudigier

ps: g++-mingw is is only a scipt which calls g++ whith
the flag -mno-cygwin to exclude cygwin.dll during linking.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2004-11-26 02:29

Message:
Logged In: NO 

Please check 
http://sourceforge.net/tracker/index.php?func=detail&aid=1073661&group_id=10127&atid=110127
I think it is solved

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1063934&group_id=10127


More information about the Expat-bugs mailing list