On 2013-10-22 at 17:35 Urs Forster was heard to say: > Hi > > Trying to compile I get this > > dbd_mysql.c: In function 'dbd_connect': > dbd_mysql.c:155. error: 'CLIENT_MULTI_STATEMENTS' UNDECLARED (first > use in this function) > > This is libdbi-drivers-0.8.3 > having libdbi 0.8.4 > and mysql 5.0.96 > > used gcc 3.4.3 > > I have no clou what's missing. > I was adviced to use thes versions in order to get Icinga to compile on > this box > > > Thanks for any help > > Urs >
Hi, CLIENT_MULTI_STATEMENTS is a constant defined by one of the mysql headers (mysql_com.h). To the best of my knowledge, this constant has been around for years, probably even in pre-5.0 releases. Please check if your mysql headers are in sync with the database version that you intend to use. What does the following command return (adapt path as necessary): grep -R CLIENT_MULTI_STATEMENTS /usr/include/* regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Libdbi-drivers-devel mailing list Libdbi-drivers-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel