delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/28/15:02:30

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <5.1.0.14.2.20020428135609.04424670@mail.profoundeffects.com>
X-Sender: fxtech.com/paul AT cedar DOT he DOT net
Date: Sun, 28 Apr 2002 14:00:39 -0500
To: cygwin AT cygwin DOT com
From: Paul Miller <paul AT fxtech DOT com>
Subject: building iconv/libcharset fails
Mime-Version: 1.0

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 AT 12 -o .libs/cygcharset-1.dll  localcharset.lo
/usr/lib/libcygwin.a(libcmain.o)(.text+0x6a): undefined reference to 
`WinMain AT 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 AT fxtech DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019