X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <20091127062418.45338.qmail@web3306.mail.ogk.yahoo.co.jp> References: <12dab5cd0911261942k273a00afsad6519d2f007cb1e AT mail DOT gmail DOT com> <20091127062418 DOT 45338 DOT qmail AT web3306 DOT mail DOT ogk DOT yahoo DOT co DOT jp> Date: Fri, 27 Nov 2009 09:25:00 +0100 Message-ID: <1ef5a52f0911270025s62c8bc2fo52f07ea2b3e040@mail.gmail.com> Subject: Re: [1.7]/usr/lib/libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain AT 16' From: Csaba Raduly To: matsuoka AT nuce DOT nagoya-u DOT ac DOT jp, cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 2009/11/27 Tatsuro MATSUOKA: > gcc-4 =A0-O3 -fomit-frame-pointer =A0-L/usr/lib -o gnuplot-tikz.lua.exe = =A0 -lpangocairo-1.0 -lcairo > -lpangoft2-1.0 -lpixman-1 -lglitz -lpng12 -lxcb-render-util -lXrender -lx= cb-render -lX11 -lxcb -lXau > -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0= -lgmodule-2.0 -lglib-2.0 > -lintl -liconv > /usr/lib/libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_W= inMain AT 16' > > What library should I link to overcome the above: undefined reference to = `_WinMain AT 16' ? You may want to check http://www.bloodshed.net/dev/faq.html#winmain There appears to be no .o in that commandline, so there may be no main() defined. --=20 Life is complex, with real and imaginary parts -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple