This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Compiling euchre 0.7 n cygwin
- From: Buster <rcopley at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Jul 2006 19:14:50 +0100
- Subject: Re: Compiling euchre 0.7 n cygwin
- References: <e9lev6$u7a$1@sea.gmane.org>
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/