Autor: nikhil Datum: To: exim-users Betreff: [Exim] exim 3.12 with mysql build problem
I am currnetly trying to build/make exim 3.12. I have set LOOKUP_MYSQL=yes
When it tries to build it gives the following error:
make[2]: Entering directory `/home/nikhil/exim-3.12/build-Linux-i386/lookups'
gcc -c -O -I /usr/include mysql.c
mysql.c: In function `perform_mysql_search':
mysql.c:181: warning: passing arg 5 of `mysql_real_connect' makes integer from pointer without a cast
mysql.c:181: warning: passing arg 6 of `mysql_real_connect' makes pointer from integer without a cast
mysql.c:181: warning: passing arg 7 of `mysql_real_connect' makes integer from pointer without a cast
mysql.c:181: too many arguments to function `mysql_real_connect'
mysql.c:239: warning: initialization from incompatible pointer type
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/home/nikhil/exim-3.12/build-Linux-i386/lookups'
mysql.h is in /usr/include/mysql.h and the lib files should be in the 'path'.