error when I install mysql-odbc

error when I install mysql-odbc

am 23.08.2011 11:58:32 von Louis

------=_Part_127757_109275265.1314093512973
Content-Type: text/plain; charset=GBK
Content-Transfer-Encoding: base64

IGRlYXI6CgpJIGVuY291bnRlcmVkIGFuIGVycm9yIHdoZW4gSSBpbnN0YWxs ZWQgIm15c3FsLWNv
bm5lY3Rvci1vZGJjLTUuMS44Ii4gSSBkb24ndCBrbm93IHdoYXQgaXMgd3Jv bmcuCgpjcHU6IHg4
Nl82NApteXNxbC01LjUuMTU6IEluc3RhbGxlZAp1bml4T0RCQy0yLjMuMDog SW5zdGFsbGVkCgpz
aGVsbD4uL2NvbmZpZ3VyZSAtLXByZWZpeD0vdXNyL2xvY2FsIC0td2l0aC11 bml4T0RCQz09L3Vz
ci9sb2NhbCAtLXdpdGgtbXlzcWwtcGF0aD0vdXNyL2xvY2FsL215c3FsCgpT dWNjZXNzISEKCnNo
ZWxsPm1ha2UKCk1ha2luZyBhbGwgaW4gdXRpbAptYWtlWzFdOiBFbnRlcmlu ZyBkaXJlY3Rvcnkg
YC9yb290L2luc3RhbGwvbmV3L215c3FsLWNvbm5lY3Rvci1vZGJjLTUuMS44 L3V0aWwnCi9iaW4v
c2ggLi4vbGlidG9vbCAtLXRhZz1DQyAgIC0tbW9kZT1jb21waWxlIGdjYyAt REhBVkVfQ09ORklH
X0ggLUkuIC1JLi4vZHJpdmVyIC1JLi4gIC1JL3Vzci9pbmNsdWRlICAtTzMg LUREQlVHX09GRiAt
SS91c3IvbG9jYWwvbXlzcWwvaW5jbHVkZSAtZyAtZyAtTzIgLU1UIHN0cmlu Z3V0aWwubG8gLU1E
IC1NUCAtTUYgLmRlcHMvc3RyaW5ndXRpbC5UcG8gLWMgLW8gc3RyaW5ndXRp bC5sbyBzdHJpbmd1
dGlsLmMKbGlidG9vbDogY29tcGlsZTogIGdjYyAtREhBVkVfQ09ORklHX0gg LUkuIC1JLi4vZHJp
dmVyIC1JLi4gLUkvdXNyL2luY2x1ZGUgLU8zIC1EREJVR19PRkYgLUkvdXNy L2xvY2FsL215c3Fs
L2luY2x1ZGUgLWcgLWcgLU8yIC1NVCBzdHJpbmd1dGlsLmxvIC1NRCAtTVAg LU1GIC5kZXBzL3N0
cmluZ3V0aWwuVHBvIC1jIHN0cmluZ3V0aWwuYyAgLWZQSUMgLURQSUMgLW8g LmxpYnMvc3RyaW5n
dXRpbC5vCnN0cmluZ3V0aWwuYzogSW4gZnVuY3Rpb24goa5zcWxjaGFyX2Fz X3NxbHdjaGFyoa86
CnN0cmluZ3V0aWwuYzoxMjc6IGVycm9yOiB0b28gbWFueSBhcmd1bWVudHMg dG8gZnVuY3Rpb24g
oa5teV9mcmVloa8Kc3RyaW5ndXRpbC5jOjY2MzoyOiB3YXJuaW5nOiBubyBu ZXdsaW5lIGF0IGVu
ZCBvZiBmaWxlCm1ha2VbMV06ICoqKiBbc3RyaW5ndXRpbC5sb10gRXJyb3Ig MQptYWtlWzFdOiBM
ZWF2aW5nIGRpcmVjdG9yeSBgL3Jvb3QvaW5zdGFsbC9uZXcvbXlzcWwtY29u bmVjdG9yLW9kYmMt
NS4xLjgvdXRpbCcKbWFrZTogKioqIFthbGwtcmVjdXJzaXZlXSBFcnJvciAx CgoKRXhwZWN0IGEg
cmVwbHkuVGhhbmsgeW91IHZlcnkgbXVjaCEhCg==
------=_Part_127757_109275265.1314093512973--

Re: error when I install mysql-odbc

am 23.08.2011 14:51:06 von Lawrenty Novitsky

Hi,

To build against libmysql from 5.5 server distribution you need to get
latest source. you need bzr for that "bzr co --lightweight lp:myodbc
../name_of_local_folder"

or you need to install 5.1 server, too.

regards,

lawrin

On 23.08.2011 12:58, louis wrote:
> 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!!

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