Compile problems FreeBSD on 6.0

Joe Marcus Clarke marcus at FreeBSD.org
Mon Apr 17 20:38:06 UTC 2006


-----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 at 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-----


More information about the freebsd-gnome mailing list