On Tue, 2005-07-12 at 09:42 -0500, Matthew Boehm wrote: > How do you expect me to possibly fix my module if you don't supply any > compile errors? I don't use BRI so you will need to provide me alot of > info. Which bri package did you install? Perhaps I can install that in a > tmp dir and see what results I get. > > -Matthew >
Hi Matthew, I didn't want to spam the mailinglist with all those error messages generated by the compiler. I used the latest bri package from junghanns.net: http://www.junghanns.net/asterisk/downloads/bristuff-0.2.0-RC8h.tar.gz The package then downloads libpri-1.0.8, zaptel-1.0.8, cwain and asterisk-1.0.8 and does a lot of patching to the sources. This is then the error message that I get when trying to compile the asterisk-addons: pound:/usr/src/asterisk-addons# make all cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o app_saycountpl.o app_saycountpl.c cc -shared -Xlinker -x -o app_saycountpl.so app_saycountpl.o cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o cdr_addon_mysql.o cdr_addon_mysql.c cdr_addon_mysql.c: In function `my_load_module': cdr_addon_mysql.c:268: warning: assignment makes pointer from integer without a cast cc -shared -Xlinker -x -o cdr_addon_mysql.so cdr_addon_mysql.o -lmysqlclient -lz cc -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o app_addon_sql_mysql.o app_addon_sql_mysql.c app_addon_sql_mysql.c:164:64: macro "AST_LIST_REMOVE" requires 4 arguments, but only 3 given app_addon_sql_mysql.c: In function `del_identifier': app_addon_sql_mysql.c:164: error: `AST_LIST_REMOVE' undeclared (first use in this function) app_addon_sql_mysql.c:164: error: (Each undeclared identifier is reported only once app_addon_sql_mysql.c:164: error: for each function it appears in.) make: *** [app_addon_sql_mysql.o] Error 1 It would be really great if you could get it to work as I think it's an excellent addition for Asterisk. If you need more info just write me a message, Christoph _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
