[Asterisk-Users] problem in compiling asterisk addon

Kamran Ahmad p_kami at yahoo.com
Sat Jan 29 05:19:10 MST 2005


now it is giving another error

---------------------------------------------------------
[root at kamran asterisk-addons-1.0.1]# make
cc -fPIC -I../asterisk -D_GNU_SOURCE
-I/usr/local/mysql/include      -c -o
app_addon_sql_mysql.o app_addon_sql_mysql.c
app_addon_sql_mysql.c:31:25: mysql/mysql.h: No such
file or directory
app_addon_sql_mysql.c: In function `aMYSQL_connect':
app_addon_sql_mysql.c:211: `MYSQL' undeclared (first
use in this function)
app_addon_sql_mysql.c:211: (Each undeclared identifier
is reported only once
app_addon_sql_mysql.c:211: for each function it
appears in.)
app_addon_sql_mysql.c:211: `mysql' undeclared (first
use in this function)
app_addon_sql_mysql.c: In function `aMYSQL_query':
app_addon_sql_mysql.c:251: `MYSQL' undeclared (first
use in this function)
app_addon_sql_mysql.c:251: `mysql' undeclared (first
use in this function)
app_addon_sql_mysql.c:252: `MYSQL_RES' undeclared
(first use in this function)
app_addon_sql_mysql.c:252: `mysqlres' undeclared
(first use in this function)
app_addon_sql_mysql.c: In function `aMYSQL_fetch':
app_addon_sql_mysql.c:292: `MYSQL_RES' undeclared
(first use in this function)
app_addon_sql_mysql.c:292: `mysqlres' undeclared
(first use in this function)
app_addon_sql_mysql.c:293: `MYSQL_ROW' undeclared
(first use in this function)
app_addon_sql_mysql.c:293: syntax error before
"mysqlrow"
app_addon_sql_mysql.c:306: `mysqlrow' undeclared
(first use in this function)
app_addon_sql_mysql.c: In function `aMYSQL_clear':
app_addon_sql_mysql.c:342: `MYSQL_RES' undeclared
(first use in this function)
app_addon_sql_mysql.c:342: `mysqlres' undeclared
(first use in this function)
app_addon_sql_mysql.c: In function
`aMYSQL_disconnect':
app_addon_sql_mysql.c:359: `MYSQL' undeclared (first
use in this function)
app_addon_sql_mysql.c:359: `mysql' undeclared (first
use in this function)
make: *** [app_addon_sql_mysql.o] Error 1
-------------------------------------------------------

i have mysql working on my mechine



		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 



More information about the asterisk-users mailing list