This is the mail archive of the cygwin 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]
Other format: [Raw text]

error: undefined reference to `_WinMain@16'

Hi, I saw the explanation to error: undefined reference to `_WinMain@16'

but I don't understand how that would apply to my problem.
I am trying to install Hermes-1.3.3 and I get the error about WinMain@16, but all I am trying to do is compile a graphics library Hermes, that is needed by ClanLib 0.6.5, that is needed by Pingus.

Thank you for your help

/usr/i686-pc-cygwin/bin/ld.exe -r -o .libs/ .libs/x86p_i8.o .libs/
/usr/i686-pc-cygwin/bin/ld.exe -r -o .libs/ .libs/mmxp2_32.o .libs/
if test "x`sed 1q .libs/libHermes.exp`" = xEXPORTS; then cp .libs/libHermes.exp .libs/cygHermes-1.dll-def; else echo EXPORTS > .libs/cygHermes-1.dll-def; _lt_hint=1; cat .libs/libHermes.exp | while read symbol; do set dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/cygHermes-1.dll-def;; 4) echo " $2 $3 $4 ; " >> .libs/cygHermes-1.dll-def; _lt_hint=`expr $_lt_hint - 1`;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/cygHermes-1.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi
gcc -Wl,--base-file,.libs/cygHermes-1.dll-base -Wl,-e,__cygwin_dll_entry@12 -o .libs/cygHermes-1.dll .libs/
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):: undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
make[2]: *** [] Error 1
make[2]: Leaving directory `/home/Owner/utils/herm/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Owner/utils/herm/src'
make: *** [all-recursive] Error 1

Unsubscribe info:
Problem reports:

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