MyODBC builds fails

MyODBC builds fails

am 24.06.2005 13:30:03 von Somashekara DM

Hi all,

I'm building MyODBC 3.51.11 on RedHat 9.0 Linux platform for iODBC and
mysql-version 4.1.7 (standard).

I run the configure with following options
#./configure --prefix=/usr/local/MyODBC-3.51/
--with-iODBC=/usr/local/iodbc/
--with-iodbc-includes=/usr/local/iodbc/include/
--with-iodbc-libs=/usr/local/iodbc/lib/
--with-mysql-path=/usr/local/mysql-standard-4.1.7-pc-linux-i 686/
--enable-shared=yes

after that, i did make and observed following errors
------------------------------------------------------------ ---------------
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/iodbc/include/ -O3
-DDBUG_OFF -DPORTABLE_GUI
-I/usr/local/mysql-standard-4.1.7-pc-linux-i686//include
-mcpu=pentiumpro -MT connect.lo -MD -MP -MF .deps/connect.Tpo -c
connect.c -fPIC -DPIC -o .libs/connect.o
In file included from
/usr/local/mysql-standard-4.1.7-pc-linux-i686/include/my_glo bal.h:291,
from myodbc3.h:65,
from connect.c:41:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in
userland program. BAD!
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/local/mysql-standard-4.1.7-pc-linux-i686/include/my_glo bal.h:70,
from myodbc3.h:65,
from connect.c:41:
/usr/local/mysql-standard-4.1.7-pc-linux-i686/include/my_con fig.h:867:1:
warning: this is the location of the previous 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/local/mysql-standard-4.1.7-pc-linux-i686/include/my_glo bal.h:70,
from myodbc3.h:65,
from connect.c:41:
/usr/local/mysql-standard-4.1.7-pc-linux-i686/include/my_con fig.h:989:1:
warning: this is the location of the previous definition
In file included from ../util/MYODBCUtil.h:41,
from connect.c:47:
/usr/local/iodbc/include/iodbcinst.h:340: conflicting types for
`_myodbc_SQLGetPrivateProfileString'
myodbc3.h:122: previous declaration of `_myodbc_SQLGetPrivateProfileString'
make[2]: *** [connect.lo] Error 1
make[2]: Leaving directory `/home/opsxml/iodbc/MyODBC-3.51.11/driver'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/opsxml/iodbc/MyODBC-3.51.11/driver'
make: *** [all-recursive] Error 1
------------------------------------------------------------ ---------------

Please help to resolve this issue.

Thank in advance
Soma

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org