From: Markus H. <mar...@mh...> - 2014-09-08 21:27:41
|
At 2014-09-08 15:50 S M was heard to say: > Hi, > > I'm trying compile libdbi with DB2 support. I've downloaded the latest version (libdbi-drivers-0.9.0) and exec'ed > > ./configure --with-db2 --with-db2-incdir=/opt/ibm/db2/V10.5/include --with-db2-dir=/opt/ibm/db2/V10.5 > > That part worked. But when running 'make' it fails with: > [...] > dbd_db2.c: At top level: > dbd_db2.c:267: error: conflicting types for 'dbd_goto_row' > /usr/include/dbi/dbd.h:41: note: previous declaration of 'dbd_goto_row' was here Hi, this smells like a mismatch between your libdbi headers/libraries and the driver version you're trying to build. The dbd_goto_row() prototype and driver implementations were changed in early 2013. Make sure you have a matching libdbi 0.9 for your libdbi-drivers 0.9, or better yet, use the git versions of both if you're fiddling with experimental drivers. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 |