While compiling Pike 7.6.6-2 with MySQL-4.1.3:
Compiling /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c: In function `f_shutdown': /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1101: error: too few arguments to function `mysql_shutdown' /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1113: error: too few arguments to function `mysql_shutdown' WARNING: Compiler failure! Trying without optimization! cc1: warning: -Wuninitialized is not supported without -O /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c: In function `f_shutdown': /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1101: error: too few arguments to function `mysql_shutdown' /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1113: error: too few arguments to function `mysql_shutdown'
Seems like the MySQL header-file has changed to:
int STDCALL mysql_shutdown(MYSQL *mysql, enum enum_shutdown_level shutdown_level);
http://community.roxen.com/crunch/show_bug.cgi?id=3761
/ Martin Nilsson (DivX Networks)
Previous text:
2004-08-23 02:24: Subject: Pike 7.6.6-2 + MySQL-4.1.3
While compiling Pike 7.6.6-2 with MySQL-4.1.3:
Compiling /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c: In function `f_shutdown': /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1101: error: too few arguments to function `mysql_shutdown' /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1113: error: too few arguments to function `mysql_shutdown' WARNING: Compiler failure! Trying without optimization! cc1: warning: -Wuninitialized is not supported without -O /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c: In function `f_shutdown': /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1101: error: too few arguments to function `mysql_shutdown' /home/roxen/Pike-v7.6.6-2/src/modules/Mysql/mysql.c:1113: error: too few arguments to function `mysql_shutdown'
Seems like the MySQL header-file has changed to:
int STDCALL mysql_shutdown(MYSQL *mysql, enum enum_shutdown_level shutdown_level);
/ Hedda (http://www.xnetz.com/kali/ tillbaka!)
pike-devel@lists.lysator.liu.se