[gnome-db] Error compiling libgnomedb 1.3.3 on FC4 x86_64



Hello,

FYI, I get the following error when trying to compile libgnomedb 1.3.3 on Fedora Core 4 x86_64  (gcc version 4.0.0).

See below.

Thanks,
Bas.



gcc "-DPACKAGE_NAME=\"GNOME DB library\"" -DPACKAGE_TARNAME=\"libgnomedb\" -DPACKAGE_VERSION=\"1.3.3\" "-DPACKAGE_STRING=\"GNOME DB library 1.3.3\"" -DPACKAGE_BUGREPORT=\"gnome-db-list gnome org\" -DGNOME_DB_EXPLICIT_TRANSLATION_DOMAIN=\"libgnomedb-3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=\"libgnomedb-3\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I. -I.. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/opt/builds/gnome-db/libgda-1.3.3/include/libgda-1.3 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHAVE_LIBGLADE -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -DBUILD_WITH_GNOME -DLIBGNOMEDB_ICONSDIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/share/pixmaps/libgnomedb\" -DLIBGNOMEDB_DATADIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/share/gnome-db\" -DLIBGNOMEDB_LOCALEDIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/share/locale\" -DLIBGNOMEDB_UIDIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/share/gnome-db/ui\" -DDTDINSTALLDIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/share/libgnomedb/dtd\" -DLIBGNOMEDB_PLUGINSDIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/share/libgnomedb/plugins\" -DPREFIX=\"/opt/builds/gnome-db/libgnomedb-1.3.3\" -DSYSCONFDIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/etc\" -DDATADIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/share\" -DLIBDIR=\"/opt/builds/gnome-db/libgnomedb-1.3.3/lib\" -Wall -g -MT gnome-db-qf-value.lo -MD -MP -MF .deps/gnome-db-qf-value.Tpo -c gnome-db-qf-value.c  -fPIC -DPIC -o .libs/gnome-db-qf-value.o
In file included from /opt/builds/gnome-db/libgda-1.3.3/include/libgda-1.3/libgda/gda-column.h:29,
                 from /opt/builds/gnome-db/libgda-1.3.3/include/libgda-1.3/libgda/gda-data-model.h:32,
                 from /opt/builds/gnome-db/libgda-1.3.3/include/libgda-1.3/libgda/gda-connection.h:29,
                 from /opt/builds/gnome-db/libgda-1.3.3/include/libgda-1.3/libgda/gda-client.h:27,
                 from /opt/builds/gnome-db/libgda-1.3.3/include/libgda-1.3/libgda/libgda.h:29,
                 from gnome-db-qf-value.h:25,
                 from gnome-db-qf-value.c:21:
/opt/builds/gnome-db/libgda-1.3.3/include/libgda-1.3/libgda/gda-value.h:183: warning: type qualifiers ignored on function return type
gnome-db-qf-value.c:87: error: static declaration of 'gnome_db_qf_value_restrict_with_field' follows non-static declaration
gnome-db-qf-value.h:87: error: previous declaration of 'gnome_db_qf_value_restrict_with_field' was here
gnome-db-qf-value.c:88: error: static declaration of 'gnome_db_qf_value_restrict_with_field_xml' follows non-static declaration
gnome-db-qf-value.h:88: error: previous declaration of 'gnome_db_qf_value_restrict_with_field_xml' was here
gnome-db-qf-value.c: In function 'gnome_db_qf_value_set_value':
gnome-db-qf-value.c:572: warning: passing argument 1 of 'gda_value_get_type' discards qualifiers from pointer target type
gnome-db-qf-value.c:580: warning: passing argument 1 of 'gda_value_copy' discards qualifiers from pointer target type
gnome-db-qf-value.c: In function 'gnome_db_qf_value_set_default_value':
gnome-db-qf-value.c:624: warning: passing argument 1 of 'gda_value_copy' discards qualifiers from pointer target type
gnome-db-qf-value.c: In function 'gnome_db_qf_value_get_params':
gnome-db-qf-value.c:704: warning: passing argument 1 of 'gnome_db_parameter_new_with_dest_field' from incompatible pointer type
gnome-db-qf-value.c: In function 'gnome_db_qf_value_is_value_null':
gnome-db-qf-value.c:811: warning: passing argument 1 of 'gda_value_is_null' discards qualifiers from pointer target type
gnome-db-qf-value.c: In function 'gnome_db_qf_value_save_to_xml':
gnome-db-qf-value.c:1076: warning: pointer targets in passing argument 2 of 'xmlNewNode' differ in signedness
gnome-db-qf-value.c:1079: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1079: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1082: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1082: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1083: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1083: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1085: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1085: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1087: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1087: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1089: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1089: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1091: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1091: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1093: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1093: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1099: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1099: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1108: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1108: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1111: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1111: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1114: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1114: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1117: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1117: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1119: warning: assignment discards qualifiers from pointer target type
gnome-db-qf-value.c:1121: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1121: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1124: warning: pointer targets in passing argument 2 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c:1124: warning: pointer targets in passing argument 3 of 'xmlSetProp' differ in signedness
gnome-db-qf-value.c: In function 'gnome_db_qf_value_load_from_xml':
gnome-db-qf-value.c:1142: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
gnome-db-qf-value.c:1150: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1150: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1162: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1162: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1178: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1178: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1184: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1184: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1190: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1190: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1196: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1196: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1202: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1202: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1212: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1212: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1229: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1229: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1233: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1233: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1252: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1252: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1258: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1258: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1264: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1264: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1268: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1268: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c:1275: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness
gnome-db-qf-value.c:1275: warning: pointer targets in assignment differ in signedness
gnome-db-qf-value.c: In function 'gnome_db_qf_value_render_as_sql':
gnome-db-qf-value.c:1385: warning: passing argument 1 of 'gda_value_stringify' discards qualifiers from pointer target type
gnome-db-qf-value.c:1418: warning: passing argument 1 of 'gda_value_get_type' discards qualifiers from pointer target type
gnome-db-qf-value.c:1446: warning: passing argument 1 of 'gda_value_get_type' discards qualifiers from pointer target type
make[2]: *** [gnome-db-qf-value.lo] Error 1
make[2]: Leaving directory `/opt/builds/gnome-db/libgnomedb-1.3.3/libgnomedb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/builds/gnome-db/libgnomedb-1.3.3/libgnomedb'
make: *** [all-recursive] Error 1
[bas ams libgnomedb-1.3.3]$



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