[ expat-Bugs-1063934 ] building expat-1.95.8 for win32 with mingw
"SourceForge.net" <[email protected]> Wed, 26 Jan 2005 20:53:13 -0800
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1063934, was opened at 2004-11-10 11:35 Message generated for change (Comment added) made by fdrake 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: Fred L. Drake, Jr. (fdrake) 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@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@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: Fred L. Drake, Jr. (fdrake) Date: 2005-01-26 23:53 Message: Logged In: YES user_id=3066 Using libtool 1.5.10 seems to work on my system (FC1), so I'll plan on using that for the next release. Assigning to me, since the version of libtool that gets used seems to be a matter of what's installed on the machine used to build the distribution. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-11-26 05: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