* [gentoo-user] dev-db/myodbc-5.1.6 fails to compile
@ 2014-08-09 17:51 Mick
0 siblings, 0 replies; only message in thread
From: Mick @ 2014-08-09 17:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 3549 bytes --]
Following an update of mysql to 5.5.39 today and a @preserved-rebuild I came
up to this problem when trying to rebuild myodbc:
config.status: creating Makefile
config.status: creating util/Makefile
config.status: creating driver/Makefile
config.status: creating setup/Makefile
config.status: creating installer/Makefile
config.status: creating test/Makefile
config.status: creating scripts/Makefile
config.status: creating dltest/Makefile
config.status: creating driver/myconf.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --with-mysql-libs, --with-mysql-
includes, --enable-myodbc3i, --enable-myodbc3m, --without-samples, --without-
docs
Success!!
--------------------------------------------------------------------
| Remember to check the Connector/ODBC documentation for detailed |
| installation and setup instructions at: |
| http://dev.mysql.com/doc/refman/5.0/en/myodbc-connector.html |
| |
| Connector/ODBC product information: |
| http://www.mysql.com/products/myodbc/ |
| |
| Connector/ODBC mailing list archive: |
| http://lists.mysql.com/myodbc |
| |
| If you have any questions or improvements to ithe driver, then |
| send a detailed mail to 'myodbc@lists.mysql.com' |
--------------------------------------------------------------------
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-db/myodbc-5.1.6/work/mysql-
connector-odbc-5.1.6 ...
make -j1
Making all in util
make[1]: Entering directory `/var/tmp/portage/dev-db/myodbc-5.1.6/work/mysql-
connector-odbc-5.1.6/util'
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -
DHAVE_CONFIG_H -I. -I../driver -I.. -I/usr/include -O3 -DDBUG_OFF -
I/usr/include/mysql -DNDEBUG -march=prescott -O2 -pipe -fomit-frame-pointer -
MT stringutil.lo -MD -MP -MF .deps/stringutil.Tpo -c -o stringutil.lo
stringutil.c
libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../driver -I..
-I/usr/include -O3 -DDBUG_OFF -I/usr/include/mysql -DNDEBUG -march=prescott -
O2 -pipe -fomit-frame-pointer -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:125:5: error: too many arguments to function 'my_free'
In file included from ../MYODBC_MYSQL.h:28:0,
from stringutil.h:35,
from stringutil.c:30:
/usr/include/mysql/my_sys.h:156:13: note: declared here
make[1]: *** [stringutil.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/myodbc-5.1.6/work/mysql-
connector-odbc-5.1.6/util'
make: *** [all-recursive] Error 1
emake failed
* ERROR: dev-db/myodbc-5.1.6::gentoo failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2854: Called die
* The specific snippet of code:
* emake || die "emake failed"
*
I've installed myodbc-5.2.7 which is not stable yet, but was wondering if
there is there a fix for 5.1.6, or why it fails.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-09 17:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-09 17:51 [gentoo-user] dev-db/myodbc-5.1.6 fails to compile Mick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox