This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: undefined reference to `WinMain@16'
- To: Cygwin <cygwin at cygwin dot com>
- Subject: Re: undefined reference to `WinMain@16'
- From: Christopher Faylor <cgf at redhat dot com>
- Date: Tue, 15 May 2001 13:21:02 -0400
- References: <001601c0dd5e$96967140$e9332041@campbell>
- Reply-To: cygwin at cygwin dot com
On Tue, May 15, 2001 at 12:46:27PM -0400, Christopher Dale Campbell wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>I got this after `gcc listing-7.4.c -o listing-7.4` :
>
>/usr/lib/libcygwin.a(libcmain.o)(.text+0x7f): undefined reference to
>`WinMain@16'
>collect2: ld returned 1 exit status
>
>I've attached the actuall program I'm trying to compile. It's a very
>simple program, which should compile with no problems. I'm running
>cygwin-snapshot-20010510.
>int maain(void)
>{
You misspelled "main".
cgf
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple