Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2006 16:38:41 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Willy Grimm <willygrimm@yahoo.com>
Cc:        gnome@FreeBSD.org
Subject:   Re: Compile problems FreeBSD on 6.0
Message-ID:  <4443FCD1.9020902@FreeBSD.org>
In-Reply-To: <4443F9BB.8060602@yahoo.com>
References:  <4443F9BB.8060602@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Willy Grimm wrote:
> Hi there,
> 
> During the build of different applications using gtk20 (e.g. KDE3,
> nmapfe) I get the following errors while compiling gtk20:
> 
> gdkdrawable-x11.c:32:24: cairo-xlib.h: No such file or directory
> gdkdrawable-x11.c: In function `_gdk_x11_drawable_update_size':
> gdkdrawable-x11.c:264: warning: implicit declaration of function
> `cairo_xlib_surface_set_size'
> gdkdrawable-x11.c: In function `gdk_x11_ref_cairo_surface':
> gdkdrawable-x11.c:1479: warning: implicit declaration of function
> `cairo_xlib_surface_create'
> gdkdrawable-x11.c:1482: warning: assignment makes pointer from integer
> without a cast
> gdkdrawable-x11.c:1484: warning: implicit declaration of function
> `cairo_xlib_surface_create_for_bitmap'
> gdkdrawable-x11.c:1487: warning: assignment makes pointer from integer
> without a cast
> 
> I've found something about renaming cairo-xlib.h to cairo.h. See what
> happens next:
> 
> /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.17/gdk/.libs/libgdk-x11-2.0.so:
> undefined reference to `cairo_xlib_surface_create_for_bitmap'
> /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.17/gdk/.libs/libgdk-x11-2.0.so:
> undefined reference to `cairo_xlib_surface_create'
> /usr/ports/x11-toolkits/gtk20/work/gtk+-2.8.17/gdk/.libs/libgdk-x11-2.0.so:
> undefined reference to `cairo_xlib_surface_set_size'
> 
> Any idea what I can do? Do you want me to rename all cairo_xlib_ into
> cairo_ ?

Reinstall graphics/cairo with X11 support.  This is the default.

Joe

- --
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEQ/zRb2iPiv4Uz4cRAnTQAJ9jly5+xajx7NJFn2OuKR0u0AiBGQCbBtPk
RL+g+bB/LmxP1aehClDnhkQ=
=nTiC
-----END PGP SIGNATURE-----



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