problem in gmake of mysql-odbc connector

problem in gmake of mysql-odbc connector

am 11.04.2006 14:26:40 von Srimathi Chandrasekaran

i am in the process of configuring replica service.
i have used mysql-connector-odbc-3.51.12.tar.gz.
my ./configure was a succesful one
when i am using gmake.
i am getting the following error
any help in this regard would be highly appreciated
regards
srimathi.c

globus@ite17139:~/mysqlodbc/mysql-connector-odbc-3.51.12> gmake
Making all in util
gmake[1]: Entering directory
`/home/globus/mysqlodbc/mysql-connector-odbc-3.51.12/util'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory
`/home/globus/mysqlodbc/mysql-connector-odbc-3.51.12/util'
Making all in driver
gmake[1]: Entering directory
`/home/globus/mysqlodbc/mysql-connector-odbc-3.51.12/driver'
gmake all-am
gmake[2]: Entering directory
`/home/globus/mysqlodbc/mysql-connector-odbc-3.51.12/driver'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.
-isystem -I/usr/local//include -O3 -DDBUG_OFF -DBUG_OFF -I/usr/include/mysql
-march=i586 -mcpu=i686 -fmessage-length=0 -g -DPIC -fPIC
-DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing -MT results.lo -MD -MP -MF
".deps/results.Tpo" -c -o results.lo results.c; \
then mv -f ".deps/results.Tpo" ".deps/results.Plo"; else rm -f
".deps/results.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -isystem -I/usr/local//include -O3 -DDBUG_OFF
-DBUG_OFF -I/usr/include/mysql -march=i586 -mcpu=i686 -fmessage-length=0 -g
-DPIC -fPIC -DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing -MT results.lo -MD -MP
-MF .deps/results.Tpo -c results.c -fPIC -DPIC -o .libs/results.o
results.c:563: error: conflicting types for `SQLColAttribute'
/usr/local/include/sql.h:840: error: previous declaration of `SQLColAttribute'
gmake[2]: *** [results.lo] Error 1
gmake[2]: Leaving directory
`/home/globus/mysqlodbc/mysql-connector-odbc-3.51.12/driver'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/home/globus/mysqlodbc/mysql-connector-odbc-3.51.12/driver'
gmake: *** [all-recursive] Error 1



--
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