[Expat-bugs] Undefined reference to _WinMain@16

Karl Waclawek karl at waclawek.net
Wed Dec 17 09:23:35 EST 2003


> Greetings,
> 
> After downloading expat-1.95.7.tar.gz from sSourceForge and executing
> /configure (per the README, however I did not
> execute./buildconf.sh ), I am receiving the following error when
> attempting to make the expat library under the cygwin 1.5.5-1
> environment:
> 
> undefined reference to `_WinMain at 16'
> 
> The same error reported to the cygwin email list resulted in a reply
> that suggested that this error might be caused because of a missing
> main() in the source code.
> 
> My OS is Windows 2000 SP 4
> 
> What can I do to resolve this issue?
> 
> Thank you,


AFAIK, Expat 1.95.7 builds cleanly under Cygwin.
Are you using the latest Cygwin?

Karl



More information about the Expat-bugs mailing list