This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Compiling euchre 0.7 n cygwin
- From: Laurent Duperval <lduperval at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Jul 2006 10:18:14 -0400
- Subject: Compiling euchre 0.7 n cygwin
Hi,
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'
../lib/libeuchre.a(Game.o): In function `_ZN4GameD1Ev':
/usr/src/euchre-0.7/src/lib/Game.cpp:45: undefined reference to
`_g_slist_free'
../lib/libeuchre.a(Game.o): In function `_ZN4GameD0Ev':
/usr/src/euchre-0.7/src/lib/Game.cpp:45: undefined reference to
`_g_slist_free'
../lib/libeuchre.a(Game.o): In function `_ZN4Game8addEventENS_5EventE':
/usr/src/euchre-0.7/src/lib/Game.cpp:53: undefined reference to
`_g_slist_append'
../lib/libeuchre.a(Game.o): In function `_ZN4Game3runEv':
/usr/src/euchre-0.7/src/lib/Game.cpp:63: undefined reference to
`_g_slist_nth_data'
/usr/src/euchre-0.7/src/lib/Game.cpp:64: undefined reference to
`_g_slist_remove'
/usr/src/euchre-0.7/src/lib/Game.cpp:66: undefined reference to
`_g_slist_length'
collect2: ld returned 1 exit status
make[3]: *** [euchre] Error 1
make[3]: Leaving directory `/usr/src/euchre-0.7/src/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/euchre-0.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/euchre-0.7'
I searched on Google for a sowlution but found none.
Can anyone help?
L
--
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/