From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25760 invoked by alias); 28 Apr 2002 19:00:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25638 invoked from network); 28 Apr 2002 19:00:39 -0000 Received: from unknown (HELO cedar.he.net) (64.71.140.162) by sources.redhat.com with SMTP; 28 Apr 2002 19:00:39 -0000 Received: from ANDOR.fxtech.com (dslr-21.madison.chorus.net [216.165.182.21]) by cedar.he.net (8.8.6/8.8.2) with ESMTP id MAA00383 for ; Sun, 28 Apr 2002 12:00:43 -0700 Message-Id: <5.1.0.14.2.20020428135609.04424670@mail.profoundeffects.com> X-Sender: fxtech.com/paul@cedar.he.net Date: Sun, 28 Apr 2002 14:30:00 -0000 To: cygwin@cygwin.com From: Paul Miller Subject: building iconv/libcharset fails Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-04/txt/msg01556.txt.bz2 I've been trying to get a gtk/gtkmm setup going, and all was well until I ran into this "little" libiconv dependency to glib. The build of the libcharset library is failing, with this error: gcc -O -Wl,--base-file,.libs/cygcharset-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o .libs/cygcharset-1.dll localcharset.lo /usr/lib/libcygwin.a(libcmain.o)(.text+0x6a): undefined reference to `WinMain@16' collect2: ld returned 1 exit status make[2]: *** [libcharset.la] Error 1 I've seen discussion regarding this problem going back almost a year. As libiconv is now a dependency is virtually all gnu software, are we any closer to getting this to build that doesn't require rocket science? From the link error, this *looks* like it could be a trivial problem - shouldn't it be trying to use main() instead of using the Win32 runtime? -- Paul T. Miller | paul@fxtech.com | http://www.fxtech.com -- 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/