problems with gtk_html_print in gtkhtml.h

digger vermont dv_mlist at
Wed Feb 14 17:42:14 EST 2007

Hello All,

I've had problems printing from Gnucash for weeks now.  I've filed a bug
on it.  Ubuntu is at version 2.0.2-3ubuntu1 for Feisty.

Not getting any response from the bugreport I thought I'd build 2.04
myself and also ran into what looks like may be the same problem.  It
stalls where gnc-html.c is looking  for gtk_html_print from

Making all in test
make[5]: Entering directory
/bin/bash ../../../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2   -o
test-gnc-recurrence  test-gnc-recurrence.o -Wl,--export-dynamic -pthread
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnome-keyring
-lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr
-lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lbonobo-2
-lbonobo-activation -lgconf-2 -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0
-lrt -lgobject-2.0
-lglib-2.0   ../../../src/app-utils/ ../../../src/gnome-utils/ ../../../src/engine/ -lpopt -lm  -lm
gcc -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2
-o .libs/test-gnc-recurrence test-gnc-recurrence.o -Wl,--export-dynamic
-pthread  ../../../src/app-utils/.libs/ ../../../src/gnome-utils/.libs/ /home/digger/src/gnucash-2.0.4/src/backend/file/.libs/ /home/digger/src/gnucash-2.0.4/src/network-utils/.libs/ /home/digger/src/gnucash-2.0.4/src/app-utils/.libs/ /home/digger/src/gnucash-2.0.4/src/engine/.libs/ /home/digger/src/gnucash-2.0.4/src/engine/.libs/ /home/digger/src/gnucash-2.0.4/src/calculation/.libs/ -lgnomeprintui-2-2 -lgtkhtml-3.8 /home/digger/src/gnucash-2.0.4/lib/goffice-0.0.4/goffice/.libs/ /usr/lib/ -lgnomeprint-2-2 /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lSM -lICE /usr/lib/ /usr/lib/ /usr/lib/ -lgsf-gnome-1 -lgsf-1 /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ ../../../src/engine/.libs/ /home/digger/src/gnucash-2.0.4/src/gnc-module/.libs/ /usr/lib/ /home/digger/src/gnucash-2.0.4/src/core-utils/.libs/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lXext -lXinerama -lXi -lXrandr -lXcursor -lXfixes /usr/lib/ /usr/lib/ /usr/lib/ -lz -lfontconfig -lpng12 -lXrender -lX11 /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ -lcrypt /usr/lib/ /home/digger/src/gnucash-2.0.4/lib/libqof/qof/.libs/ /usr/lib/ -lpthread -lrt /usr/lib/ /usr/lib/ -ldl /usr/lib/ /usr/lib/ -lm -Wl,--rpath -Wl,/opt/gnucash/lib/gnucash -Wl,--rpath -Wl,/opt/gnucash/lib
../../../src/gnome-utils/.libs/ undefined
reference to `gtk_html_print'
collect2: ld returned 1 exit status
make[5]: *** [test-gnc-recurrence] Error 1
make[5]: Leaving directory
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
make[3]: *** [all] Error 2
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/digger/src/gnucash-2.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/digger/src/gnucash-2.0.4'
make: *** [all] Error 2

Looking at /usr/include/libgtkhtml-3.8/gtkhtml/gtkhtml.h I can't find
gtk_html_print. Ubuntu/Feisty is using version 3.13.91-0ubuntu1 for

I looked at the changes to gtkhtml.h at and it looks to me like
the function gtk_html_print has been removed.

So, given that Ubuntu is using the development branch I guess I'm not
sure where to go from here. I'll add the info to the ubuntu bugreport.
However on the Gnucash end, is this a known problem and/or should I file
a bugreport with Gnucash?



More information about the gnucash-devel mailing list