X-Spam-Check-By: sourceware.org
Message-ID: <afe5197f0607191114w138e4c9ay104b6e75ace66a50@mail.gmail.com>
Date: Wed, 19 Jul 2006 19:14:50 +0100
From: Buster <rcopley@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Compiling euchre 0.7 n cygwin
In-Reply-To: <e9lev6$u7a$1@sea.gmane.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <e9lev6$u7a$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

