Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2008 19:00:36 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        "Sam Fourman Jr." <sfourman@gmail.com>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: Gnome-games error
Message-ID:  <20080309170036.GB10374@deviant.kiev.zoral.com.ua>
In-Reply-To: <11167f520803090749y14e23104ofc9b96b750746aee@mail.gmail.com>
References:  <11167f520803090749y14e23104ofc9b96b750746aee@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--V0207lvV8h4k8FAm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 09, 2008 at 09:49:43AM -0500, Sam Fourman Jr. wrote:
> I got this error compiling gnome-games after a recent portsnap update
>=20
> gmake[3]: Entering directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3/gnect/src'
> cc -DHAVE_CONFIG_H -I. -I../.. -I.. -I../../libgames-support
> -DGNOMELOCALEDIR=3D\""/usr/local/share/locale"\"
> -DDATADIR=3D\""/usr/local/share"\"
> -DGNECT_DATA_DIR=3D\""/usr/local/share/"\" -std=3Dgnu89 -D_THREAD_SAFE
> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
> -I/usr/local/include/pango-1.0 -I/usr/local/include
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/freetype2   -DORBIT2=3D1 -D_REENTRANT
> -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -DORBIT2=3D1 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/libxml2
> -I/usr/local/include -I/usr/local/include/libgnome-2.0
> -I/usr/local/include/orbit-2.0 -I/usr/local/include/gconf/2
> -I/usr/local/include/gnome-vfs-2.0
> -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libbonobo-2.0
> -I/usr/local/include/bonobo-activation-2.0
> -I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libart-2.0
> -I/usr/local/include/gnome-keyring-1
> -I/usr/local/include/libbonoboui-2.0
> -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0
> -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2
> -I/usr/local/include/gail-1.0 -I/usr/local/include/atk-1.0
> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/cairo
> -I/usr/local/include/pygtk-2.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include   -I/usr/local/include/librsvg-2
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include/gtk-2.0   -D_REENTRANT
> -I/usr/local/include/gstreamer-0.10 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2
> -I/usr/local/include   -I../../libgames-support -Wall
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith
> -Wno-sign-compare  -I../../dependencies/ggzmod
> -I../../dependencies/ggz-gtk -I../../dependencies/ggzcore
> -I../../dependencies/libggz -I../../dependencies/libggz
> -I../../dependencies/ggzdmod  -I/usr/local/include  -O2
> -fno-strict-aliasing -pipe  -D_REENTRANT -MT ggz-network.o -MD -MP -MF
> .deps/ggz-network.Tpo -c -o ggz-network.o ggz-network.c
> ggz-network.c: In function 'on_network_game':
> ggz-network.c:282: error: too many arguments to function 'ggz_gtk_initial=
ize'
> gmake[3]: *** [ggz-network.o] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3/gnect/src'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3/gnect'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/games/gnome-games/work/gnome-games-2.20.3'
> gmake: *** [all] Error 2
> *** Error code 2
>=20
> Stop in /usr/ports/gam

I got the same error, coming from gnome-games use of the
/usr/local/incude/ggz-gtk.h header, that is installed by
ggz-gtk-client-0.0.14_1.

Workaround is to rename offending header temporarily for the build.

--V0207lvV8h4k8FAm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEARECAAYFAkfUF7MACgkQC3+MBN1Mb4ixJQCfe6xQK1iy9uqKS+4aKo7P44nM
uVEAn1IPr72YQ10k6jNjATlHpFyYb7N1
=8U4B
-----END PGP SIGNATURE-----

--V0207lvV8h4k8FAm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080309170036.GB10374>