X-Spam-Check-By: sourceware.org Message-ID: Date: Wed, 19 Jul 2006 19:14:50 +0100 From: Buster To: cygwin AT cygwin DOT com Subject: Re: Compiling euchre 0.7 n cygwin In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 On 19/07/06, Laurent Duperval wrote: > I am trying to compile a game called euchre > (http://sourceforge.net/projects/euchre) on cygwin 1.5.20-1. When I do, > I get the following errors at link time: > > c++ -g -O2 -o euchre ComputerGuiPlayer.o GuiGame.o GuiOptions.o > GuiPlayer.o HumanGuiPlayer.o callbacks.o globals.o interface.o su > pport.o main.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib > -lintl -lXext -lX11 -L../lib -leuchre -L../pixmaps -lepixmap > > ../lib/libeuchre.a(Game.o): In function `_ZN4GameD2Ev': > /usr/src/euchre-0.7/src/lib/Game.cpp:45: undefined reference to > `_g_slist_free' [snip: more undefined references] > I searched on Google for a sowlution but found none. > > Can anyone help? This is not a Cygwin-specific problem. In euchre-0.7/src/gui/Makefile.am, @GTK_LIBS@ should come at the end of the list of libraries to link, instead of at the beginning. Further questions (for example, about why 'make install' fails while trying to invoke automake -- sorry, it's beyond me) should be directed to the package maintainer. Hope that helps, Buster. -- 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/