GNOME Bugzilla – Bug 344512
cvs build issue
Last modified: 2006-06-11 02:31:18 UTC
A few people are hitting this issue; haven't found the cause yet (see also https://bugs.freedesktop.org/show_bug.cgi?id=7179 -- cyclic build-breaking fun due to cairo, it appears). Likely a cairo issue, but we can at least mark dupes here. :) ./.libs/libgtk-x11-2.0.so: undefined reference to `cairo_pdf_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution' collect2: ld returned 1 exit status make[4]: *** [gtk-query-immodules-2.0] Error 1 make[4]: Leaving directory `/floss/building/gnome/gtk+/gtk' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/floss/building/gnome/gtk+/gtk' make[2]: *** [all] Error 2 make[2]: Leaving directory `/floss/building/gnome/gtk+/gtk' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/floss/building/gnome/gtk+' make: *** [all] Error 2
So, src/cairo.h has a #define cairo_pdf_surface_set_dpi \ cairo_pdf_surface_set_dpi_REPLACED_BY_cairo_surface_set_fallback_resolution without defining the latter. So, I guess this is cairo's way of forcing people to update to the new API. ;)
Created attachment 67098 [details] [review] Fix the build -- update to new API Works for me, but that's about all I can say. :)
2006-06-10 Matthias Clasen <mclasen@redhat.com> * gtk/gtkprintoperation.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: Use cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution. (#344512, Elijah Newren)