Re: libgtkhtml: need help with compilation error
On Fri, Nov 02, 2007 at 07:06:07AM -0700, Rehceb Rotkiv wrote:
> > Hi all! > > I'm trying to compile GtkHTML 3.16.1 (which I need for compiling the newest > Evolution). The configure script runs through without errors. make, however, > terminates with these errors: > > ... > testgtkhtml.o: In function `print_preview_cb': > /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:354: undefined > reference to `gtk_print_operation_new' > /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:355: undefined > reference to `gtk_print_operation_set_n_pages' > /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:361: undefined > reference to `gtk_print_operation_run' > testgtkhtml.o: In function `draw_page_cb': > /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:324: undefined > reference to `gtk_print_context_create_pango_layout' > testgtkhtml.o: In function `print_footer': > /home/vibe/evo-sources/gtkhtml-3.16.1/src/testgtkhtml.c:300: undefined > reference to `gtk_print_context_get_cairo_context' > ./.libs/libgtkhtml-3.14.so: undefined reference to > `gtk_page_setup_get_page_width' > ./.libs/libgtkhtml-3.14.so: undefined reference to `pango_units_to_double' > ./.libs/libgtkhtml-3.14.so: undefined reference to > `gtk_print_context_get_page_setup' > ./.libs/libgtkhtml-3.14.so: undefined reference to > `gtk_page_setup_get_page_height' > ./.libs/libgtkhtml-3.14.so: undefined reference to > `gtk_print_context_create_pango_context' > ./.libs/libgtkhtml-3.14.so: undefined reference to > `gtk_print_context_get_height' > collect2: ld returned 1 exit status > ... > > I have the necessary libraries installed (from Debian's *-dev packages) -- > at least I think so! Do you have an idea what might be wrong?
definitely looks like you're missing a library there. or at least
missing an include for GtkPrintOperation. That's per google and I'm no
dev.
On my system, the function gtk_print_operation_new is provided by
/usr/include/gtk-2.0/gtkprintoperation.h, part of libgtk2.0-dev.
I found this by a quick google on the undefined references above and a
little grepping in /usr/include. You can probably do this as well...
A
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Nov 2 11:10:32 2007
This archive was generated by hypermail 2.1.8
: Mon Feb 25 2008 - 13:15:36 EST
|