Re: [gnome-db] Error compiling libgda 1.3.4 on RHES 4.1
- From: Chandana De Silva <chandana desilva id au>
- To: Vivien Malerba <vmalerba gmail com>
- Cc: gnome-db-list gnome org
- Subject: Re: [gnome-db] Error compiling libgda 1.3.4 on RHES 4.1
- Date: Mon, 01 Aug 2005 08:48:42 +1000
I am using freetds v 0.63, which the supposedly stable version. I will
do a post to the freetds list and see what they say. Thanks for your input.
Vivien Malerba wrote:
On 7/29/05, Chandana De Silva <chandana desilva id au> wrote:
Hi Vivien,
Thanks. I edited the gamin.pc file and got past that point. It is now
breaking on the free tds provider.
Good to know it was just a gamin.pc error (maybe you could send a bug
report to RedHat?)!
This is the error from the freetds provider:
------------------------------
gcc "-DPACKAGE_NAME=\"GNU Data Access\"" -DPACKAGE_TARNAME=\"libgda\"
-DPACKAGE_VERSION=\"1.3.4\" "-DPACKAGE_STRING=\"GNU Data Access 1.3.4\""
-DPACKAGE_BUGREPORT=\"gnome-db-list gnome org\"
-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_MYSQL=1
-DHAVE_FREETDS_VER0_6X=1 -DHAVE_FREETDS=1 -DHAVE_SYBASE=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/local//include
-g -O2 -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: syntax error before "TDSCONNECTINFO"
gda-freetds-provider.h:67: warning: no semicolon at end of struct or union
gda-freetds-provider.h:77: error: syntax error before '}' token
In file included from gda-freetds.h:33,
from gda-freetds-provider.c:32:
gda-freetds-types.h:37: error: syntax error before "TDSCOLINFO"
gda-freetds-types.h:39: error: syntax error before '*' token
In file included from gda-freetds.h:34,
from gda-freetds-provider.c:32:
gda-freetds-message.h:42: error: syntax error before "TDSMSGINFO"
gda-freetds-message.h:42: warning: no semicolon at end of struct or union
gda-freetds-message.h:46: error: syntax error before "TDSMSGINFO"
gda-freetds-message.h:49: error: syntax error before "TDSMSGINFO"
gda-freetds-provider.c:122: error: syntax error before "TDSMSGINFO"
gda-freetds-provider.c:125: error: syntax 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 onlyonce
gda-freetds-provider.c:666: error: for each function it appears in.)
gda-freetds-provider.c:666: error: syntax 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:806: error: too few arguments to function
`tds_process_result_tokens'
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: syntax error before ')' token
gda-freetds-provider.c: At top level:
gda-freetds-provider.c:1102: error: syntax 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: syntax 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 `/usr/src/libgda-1.3.4/providers/freetds'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/libgda-1.3.4/providers'
make: *** [all-recursive] Error 1
--------------------------------------------
It looks like there is a problem with the freetds headers as it does
not know about the TDSCONNECTINFO and other freetds specific data
structures.
I have freetds version 0.61 and it does compile correctly (after a
very minor correction in the code which I'm going to put into CVS).
Which version of the freedts library do you have?
Vivien
[
Date Prev][Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]