From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4247 invoked by alias); 11 Nov 2011 00:58:15 -0000 Received: (qmail 4231 invoked by uid 22791); 11 Nov 2011 00:58:14 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from nm9-vm0.access.bullet.mail.mud.yahoo.com (HELO nm9-vm0.access.bullet.mail.mud.yahoo.com) (66.94.237.249) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 11 Nov 2011 00:57:50 +0000 Received: from [66.94.237.196] by nm9.access.bullet.mail.mud.yahoo.com with NNFMP; 11 Nov 2011 00:57:49 -0000 Received: from [98.139.221.51] by tm7.access.bullet.mail.mud.yahoo.com with NNFMP; 11 Nov 2011 00:57:49 -0000 Received: from [127.0.0.1] by smtp104.sbc.mail.bf1.yahoo.com with NNFMP; 11 Nov 2011 00:57:49 -0000 X-Yahoo-SMTP: mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw Received: from [192.168.1.100] (gchicares@69.183.240.92 with plain) by smtp104.sbc.mail.bf1.yahoo.com with SMTP; 10 Nov 2011 16:57:49 -0800 PST Message-ID: <4EBC730C.4070701@sbcglobal.net> Date: Fri, 11 Nov 2011 00:58:00 -0000 From: Greg Chicares User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: linker error libcygwin References: <8DB56F04-18E5-43C3-8080-05565BA1531D@flashpixx.de> <4EBC3E14.9060000@sbcglobal.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-11/txt/msg00202.txt.bz2 On 2011-11-10 21:22Z, Philipp Kraus wrote: > On 2011-11-10 22:11:48 +0100, Greg Chicares said: > >> On 2011-11-10 20:39Z, Kraus Philipp wrote: >>> >>> undefined reference to `_WinMain@16' >>> collect2: ld returned 1 exit status >> >> Does this thread >> http://cygwin.com/ml/cygwin/2011-10/threads.html#00440 >> contain the answer? > > no, sorry. > >> If this is a console application, does it have >> an implementation of main()? > > yes the signature of the main is in this example: > int main(int argc, char* argv[]) Please show the full linker command, and indicate the name of the object file that contains main(). -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple