i have problem in compiling asterisk-addons 1.0.1 --------------------------------------------------------- [root@kamran asterisk-addons-1.0.1]# make cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/local/mysql/include -c -o cdr_addon_mysql.o cdr_addon_mysql.c ../asterisk: Not a directory make: *** [cdr_addon_mysql.o] Error 1 --------------------------------------------------------- i want to connect mysql to asterisk is there any whay to do that and tell me the thing what are the tables it uses in mysql thanks __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com
On Sat, 2005-01-29 at 00:11 -0800, Kamran Ahmad wrote:> i have problem in compiling asterisk-addons 1.0.1 > --------------------------------------------------------- > [root@kamran asterisk-addons-1.0.1]# make > cc -fPIC -I../asterisk -D_GNU_SOURCE > -I/usr/local/mysql/include -c -o > cdr_addon_mysql.o cdr_addon_mysql.c > ../asterisk: Not a directory > make: *** [cdr_addon_mysql.o] Error 1 > ---------------------------------------------------------Quickest and simplest (tm) as with the kernel ln -s asterisk-1.0.x asterisk -- Dave Cotton <dcotton@linuxautrement.com>
now it is giving another error --------------------------------------------------------- [root@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