  | | | Problems building the myodbc package | Problems building the myodbc package 2006-06-01 - By Reinhold Bader
Back Dear MySQL people,
On an Itanium system with MySQL 4.0 and iodbc 3.52.4 I have tried to build the connector (version 3.51.12) with gcc by using
F77=ifort CC=icc CFLAGS="-O2" ./configure --prefix=/lrz/sys/iodbc/mysql-conn-3 (See http://onn-3.ora-code.com) .51.12 --with-iODBC=/lrz/sys/iodbc/3.52.4 --with-iodbc-includes=/lrz/sys/iodbc /3.52.4/include --with-iodbc-libs=/lrz/sys/iodbc/3.52.4/lib
the build fails with the following messages:
In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from error.c:41: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from error.c:41: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from handle.c:46: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from handle.c:46: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from execute.c:43: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from execute.c:43: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from dll.c:34: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from dll.c:34: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from catalog.c:49: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from catalog.c:49: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from info.c:41: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from info.c:41: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from cursor.c:44: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from cursor.c:44: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition cursor.c: In function `insert_field': cursor.c:468: warning: assignment from incompatible pointer type cursor.c: In function `build_set_clause': cursor.c:809: warning: assignment from incompatible pointer type cursor.c:847: warning: assignment from incompatible pointer type cursor.c: In function `batch_insert': cursor.c:1158: warning: assignment from incompatible pointer type In file included from /lrz/sys/iodbc/3.52.4/include/sql.h:92, from myodbc3.h:102, from connect.c:41: /lrz/sys/iodbc/3.52.4/include/iodbcunix.h:99:1: warning: "VOID" redefined In file included from myodbc3.h:65, from connect.c:41: /usr/include/mysql/my_global.h:339:1: warning: this is the location of the previ ous definition In file included from ../util/MYODBCUtil.h:25, from connect.c:47: ../driver/myconf.h:117:1: warning: "PACKAGE" redefined In file included from /usr/include/mysql/my_global.h:70, from myodbc3.h:65, from connect.c:41: /usr/include/mysql/my_config.h:808:1: warning: this is the location of the previ ous definition In file included from ../util/MYODBCUtil.h:25, from connect.c:47: ../driver/myconf.h:174:1: warning: "VERSION" redefined In file included from /usr/include/mysql/my_global.h:70, from myodbc3.h:65, from connect.c:41: /usr/include/mysql/my_config.h:856:1: warning: this is the location of the previ ous definition connect.c: In function `get_client_flag': connect.c:145: error: `CLIENT_MULTI_RESULTS' undeclared (first use in this funct ion)
Any idea which I can do (perhaps a different version of iodbc?)
Regards
-- Dr. Reinhold Bader
Leibniz-Rechenzentrum, Abt. Hochleistungssysteme | Tel. +49 89 35831 8825 Boltzmannstr. 1, 85748 Garching | Fax +49 89 35831 9700
-- MySQL ODBC Mailing List For list archives: http://lists.mysql.com/myodbc To unsubscribe: http://lists.mysql.com/myodbc?unsub=mysql@(protected)
|
|
 |