delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Date: | Sun, 30 Oct 2005 20:56:04 -0500 |
From: | Fernando Barsoba <fbarsoba AT verizon DOT net> |
Subject: | error: undefined reference to `_WinMain AT 16' |
To: | cygwin AT cygwin DOT com |
Message-id: | <436579B4.7020405@verizon.net> |
MIME-version: | 1.0 |
User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
X-IsSubscribed: | yes |
Hi, I'm trying to build a project with sha-1 and md5 implementations from http://www.cr0.net:8040/code/crypto/sha1/ (in case it is important information) and I'm getting the following error: **** Incremental build of configuration Debug for project Sha1 **** make -k all Building file: ../sha1.c Invoking: GCC C Compiler gcc -O0 -g3 -Wall -c -fmessage-length=0 -osha1.o ../sha1.c Finished building: ../sha1.c Building target: Sha1.exe Invoking: GCC C Linker gcc -oSha1.exe ./sha1.o /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o)(.text+0xab): undefined reference to `_WinMain AT 16' collect2: ld returned 1 exit status make: *** [Sha1.exe] Error 1 make: Target `all' not remade because of errors. Build complete for project Sha1 Any idea why is that? It's the first time is happening as far as I remember.. thanks, fbm -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |