delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
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 |
X-Yahoo-SMTP: | mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw |
Message-ID: | <4EBC730C.4070701@sbcglobal.net> |
Date: | Fri, 11 Nov 2011 00:57:48 +0000 |
From: | Greg Chicares <gchicares AT sbcglobal DOT net> |
User-Agent: | Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: linker error libcygwin |
References: | <8DB56F04-18E5-43C3-8080-05565BA1531D AT flashpixx DOT de> <4EBC3E14 DOT 9060000 AT sbcglobal DOT net> <j9hfb8$638$1 AT dough DOT gmane DOT org> |
In-Reply-To: | <j9hfb8$638$1@dough.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
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 AT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |