This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

undefined reference to `WinMain@16'


-----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.

Christopher Dale Campbell
DaleCampbell(at)revolutionist(dot)com
/*******************************
For PGP & GPG Keys, finger
campbell(at)cyberspace(dot)org
*******************************/


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOwFdYYXnWfGgRqP+EQIr/wCeP7PXLlNYc/wRslKtNuF+DfbWuhsAoNgK
WMdXnHVEVoSVqimwF4wXzvGo
=T73v
-----END PGP SIGNATURE-----

listing-7.4.c

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]