[Expat-bugs] [ expat-Bugs-615815 ] Can not build expat-1.95.5.tar.gz
noreply at sourceforge.net
noreply at sourceforge.net
Wed Dec 4 13:57:46 2002
Bugs item #615815, was opened at 2002-09-28 08:43
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=615815&group_id=10127
Category: Build control
Group: Platform Specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Guy Adani (guyad11)
Assigned to: Greg Stein (gstein)
Summary: Can not build expat-1.95.5.tar.gz
Initial Comment:
I have downloaded expat-1.95.5.tar.gz to my PC, which has
cygwin installed. According to the docs, I can install like I am
running on a UNIX machine :
"Building under Win32
If you're using the GNU compiler under cygwin, follow the Unix
directions in the next section. Otherwise if you have Microsoft's
Developer Studio installed, then from Windows Explorer double-
click on "expat.dsp" in the lib directory and build and install in the
usual manner."
After running configure, I run make and got the following error:
"$ make
/bin/bash ./libtool --silent --mode=link gcc -g -O2 -Wall -Wmissing-
prototypes -
Wstrict-prototypes -fexceptions -I./lib -I. -no-undefined -version-
info 4:0:4
-rpath /usr/local/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo
lib/xmlrole.
lo
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a): undefined reference
to `WinMain@16
'
collect2: ld returned 1 exit status
make: *** [libexpat.la] Error 1
"
What do I need to do to install ?
Attached is the configure log file.
Thanks,
Guy Adani
----------------------------------------------------------------------
Comment By: Frerk Boltjes (boltjes)
Date: 2002-12-04 13:57
Message:
Logged In: YES
user_id=662066
It seems, there is a bug in the configure script. To build
a Cygwin DLL the '-shared' option has to be used.
Change line 4765, 4767 and 4769 from
$CC .....
to
$CC -shared .....
and start './configure' and 'make' again. Now, everything
should work fine.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=615815&group_id=10127
More information about the Expat-bugs
mailing list