make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/libgda-1.2.2/work/libgda-1.2.2/providers/bdb' Making all in freetds make[2]: Entering directory `/mnt/Dati/Gentoo/tmp/portage/libgda-1.2.2/work/libgda-1.2.2/providers/freetds' if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"GNU\ Data\ Access\" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"1.2.2\" -DPACKAGE_STRING=\"GNU\ Data\ Access\ 1.2.2\" -DPACKAGE_BUGREPORT=\"gnome-db-list@gnome.org\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_FREETDS_VER0_6X=1 -DHAVE_FREETDS=1 -DHAVE_MDB=1 -DHAVE_LDAP=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/include -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -MT gda-freetds-provider.lo -MD -MP -MF ".deps/gda-freetds-provider.Tpo" -c -o gda-freetds-provider.lo gda-freetds-provider.c; \ then mv -f ".deps/gda-freetds-provider.Tpo" ".deps/gda-freetds-provider.Plo"; else rm -f ".deps/gda-freetds-provider.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\" -DPACKAGE_VERSION=\"1.2.2\" "-DPACKAGE_STRING=\"GNU Data Access 1.2.2\"" -DPACKAGE_BUGREPORT=\"gnome-db-list@gnome.org\" -DBONOBO_EXPLICIT_TRANSLATION_DOMAIN=\"libgda-2\" -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-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -DHAVE_MYSQL=1 -DHAVE_FREETDS_VER0_6X=1 -DHAVE_FREETDS=1 -DHAVE_MDB=1 -DHAVE_LDAP=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/include -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -MT gda-freetds-provider.lo -MD -MP -MF .deps/gda-freetds-provider.Tpo -c gda-freetds-provider.c -fPIC -DPIC -o .libs/gda-freetds-provider.o In file included from gda-freetds.h:31, from gda-freetds-provider.c:32: gda-freetds-provider.h:67: error: parse error before "TDSCONNECTINFO" gda-freetds-provider.h:67: warning: no semicolon at end of struct or union gda-freetds-provider.h:77: error: parse error before '}' token In file included from gda-freetds.h:33, from gda-freetds-provider.c:32: gda-freetds-types.h:37: error: parse error before "TDSCOLINFO" gda-freetds-types.h:39: error: parse error before '*' token In file included from gda-freetds.h:34, from gda-freetds-provider.c:32: gda-freetds-message.h:42: error: parse error before "TDSMSGINFO" gda-freetds-message.h:42: warning: no semicolon at end of struct or union gda-freetds-message.h:46: error: parse error before "TDSMSGINFO" gda-freetds-message.h:49: error: parse error before "TDSMSGINFO" gda-freetds-provider.c:122: error: parse error before "TDSMSGINFO" gda-freetds-provider.c:125: error: parse error before "TDSMSGINFO" gda-freetds-provider.c: In function `gda_freetds_provider_open_connection': gda-freetds-provider.c:203: error: invalid application of `sizeof' to incomplete type `gda-freetds-provider.h' gda-freetds-provider.c:205: error: dereferencing pointer to incomplete type gda-freetds-provider.c:207: error: dereferencing pointer to incomplete type gda-freetds-provider.c:214: error: dereferencing pointer to incomplete type gda-freetds-provider.c:215: error: dereferencing pointer to incomplete type gda-freetds-provider.c:222: error: dereferencing pointer to incomplete type gda-freetds-provider.c:223: error: dereferencing pointer to incomplete type gda-freetds-provider.c:230: error: dereferencing pointer to incomplete type gda-freetds-provider.c:236: error: dereferencing pointer to incomplete type gda-freetds-provider.c:237: error: dereferencing pointer to incomplete type gda-freetds-provider.c:238: error: dereferencing pointer to incomplete type gda-freetds-provider.c:241: error: dereferencing pointer to incomplete type gda-freetds-provider.c:243: error: dereferencing pointer to incomplete type gda-freetds-provider.c:245: error: dereferencing pointer to incomplete type gda-freetds-provider.c:248: error: dereferencing pointer to incomplete type gda-freetds-provider.c:250: error: dereferencing pointer to incomplete type gda-freetds-provider.c:251: error: dereferencing pointer to incomplete type gda-freetds-provider.c:252: error: dereferencing pointer to incomplete type gda-freetds-provider.c:256: error: dereferencing pointer to incomplete type gda-freetds-provider.c:257: error: dereferencing pointer to incomplete type gda-freetds-provider.c:265: error: dereferencing pointer to incomplete type gda-freetds-provider.c:266: error: dereferencing pointer to incomplete type gda-freetds-provider.c:273: error: dereferencing pointer to incomplete type gda-freetds-provider.c:273: error: dereferencing pointer to incomplete type gda-freetds-provider.c:274: error: dereferencing pointer to incomplete type gda-freetds-provider.c:280: error: dereferencing pointer to incomplete type gda-freetds-provider.c:281: error: dereferencing pointer to incomplete type gda-freetds-provider.c:281: error: dereferencing pointer to incomplete type gda-freetds-provider.c:281: error: dereferencing pointer to incomplete type gda-freetds-provider.c:282: error: dereferencing pointer to incomplete type gda-freetds-provider.c:282: error: dereferencing pointer to incomplete type gda-freetds-provider.c:291: error: dereferencing pointer to incomplete type gda-freetds-provider.c:307: error: dereferencing pointer to incomplete type gda-freetds-provider.c:309: error: dereferencing pointer to incomplete type gda-freetds-provider.c:317: error: dereferencing pointer to incomplete type gda-freetds-provider.c:339: error: dereferencing pointer to incomplete type gda-freetds-provider.c: In function `gda_freetds_free_connection_data': gda-freetds-provider.c:351: error: dereferencing pointer to incomplete type gda-freetds-provider.c:352: error: dereferencing pointer to incomplete type gda-freetds-provider.c:353: error: dereferencing pointer to incomplete type gda-freetds-provider.c:355: error: dereferencing pointer to incomplete type gda-freetds-provider.c:356: error: dereferencing pointer to incomplete type gda-freetds-provider.c:357: error: dereferencing pointer to incomplete type gda-freetds-provider.c:359: error: dereferencing pointer to incomplete type gda-freetds-provider.c:361: error: dereferencing pointer to incomplete type gda-freetds-provider.c:365: error: dereferencing pointer to incomplete type gda-freetds-provider.c:367: error: dereferencing pointer to incomplete type gda-freetds-provider.c:369: error: dereferencing pointer to incomplete type gda-freetds-provider.c:370: error: dereferencing pointer to incomplete type gda-freetds-provider.c:371: error: dereferencing pointer to incomplete type gda-freetds-provider.c:374: error: dereferencing pointer to incomplete type gda-freetds-provider.c:376: error: dereferencing pointer to incomplete type gda-freetds-provider.c:377: error: dereferencing pointer to incomplete type gda-freetds-provider.c:378: error: dereferencing pointer to incomplete type gda-freetds-provider.c:379: error: dereferencing pointer to incomplete type gda-freetds-provider.c:382: error: dereferencing pointer to incomplete type gda-freetds-provider.c:383: error: dereferencing pointer to incomplete type gda-freetds-provider.c:384: error: dereferencing pointer to incomplete type gda-freetds-provider.c:387: error: dereferencing pointer to incomplete type gda-freetds-provider.c:388: error: dereferencing pointer to incomplete type gda-freetds-provider.c:389: error: dereferencing pointer to incomplete type gda-freetds-provider.c:394: error: dereferencing pointer to incomplete type gda-freetds-provider.c:397: error: dereferencing pointer to incomplete type gda-freetds-provider.c:398: error: dereferencing pointer to incomplete type gda-freetds-provider.c:401: error: dereferencing pointer to incomplete type gda-freetds-provider.c:402: error: dereferencing pointer to incomplete type gda-freetds-provider.c:403: error: dereferencing pointer to incomplete type gda-freetds-provider.c:409: error: dereferencing pointer to incomplete type gda-freetds-provider.c:412: error: dereferencing pointer to incomplete type gda-freetds-provider.c:413: error: dereferencing pointer to incomplete type gda-freetds-provider.c:416: error: dereferencing pointer to incomplete type gda-freetds-provider.c:417: error: dereferencing pointer to incomplete type gda-freetds-provider.c: In function `gda_freetds_provider_get_database': gda-freetds-provider.c:454: error: dereferencing pointer to incomplete type gda-freetds-provider.c:456: error: dereferencing pointer to incomplete type gda-freetds-provider.c:457: error: dereferencing pointer to incomplete type gda-freetds-provider.c:459: error: dereferencing pointer to incomplete type gda-freetds-provider.c:462: error: dereferencing pointer to incomplete type gda-freetds-provider.c: In function `gda_freetds_provider_get_server_version': gda-freetds-provider.c:633: error: dereferencing pointer to incomplete type gda-freetds-provider.c:642: error: dereferencing pointer to incomplete type gda-freetds-provider.c:648: error: dereferencing pointer to incomplete type gda-freetds-provider.c: In function `gda_freetds_provider_get_types': gda-freetds-provider.c:666: error: `TDSCOLINFO' undeclared (first use in this function) gda-freetds-provider.c:666: error: (Each undeclared identifier is reported only once gda-freetds-provider.c:666: error: for each function it appears in.) gda-freetds-provider.c:666: error: parse error before "col" gda-freetds-provider.c:675: error: `col' undeclared (first use in this function) gda-freetds-provider.c: In function `gda_freetds_execute_cmd': gda-freetds-provider.c:794: error: dereferencing pointer to incomplete type gda-freetds-provider.c:796: error: dereferencing pointer to incomplete type gda-freetds-provider.c:796: error: dereferencing pointer to incomplete type gda-freetds-provider.c:797: error: dereferencing pointer to incomplete type gda-freetds-provider.c:799: error: dereferencing pointer to incomplete type gda-freetds-provider.c:806: error: dereferencing pointer to incomplete type gda-freetds-provider.c:806: error: dereferencing pointer to incomplete type gda-freetds-provider.c:806: error: dereferencing pointer to incomplete type gda-freetds-provider.c:811: error: dereferencing pointer to incomplete type gda-freetds-provider.c:813: error: dereferencing pointer to incomplete type gda-freetds-provider.c:820: error: dereferencing pointer to incomplete type gda-freetds-provider.c:820: error: dereferencing pointer to incomplete type gda-freetds-provider.c:821: error: dereferencing pointer to incomplete type gda-freetds-provider.c: In function `gda_freetds_execute_query': gda-freetds-provider.c:841: error: dereferencing pointer to incomplete type gda-freetds-provider.c:843: error: dereferencing pointer to incomplete type gda-freetds-provider.c:843: error: dereferencing pointer to incomplete type gda-freetds-provider.c:845: error: dereferencing pointer to incomplete type gda-freetds-provider.c:846: error: dereferencing pointer to incomplete type gda-freetds-provider.c: In function `gda_freetds_provider_process_sql_commands': gda-freetds-provider.c:948: error: dereferencing pointer to incomplete type gda-freetds-provider.c:956: error: dereferencing pointer to incomplete type gda-freetds-provider.c:956: error: dereferencing pointer to incomplete type gda-freetds-provider.c:958: error: dereferencing pointer to incomplete type gda-freetds-provider.c:959: error: dereferencing pointer to incomplete type gda-freetds-provider.c: In function `gda_freetds_provider_tds_handle_message': gda-freetds-provider.c:1046: error: `TDSMSGINFO' undeclared (first use in this function) gda-freetds-provider.c:1046: error: `msg_info' undeclared (first use in this function) gda-freetds-provider.c:1046: error: parse error before ')' token gda-freetds-provider.c: At top level: gda-freetds-provider.c:1102: error: parse error before "TDSMSGINFO" gda-freetds-provider.c: In function `gda_freetds_provider_tds_handle_info_msg': gda-freetds-provider.c:1104: error: `tds' undeclared (first use in this function) gda-freetds-provider.c:1106: error: `msg' undeclared (first use in this function) gda-freetds-provider.c: At top level: gda-freetds-provider.c:1124: error: parse error before "TDSMSGINFO" gda-freetds-provider.c: In function `gda_freetds_provider_tds_handle_err_msg': gda-freetds-provider.c:1126: error: `tds' undeclared (first use in this function) gda-freetds-provider.c:1128: error: `msg' undeclared (first use in this function) make[2]: *** [gda-freetds-provider.lo] Error 1 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/libgda-1.2.2/work/libgda-1.2.2/providers/freetds' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/libgda-1.2.2/work/libgda-1.2.2/providers' make: *** [all-recursive] Error 1 root@blight libgda-1.2.2 # emerge info Portage 2.0.53_rc6 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-rc2-git4 i686) ================================================================= System uname: 2.6.14-rc2-git4 i686 Pentium III (Katmai) Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/run/dspam" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ngi.it http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/" LANG="it_IT@euro" LC_ALL="it_IT@euro" LINGUAS="it" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns alsa apache2 apm arts audiofile avi bash-completion berkdb bidi bitmap-fonts bonobo bootsplash browserplugin caps cdda cddb cdio cdparanoia cdr cgi chroot clamav cli client codecs crypt css cups curl dba dbus dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif extraengine faac faad fam fbcon ffmpeg fftw flac flash foomaticdb foreign-package fortran freetds gcj gd gdbm geometry ggi gif gimp gimpprint glx gnokii gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal iconv idea imagemagick imap imlib innodb irda irmc jack java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kerberos kqemu lcd ldap libcaca libclamav libg++ libgda libusb libwww lirc live lm_sensors lzo mad mailwrapper matroska md5sum mdb mikmod mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg oggvorbis opengl operanom2 oss pam pcre pda pdf pdflib pdo pear perl png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas readline real rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts udev usb userlocales vidix vorbis win32codecs wsconvert wxwindows xanim xchatdccserver xchattext xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvm xvmc zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS
This seems to be a compatibility issue between freetds-0.63 and libgda. Gnome guys, if there aren't any patches available upstream, can we get the version dependency for freetds adjusted here?
Thanks for the report. libgda-1.2.2-r1.ebuild contains a patch for this problem. Please test it.
ok, tomorrow i'll sync and test, now i can't
tested now, it compiles perfectly. Thanks!