[Gambas-devel] Gambas 2.21 build error with iodbc

Andrea Bortolan andrea_bortolan at ...112...
Tue Aug 24 10:37:35 CEST 2010


Hi,
the ODBC component depends on unixODBC driver manager and was developed to be 
used only with unixODBC. 

iODBC is different in many ways from unixODBC, probably with some work it will 
be possible to change the Gambas ODBC component in order to use both unixODBC 
and iODBC driver managers but it's not on my plans right now.

Ciao, Andrea.




________________________________
Da: Silvan Calarco <silvan.calarco at ...531...>
A: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Inviato: Lun 23 agosto 2010, 12:53:03
Oggetto: [Gambas-devel] Gambas 2.21 build error with iodbc

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

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20100824/9661dbf4/attachment.html>


More information about the Devel mailing list