X-Spam-Check-By: sourceware.org Message-ID: X-Sender: rbody99 AT hotmail DOT com In-Reply-To: From: "Robert Body" To: cygwin AT cygwin DOT com Subject: error: undefined reference to `_WinMain AT 16' Date: Sat, 03 Dec 2005 13:37:28 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Hi, I saw the explanation to error: undefined reference to `_WinMain AT 16' in http://sourceware.org/ml/cygwin/2005-10/msg01038.html 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 AT 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 -Robert ------------------------------------ /usr/i686-pc-cygwin/bin/ld.exe -r -o .libs/libHermes.la-39.o .libs/x86p_i8.o .libs/libHermes.la-38.o /usr/i686-pc-cygwin/bin/ld.exe -r -o .libs/libHermes.la-40.o .libs/mmxp2_32.o .libs/libHermes.la-39.o 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 AT 12 -o .libs/cygHermes-1.dll .libs/libHermes.la-40.o /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):: undefined reference to `_WinMain AT 16' collect2: ld returned 1 exit status make[2]: *** [libHermes.la] 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: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/