Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: error: undefined reference to `_WinMain AT 16' To: cygwin AT cygwin DOT com Message-id: <436579B4.7020405@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit 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/