[Expat-bugs] [ expat-Bugs-1063934 ] building expat-1.95.8 for win32 with mingw
SourceForge.net
noreply at sourceforge.net
Mon Nov 28 18:58:51 CET 2005
Bugs item #1063934, was opened at 2004-11-10 17:35
Message generated for change (Comment added) made by siebenschlaefer
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1063934&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
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 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: Gerrit P. Haase (siebenschlaefer)
Date: 2005-11-28 18:58
Message:
Logged In: YES
user_id=76037
See:
http://sourceforge.net/tracker/index.php?func=detail&aid=1211302&group_id=10127&atid=110127
----------------------------------------------------------------------
Comment By: heromyth (heromyth)
Date: 2005-03-28 06:01
Message:
Logged In: YES
user_id=1190746
Use the newer script to do Make, just get a static lib, there is
no shared lib.
----------------------------------------------------------------------
Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2005-01-27 05: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 11: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