Compile problems FreeBSD on 6.0

Willy Grimm willygrimm at yahoo.com
Mon Apr 17 20:25:44 UTC 2006


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_ ?

Thanks

Willy




More information about the freebsd-gnome mailing list