Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3E4AFC23.30600@linuxforum.net> Date: Thu, 13 Feb 2003 10:00:03 +0800 From: David Huang User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; zh-CN; rv:1.2.1) Gecko/20021130 X-Accept-Language: zh-cn, en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: wvWare and cygwin References: <20030212223707 DOT 96775 DOT qmail AT web12305 DOT mail DOT yahoo DOT com> In-Reply-To: <20030212223707.96775.qmail@web12305.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit neal somos wrote: > Then when I download the latest libiconv-1.8 run ./configure and > then 'make' I get the following > > ----------------------- > builddir="`pwd`"; cd libcharset && make all && make install-lib libdir="$builddir/lib" > includedir="$builddir/lib" > make[1]: Entering directory `/home/nas0426/source/libiconv-1.8/libcharset' > cd lib && make all > make[2]: Entering directory `/home/nas0426/source/libiconv-1.8/libcharset/lib' > /bin/sh ../libtool --mode=link gcc -o libcharset.la -rpath /usr/local/lib -version-info > 1:0:0 -no-undefined localcharset.lo > rm -fr .libs/libcharset.la .libs/libcharset.* .libs/libcharset.* > generating symbol list for `libcharset.la' > dlltool --export-all --exclude-symbols > DllMain AT 12,_cygwin_dll_entry AT 12,_cygwin_noncygwin_dll_entry AT 12,DllMainCRTStartup AT 12,DllEntryPoint AT 12 > --output-def .libs/cygcharset-1.dll-def localcharset.lo > sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < .libs/cygcharset-1.dll-def > > .libs/libcharset.exp > if test "x`head -1 .libs/libcharset.exp`" = xEXPORTS; then cp .libs/libcharset.exp > .libs/cygcharset-1.dll-def; else echo EXPORTS > .libs/cygcharset-1.dll-def; _lt_hint=1; cat > .libs/libcharset.exp | while read symbol; do set dummy $symbol; case $# in 2) echo " $2 @ > $_lt_hint ; " >> .libs/cygcharset-1.dll-def;; *) echo " $2 @ $_lt_hint $3 ; " >> > .libs/cygcharset-1.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi > gcc -Wl,--base-file,.libs/cygcharset-1.dll-base -Wl,-e,__cygwin_dll_entry AT 12 -o > .libs/cygcharset-1.dll localcharset.lo > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libcygwin.a(libcmain.o)(.text+0x7c): undefined > reference to `_WinMain AT 16' > collect2: ld returned 1 exit status > make[2]: *** [libcharset.la] Error 1 > make[2]: Leaving directory `/home/nas0426/source/libiconv-1.8/libcharset/lib' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/nas0426/source/libiconv-1.8/libcharset' > make: *** [all] Error 2 > > ------------------------- Ask the cygwin libiconv maintainer or update libiconv's libtool with the latest cygwin port. > neal > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/