error when I install mysql-odbc

louis <[email protected]> Tue, 23 Aug 2011 17:58:32 +0800 (CST)
Newsgroups gmane.comp.db.mysql.odbc
Message-ID <[email protected]>
 dear:

I encountered an error when I installed "mysql-connector-odbc-5.1.8". I don't know what is wrong.

cpu: x86_64
mysql-5.5.15: Installed
unixODBC-2.3.0: Installed

shell>./configure --prefix=/usr/local --with-unixODBC==/usr/local --with-mysql-path=/usr/local/mysql

Success!!

shell>make

Making all in util
make[1]: Entering directory `/root/install/new/mysql-connector-odbc-5.1.8/util'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../driver -I..  -I/usr/include  -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -MT stringutil.lo -MD -MP -MF .deps/stringutil.Tpo -c -o stringutil.lo stringutil.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../driver -I.. -I/usr/include -O3 -DDBUG_OFF -I/usr/local/mysql/include -g -g -O2 -MT stringutil.lo -MD -MP -MF .deps/stringutil.Tpo -c stringutil.c  -fPIC -DPIC -o .libs/stringutil.o
stringutil.c: In function ‘sqlchar_as_sqlwchar’:
stringutil.c:127: error: too many arguments to function ‘my_free’
stringutil.c:663:2: warning: no newline at end of file
make[1]: *** [stringutil.lo] Error 1
make[1]: Leaving directory `/root/install/new/mysql-connector-odbc-5.1.8/util'
make: *** [all-recursive] Error 1


Expect a reply.Thank you very much!!