1 |
Following an update of mysql to 5.5.39 today and a @preserved-rebuild I came |
2 |
up to this problem when trying to rebuild myodbc: |
3 |
|
4 |
|
5 |
config.status: creating Makefile |
6 |
config.status: creating util/Makefile |
7 |
config.status: creating driver/Makefile |
8 |
config.status: creating setup/Makefile |
9 |
config.status: creating installer/Makefile |
10 |
config.status: creating test/Makefile |
11 |
config.status: creating scripts/Makefile |
12 |
config.status: creating dltest/Makefile |
13 |
config.status: creating driver/myconf.h |
14 |
config.status: executing depfiles commands |
15 |
config.status: executing libtool commands |
16 |
configure: WARNING: unrecognized options: --with-mysql-libs, --with-mysql- |
17 |
includes, --enable-myodbc3i, --enable-myodbc3m, --without-samples, --without- |
18 |
docs |
19 |
|
20 |
Success!! |
21 |
-------------------------------------------------------------------- |
22 |
| Remember to check the Connector/ODBC documentation for detailed | |
23 |
| installation and setup instructions at: | |
24 |
| http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html | |
25 |
| | |
26 |
| Connector/ODBC product information: | |
27 |
| http://www.mysql.com/products/myodbc/ | |
28 |
| | |
29 |
| Connector/ODBC mailing list archive: | |
30 |
| http://lists.mysql.com/myodbc | |
31 |
| | |
32 |
| If you have any questions or improvements to ithe driver, then | |
33 |
| send a detailed mail to 'myodbc@×××××××××××.com' | |
34 |
-------------------------------------------------------------------- |
35 |
|
36 |
>>> Source configured. |
37 |
>>> Compiling source in /var/tmp/portage/dev-db/myodbc-5.1.6/work/mysql- |
38 |
connector-odbc-5.1.6 ... |
39 |
make -j1 |
40 |
Making all in util |
41 |
make[1]: Entering directory `/var/tmp/portage/dev-db/myodbc-5.1.6/work/mysql- |
42 |
connector-odbc-5.1.6/util' |
43 |
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc - |
44 |
DHAVE_CONFIG_H -I. -I../driver -I.. -I/usr/include -O3 -DDBUG_OFF - |
45 |
I/usr/include/mysql -DNDEBUG -march=prescott -O2 -pipe -fomit-frame-pointer - |
46 |
MT stringutil.lo -MD -MP -MF .deps/stringutil.Tpo -c -o stringutil.lo |
47 |
stringutil.c |
48 |
libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../driver -I.. |
49 |
-I/usr/include -O3 -DDBUG_OFF -I/usr/include/mysql -DNDEBUG -march=prescott - |
50 |
O2 -pipe -fomit-frame-pointer -MT stringutil.lo -MD -MP -MF |
51 |
.deps/stringutil.Tpo -c stringutil.c -fPIC -DPIC -o .libs/stringutil.o |
52 |
stringutil.c: In function 'sqlchar_as_sqlwchar': |
53 |
stringutil.c:125:5: error: too many arguments to function 'my_free' |
54 |
In file included from ../MYODBC_MYSQL.h:28:0, |
55 |
from stringutil.h:35, |
56 |
from stringutil.c:30: |
57 |
/usr/include/mysql/my_sys.h:156:13: note: declared here |
58 |
make[1]: *** [stringutil.lo] Error 1 |
59 |
make[1]: Leaving directory `/var/tmp/portage/dev-db/myodbc-5.1.6/work/mysql- |
60 |
connector-odbc-5.1.6/util' |
61 |
make: *** [all-recursive] Error 1 |
62 |
emake failed |
63 |
* ERROR: dev-db/myodbc-5.1.6::gentoo failed (compile phase): |
64 |
* emake failed |
65 |
* |
66 |
* Call stack: |
67 |
* ebuild.sh, line 93: Called src_compile |
68 |
* environment, line 2854: Called die |
69 |
* The specific snippet of code: |
70 |
* emake || die "emake failed" |
71 |
* |
72 |
|
73 |
|
74 |
I've installed myodbc-5.2.7 which is not stable yet, but was wondering if |
75 |
there is there a fix for 5.1.6, or why it fails. |
76 |
|
77 |
-- |
78 |
Regards, |
79 |
Mick |