При сборке из исходников под MySQL 5.0.21
ledokolov 23.05.2006 15:11
/ 23.05.2006 15:13
Есть какая либо информация на предмет того, с какими версиями mysql совместим третий парсер?
При сборке из исходников под MySQL 5.0.21 и FreeBSD 6.0
Вот configure:
./configure --prefix=/usr/local/parser --with-mysql-inc=/usr/local/mysql5/include/mysql
Вот ответ компилятора:
parser3mysql.C:373: error: `void (*mysql_free_result)(MYSQL_RES*)' redeclared
as different kind of symbol
/usr/local/mysql5/include/mysql/mysql.h:508: error: previous declaration of `
void mysql_free_result(MYSQL_RES*)'
parser3mysql.C:375: error: `long unsigned
int*(*mysql_fetch_lengths)(MYSQL_RES*)' redeclared as different kind of
symbol
/usr/local/mysql5/include/mysql/mysql.h:516: error: previous declaration of `
long unsigned int* mysql_fetch_lengths(MYSQL_RES*)'
parser3mysql.C:377: error: `char**(*mysql_fetch_row)(MYSQL_RES*)' redeclared as
different kind of symbol
/usr/local/mysql5/include/mysql/mysql.h:515: error: previous declaration of `
char** mysql_fetch_row(MYSQL_RES*)'
parser3mysql.C:379: error: `MYSQL_FIELD*(*mysql_fetch_field)(MYSQL_RES*)'
redeclared as different kind of symbol
/usr/local/mysql5/include/mysql/mysql.h:517: error: previous declaration of `
MYSQL_FIELD* mysql_fetch_field(MYSQL_RES*)'
parser3mysql.C:381: error: `unsigned int (*mysql_num_fields)(MYSQL_RES*)'
redeclared as different kind of symbol
/usr/local/mysql5/include/mysql/mysql.h:381: error: previous declaration of `
unsigned int mysql_num_fields(MYSQL_RES*)'
parser3mysql.C:384: error: `unsigned int (*mysql_field_count)(MYSQL*)'
redeclared as different kind of symbol
/usr/local/mysql5/include/mysql/mysql.h:389: error: previous declaration of `
unsigned int mysql_field_count(MYSQL*)'
parser3mysql.C:387: error: syntax error before `private'
parser3mysql.C:392: error: `dlopen_file_spec' was not declared in this scope
parser3mysql.C:393: error: syntax error before `if'
*** Error code 1
Stop in /usr/home/mar/parser3mysql-3.1.HEAD.
*** Error code 1
Stop in /usr/home/mar/parser3mysql-3.1.HEAD.
*** Error code 1
Stop in /usr/home/mar/parser3mysql-3.1.HEAD.
- При сборке из исходников под MySQL 5.0.21, ledokolov 23.05.2006 15:11 / 23.05.2006 15:13