balsa compile error: libgnomeprint/gnome-print-master.h: No such file or directory



Hi,

I've been having problems compiling balsa 2.0.14 against libgnomeprint
2.3.1 and libgnomeprintui 2.3.1. The compile fails with the following:

gcc -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
-DGNOME_DISABLE_DEPRECATED -DGNOMELOCALEDIR=\""/usr/share/locale"\" -I..
-I.. -I../libbalsa -DORBIT2=1 -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/gtk-2.0 -I/usr/include/libart-2.0
-I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/libxml2
-I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gtkhtml-2.0
-I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/pango-1.0
-I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0      -O3
-march=athlon-xp -Wsign-compare -Wpointer-arith -Wnested-externs
-Wchar-subscripts -Wuninitialized -Wmissing-prototypes -Wreturn-type -c
print.c
print.c:48:48: libgnomeprint/gnome-print-master.h: No such file or
directory
print.c:49:58: libgnomeprintui/gnome-print-master-preview.h: No such
file or directory
print.c:127: parse error before "GnomePrintMaster"
print.c:127: warning: no semicolon at end of struct or union
print.c:131: parse error before '}' token
print.c: In function `print_info_new':
print.c:1189: dereferencing pointer to incomplete type
print.c:1189: warning: assignment makes pointer from integer without a
cast
print.c:1203: dereferencing pointer to incomplete type
print.c:1203: warning: assignment makes pointer from integer without a
cast
print.c:1216: dereferencing pointer to incomplete type
print.c:1217: dereferencing pointer to incomplete type
print.c:1218: dereferencing pointer to incomplete type
print.c:1220: dereferencing pointer to incomplete type
print.c: In function `set_dialog_buttons_sensitive':
print.c:1302: dereferencing pointer to incomplete type
print.c:1303: dereferencing pointer to incomplete type
print.c:1304: dereferencing pointer to incomplete type
print.c:1306: dereferencing pointer to incomplete type
print.c:1309: dereferencing pointer to incomplete type
print.c: In function `print_dialog':
print.c:1405: dereferencing pointer to incomplete type
print.c:1406: warning: assignment makes pointer from integer without a
cast
print.c:1417: dereferencing pointer to incomplete type
print.c:1419: dereferencing pointer to incomplete type
print.c:1421: dereferencing pointer to incomplete type
print.c: In function `common_info_setup':
print.c:1476: dereferencing pointer to incomplete type
print.c:1477: dereferencing pointer to incomplete type
print.c:1478: dereferencing pointer to incomplete type
print.c: In function `common_info_destroy':
print.c:1488: dereferencing pointer to incomplete type
print.c:1489: dereferencing pointer to incomplete type
print.c:1490: dereferencing pointer to incomplete type
print.c:1492: dereferencing pointer to incomplete type
print.c:1493: dereferencing pointer to incomplete type
print.c:1494: dereferencing pointer to incomplete type
print.c:1495: dereferencing pointer to incomplete type
print.c: In function `common_info_cleanup':
print.c:1505: dereferencing pointer to incomplete type
print.c: In function `print_response_cb':
print.c:1528: dereferencing pointer to incomplete type
print.c:1528: warning: assignment makes pointer from integer without a
cast
print.c:1555: dereferencing pointer to incomplete type
print.c:1558: dereferencing pointer to incomplete type
print.c:1559: warning: initialization makes pointer from integer without
a cast
print.c:1564: dereferencing pointer to incomplete type
print.c: In function `message_print':
print.c:1590: dereferencing pointer to incomplete type
print.c:1594: sizeof applied to an incomplete type
print.c:1605: dereferencing pointer to incomplete type
print.c:1608: dereferencing pointer to incomplete type
print.c:1612: dereferencing pointer to incomplete type
print.c:1615: dereferencing pointer to incomplete type
print.c:1617: dereferencing pointer to incomplete type
print.c:1624: dereferencing pointer to incomplete type
print.c:1624: warning: assignment makes pointer from integer without a
cast
print.c:1653: dereferencing pointer to incomplete type
print.c:1654: dereferencing pointer to incomplete type
print.c:1658: dereferencing pointer to incomplete type
print.c:1660: dereferencing pointer to incomplete type
make[2]: *** [print.o] Error 1
make[2]: Leaving directory `/usr/src/balsa-2.0.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/balsa-2.0.14'
make: *** [all-recursive-am] Error 2

Can anyone offer any solutions as to what the problem is and how to fix
it?

Thanks in advance,

Ed

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]