can some one please help me.
I have installed Centos server ver 5.6 run all the updates
Did the instalation of asterisk 1.8.8.2 up to the make command then I get ans mysql error
When checking mysql:
[color=#BF00FF][size=85][root@mnvp asterisk-1.8.8.2]# mysqladmin -u root -p statusEnter password:
Uptime: 8439 Threads: 1 Questions: 4 Slow queries: 0 Opens: 12 Flush tables: 1 Open tables: 6 Queries per second avg: 0.000[/size][/color]
mysql seems to be working
when I run the make command in /sr/src/as…1.8.8… I get the following error
can some one please help me
app_mysql.c: In function ‘aMYSQL_connect’:
app_mysql.c:322: error: ‘MYSQL’ undeclared (first use in this function)
app_mysql.c:322: error: (Each undeclared identifier is reported only once
app_mysql.c:322: error: for each function it appears in.)
app_mysql.c:322: error: ‘mysql’ undeclared (first use in this function)
app_mysql.c:333: warning: implicit declaration of function ‘mysql_init’
app_mysql.c:340: warning: implicit declaration of function ‘mysql_options’
app_mysql.c:340: error: ‘MYSQL_OPT_CONNECT_TIMEOUT’ undeclared (first use in this function)
app_mysql.c:346: warning: implicit declaration of function ‘mysql_real_escape_string’
app_mysql.c:347: error: ‘MYSQL_INIT_COMMAND’ undeclared (first use in this function)
app_mysql.c:348: error: ‘MYSQL_SET_CHARSET_NAME’ undeclared (first use in this function)
app_mysql.c:351: warning: implicit declaration of function ‘mysql_real_connect’
app_mysql.c:361: warning: implicit declaration of function ‘mysql_errno’
app_mysql.c:361: warning: implicit declaration of function ‘mysql_error’
app_mysql.c:361: warning: format ‘%s’ expects type ‘char *’, but argument 10 has type ‘int’
app_mysql.c: In function ‘aMYSQL_query’:
app_mysql.c:377: error: ‘MYSQL’ undeclared (first use in this function)
app_mysql.c:377: error: ‘mysql’ undeclared (first use in this function)
app_mysql.c:378: error: ‘MYSQL_RES’ undeclared (first use in this function)
app_mysql.c:378: error: ‘mysqlres’ undeclared (first use in this function)
app_mysql.c:394: warning: implicit declaration of function ‘mysql_query’
app_mysql.c:395: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’
app_mysql.c:399: warning: implicit declaration of function ‘mysql_store_result’
app_mysql.c:402: warning: implicit declaration of function ‘mysql_field_count’
app_mysql.c: In function ‘aMYSQL_nextresult’:
app_mysql.c:412: error: ‘MYSQL’ undeclared (first use in this function)
app_mysql.c:412: error: ‘mysql’ undeclared (first use in this function)
app_mysql.c:413: error: ‘MYSQL_RES’ undeclared (first use in this function)
app_mysql.c:413: error: ‘mysqlres’ undeclared (first use in this function)
app_mysql.c:434: warning: implicit declaration of function ‘mysql_more_results’
app_mysql.c:435: warning: implicit declaration of function ‘mysql_next_result’
app_mysql.c: In function ‘aMYSQL_fetch’:
app_mysql.c:452: error: ‘MYSQL_RES’ undeclared (first use in this function)
app_mysql.c:452: error: ‘mysqlres’ undeclared (first use in this function)
app_mysql.c:453: error: ‘MYSQL_ROW’ undeclared (first use in this function)
app_mysql.c:453: error: expected ‘;’ before ‘mysqlrow’
app_mysql.c:470: error: ‘mysqlrow’ undeclared (first use in this function)
app_mysql.c:470: warning: implicit declaration of function ‘mysql_fetch_row’
app_mysql.c:471: warning: implicit declaration of function ‘mysql_num_fields’
app_mysql.c: In function ‘aMYSQL_clear’:
app_mysql.c:504: error: ‘MYSQL_RES’ undeclared (first use in this function)
app_mysql.c:504: error: ‘mysqlres’ undeclared (first use in this function)
app_mysql.c: In function ‘aMYSQL_disconnect’:
app_mysql.c:521: error: ‘MYSQL’ undeclared (first use in this function)
app_mysql.c:521: error: ‘mysql’ undeclared (first use in this function)
make[1]: *** [app_mysql.o] Error 1
make: *** [addons] Error 2