[Gambas-devel] Gambas 2.21 build error with iodbc
Silvan Calarco
silvan.calarco at ...531...
Mon Aug 23 12:53:03 CEST 2010
Hi.
Since I've switched from libodbc to libiodbc (http://www.iodbc.org) I'm unable
to build gambas anymore (see failed build log below). Is this a major
incompatibility or can the issue be fixed with minor changes?
Thanks!
Silvan
----
libtool: compile: ccache i586-openmamba-linux-gnu-gcc -DHAVE_CONFIG_H -I. -
I.. -pipe -Wall -Wno-unused-value -Wcast-align -fsigned-char -
fvisibility=hidden -g -Os -MT main.lo -MD -MP -MF .deps/main.Tpo -c main.c -
fPIC -DPIC -o .libs/main.o
In file included from main.h:28:0,
from main.c:51:
../gambas.h:54:0: warning: "EXPORT" redefined
/usr/include/iodbcunix.h:97:0: note: this is the location of the previous
definition
main.c: In function ‘table_init’:
main.c:1594:26: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in this
function)
main.c:1594:26: note: each undeclared identifier is reported only once for
each function it appears in
main.c:1597:35: error: ‘SQLColumns_SQL_DATA_TYPE’ undeclared (first use in
this function)
main.c:1605:35: error: ‘SQLColumns_COLUMN_SIZE’ undeclared (first use in this
function)
main.c: In function ‘table_index’:
main.c:1712:36: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in this
function)
main.c: In function ‘table_exist’:
main.c:1882:25: error: ‘SQLTables_TABLE_NAME’ undeclared (first use in this
function)
main.c:1884:25: error: ‘SQLTables_TABLE_TYPE’ undeclared (first use in this
function)
main.c:1886:25: error: ‘SQLTables_REMARKS’ undeclared (first use in this
function)
main.c: In function ‘table_list’:
main.c:1968:25: error: ‘SQLTables_TABLE_NAME’ undeclared (first use in this
function)
main.c:1970:25: error: ‘SQLTables_TABLE_TYPE’ undeclared (first use in this
function)
main.c:1972:25: error: ‘SQLTables_REMARKS’ undeclared (first use in this
function)
main.c: In function ‘field_exist’:
main.c:2364:26: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in this
function)
main.c: In function ‘field_list’:
main.c:2452:35: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in this
function)
main.c: In function ‘field_info’:
main.c:2569:26: error: ‘SQLColumns_COLUMN_NAME’ undeclared (first use in this
function)
main.c:2574:30: error: ‘SQLColumns_SQL_DATA_TYPE’ undeclared (first use in
this function)
main.c:2575:30: error: ‘SQLColumns_COLUMN_SIZE’ undeclared (first use in this
function)
make[4]: *** [main.lo] Errore 1
make[4]: Leaving directory
`/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc/src'
make[3]: *** [all-recursive] Errore 1
make[3]: Leaving directory
`/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc'
make[2]: *** [all] Errore 2
make[2]: Leaving directory
`/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0/gb.db.odbc'
make[1]: *** [all-recursive] Errore 1
make[1]: Leaving directory `/mnt/sdc1/autodist/RPM/BUILD/gambas2-2.21.0'
make: *** [all] Errore 2
[autodist at ...655... gambas2-2.21.0]$
--
mambaSoft di Calarco Silvan
Web: http://www.mambasoft.it
mambaSoft Store @ http://shop.mambasoft.it
openmamba GNU/Linux development @ http://www.openmamba.org
More information about the Devel
mailing list