Problems compiling latest release



Attached is a copy of the errors and warnings I get before the compile
craters. I'm using RH6.2 with a fresh Helix-Gnome installation, the
latest Bonobo, Oaf releases and Gconf 0.8.0 from Eazel and compiling
with gcc 2.95.1. It appears to start in gnome-db-container.h but I don't
see anything intrinsically wrong with the code. Suggestions? Is Gnome-DB
going to become a regular component of Helix-Gnome? It seems to have
everything else but a database management tool...

Mike
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include/gnome-xml -I/usr/include
-I/usr/lib/glib/include -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/X11R6/include
-DGNOMELOCALEDIR=\"/usr/share/locale\" -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -m486
-fno-strength-reduce -c gnome-db-container.c  -fPIC -DPIC -o .libs/gnome-db-container.lo
In file included from gnome-db-container.c:19:
gnome-db-container.h:41: parse error before `BonoboContainer'
gnome-db-container.h:41: warning: no semicolon at end of struct or union
gnome-db-container.h:51: parse error before `}'
gnome-db-container.c: In function `get_object_cb':
gnome-db-container.c:69: dereferencing pointer to incomplete type
gnome-db-container.c:71: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_class_init':
gnome-db-container.c:159: warning: assignment from incompatible pointer type
gnome-db-container.c: In function `gnome_db_container_init':
gnome-db-container.c:168: dereferencing pointer to incomplete type
gnome-db-container.c:169: dereferencing pointer to incomplete type
gnome-db-container.c:171: warning: passing arg 1 of `bonobo_persist_file_new' from incompatible
pointer type
gnome-db-container.c:174: dereferencing pointer to incomplete type
gnome-db-container.c:176: dereferencing pointer to incomplete type
gnome-db-container.c:178: dereferencing pointer to incomplete type
gnome-db-container.c:178: dereferencing pointer to incomplete type
gnome-db-container.c:178: dereferencing pointer to incomplete type
gnome-db-container.c:178: dereferencing pointer to incomplete type
gnome-db-container.c:178: dereferencing pointer to incomplete type
gnome-db-container.c:183: dereferencing pointer to incomplete type
gnome-db-container.c:184: dereferencing pointer to incomplete type
gnome-db-container.c:185: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_get_type':
gnome-db-container.c:198: sizeof applied to an incomplete type
gnome-db-container.c: In function `gnome_db_container_new':
gnome-db-container.c:224: dereferencing pointer to incomplete type
gnome-db-container.c:225: dereferencing pointer to incomplete type
gnome-db-container.c:225: dereferencing pointer to incomplete type
gnome-db-container.c:225: dereferencing pointer to incomplete type
gnome-db-container.c:225: dereferencing pointer to incomplete type
gnome-db-container.c:225: dereferencing pointer to incomplete type
gnome-db-container.c:231: dereferencing pointer to incomplete type
gnome-db-container.c:232: dereferencing pointer to incomplete type
gnome-db-container.c:232: dereferencing pointer to incomplete type
gnome-db-container.c:232: warning: passing arg 2 of `bonobo_ui_handler_set_app' from incompatible
pointer type
gnome-db-container.c:235: dereferencing pointer to incomplete type
gnome-db-container.c:237: dereferencing pointer to incomplete type
gnome-db-container.c:244: dereferencing pointer to incomplete type
gnome-db-container.c:246: dereferencing pointer to incomplete type
gnome-db-container.c:251: dereferencing pointer to incomplete type
gnome-db-container.c:252: dereferencing pointer to incomplete type
gnome-db-container.c:253: dereferencing pointer to incomplete type
gnome-db-container.c:253: dereferencing pointer to incomplete type
gnome-db-container.c:256: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_new_glade':
gnome-db-container.c:281: dereferencing pointer to incomplete type
gnome-db-container.c:283: dereferencing pointer to incomplete type
gnome-db-container.c:283: dereferencing pointer to incomplete type
gnome-db-container.c:283: dereferencing pointer to incomplete type
gnome-db-container.c:283: dereferencing pointer to incomplete type
gnome-db-container.c:283: dereferencing pointer to incomplete type
gnome-db-container.c:289: dereferencing pointer to incomplete type
gnome-db-container.c:290: dereferencing pointer to incomplete type
gnome-db-container.c:290: dereferencing pointer to incomplete type
gnome-db-container.c:290: warning: passing arg 2 of `bonobo_ui_handler_set_app' from incompatible
pointer type
gnome-db-container.c:292: dereferencing pointer to incomplete type
gnome-db-container.c:294: dereferencing pointer to incomplete type
gnome-db-container.c:294: warning: passing arg 3 of `bonobo_ui_handler_set_toolbar' from
incompatible pointer type
gnome-db-container.c:297: dereferencing pointer to incomplete type
gnome-db-container.c:298: dereferencing pointer to incomplete type
gnome-db-container.c:299: dereferencing pointer to incomplete type
gnome-db-container.c:299: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_get_toplevel':
gnome-db-container.c:316: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_get_contents':
gnome-db-container.c:326: dereferencing pointer to incomplete type
gnome-db-container.c:326: dereferencing pointer to incomplete type
gnome-db-container.c:326: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_set_contents':
gnome-db-container.c:336: dereferencing pointer to incomplete type
gnome-db-container.c:336: dereferencing pointer to incomplete type
gnome-db-container.c:336: dereferencing pointer to incomplete type
gnome-db-container.c:339: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_set_status':
gnome-db-container.c:352: dereferencing pointer to incomplete type
gnome-db-container.c:352: dereferencing pointer to incomplete type
gnome-db-container.c:352: dereferencing pointer to incomplete type
gnome-db-container.c:359: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_get_progress':
gnome-db-container.c:369: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_set_progress':
gnome-db-container.c:379: dereferencing pointer to incomplete type
gnome-db-container.c:379: dereferencing pointer to incomplete type
gnome-db-container.c:379: dereferencing pointer to incomplete type
gnome-db-container.c:380: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_show':
gnome-db-container.c:390: dereferencing pointer to incomplete type
gnome-db-container.c:390: dereferencing pointer to incomplete type
gnome-db-container.c:390: dereferencing pointer to incomplete type
gnome-db-container.c:392: dereferencing pointer to incomplete type
gnome-db-container.c: In function `gnome_db_container_insert_object':
gnome-db-container.c:412: dereferencing pointer to incomplete type
gnome-db-container.c:413: dereferencing pointer to incomplete type
gnome-db-container.c:425: dereferencing pointer to incomplete type
gnome-db-container.c:441: dereferencing pointer to incomplete type
gnome-db-container.c:441: dereferencing pointer to incomplete type
make[2]: *** [gnome-db-container.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnome-db-0.1.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnome-db-0.1.0'
make: *** [all-recursive-am] Error 2
Bad exit status from /var/tmp/rpm-tmp.64572 (%build)
[root Linux helix-install]# 



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