On 11/1/06, Treeve Jelbert <[EMAIL PROTECTED]> wrote: > libgda-1.99.1 won't compile with firebird2 and gcc-4.1.1 > > > > gcc "-DPACKAGE_NAME=\"GNU Data > Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"1.99.1\" > "-DPACKAGE_STRING=\"GNU > Data Access > 1.99.1\"" -DPACKAGE_BUGREPORT=\"[EMAIL PROTECTED]" > -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-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 -DYYTEXT_POINTER=1 > -DGETTEXT_PACKAGE=\"libgda-3\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 > -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 > -DENABLE_NLS=1 -DHAVE_FAM= -DHAVE_FIREBIRD=1 -DHAVE_POPT_H=1 > -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1 -I. -I. -I../.. > -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -I/usr/firebird/include > -DLIBGDA_DATA_DIR=\"/usr/share/libgda\" -O -march=athlon -mmmx -m3dnow -pipe > -O3 -MT > gda-firebird-recordset.lo -MD -MP -MF .deps/gda-firebird-recordset.Tpo -c > gda-firebird-recordset.c -fPIC -DPIC -o .libs/gda-firebird-recordset.o > gda-firebird-recordset.c: In function 'fb_gda_value_fill': > gda-firebird-recordset.c:513: error: dereferencing pointer to incomplete type > gda-firebird-recordset.c:513: error: dereferencing pointer to incomplete type > gda-firebird-recordset.c:515: error: dereferencing pointer to incomplete type > gda-firebird-recordset.c: In function 'gda_firebird_recordset_class_init': > gda-firebird-recordset.c:807: warning: assignment from incompatible pointer > type > gda-firebird-recordset.c:810: warning: assignment from incompatible pointer > type > gda-firebird-recordset.c:812: warning: assignment from incompatible pointer > type > make[2]: *** [gda-firebird-recordset.lo] Error 1 > make[2]: Leaving directory `/usr/src/libgda-1.99.1/providers/firebird' >
The problem seems to be that firebird2's API has changed a bit from version 1.5 and specifically the "struct vary" is not defined anymore. I've installed Firebird2 RC5 and corrected the compilation problem (it will soon be in CVS) but I haven't tested it with a real Firebird2 server... If you test it, please report any bug and/or strange behaviour. Regards, Vivien _______________________________________________ gnome-db-list mailing list gnome-db-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-db-list