Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
mysql:it 's a db not a dbms how it 's possible?!
Does the binary log enabling affect the MySQL performances?
Strange behavior, Table Level Permission
FULLTEXT query format question
Preventing Duplicate Entries
Comparing and writing out BLOBS
Executing MySQL Commands From Within C Program
Can 't access mysql after kernel upgrade
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Downgrade Mysql from 4 to 3 23
MySQL Cluster Software
mysql test 4 1 fails with the gis test
ERROR 2002: Can 't connect to local MySQL server through socket
Getting Identity after INSERT
Update one field with more fields from another table
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
mysql have same function mthod as Oracle decode()
 
Problems building the myodbc package

Problems building the myodbc package

2006-06-01       - By Reinhold Bader

 Back
Reply:     1     2  

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)