From: Ludovic F. <lu...@ep...> - 2006-07-19 13:21:21
|
To success the compilation I had to comment this functions: unload_module load_module reload description key and this call: STD_MOD(MOD_1, reload, NULL, NULL); After this errors: root@obelix:...terisk/web-meetme_cvs/cbmysql # make cc -pipe -I/usr/include/mysql -L/usr/lib/mysql -fPIC -I/usr/src/asterisk -D_GNU_SOURCE -I/usr/include/mysql -c -o app_cbmysql.o app_cbmysql.c app_cbmysql.c:696: error: conflicting types for 'unload_module' /usr/include/asterisk/module.h:57: error: previous declaration of 'unload_module' was here app_cbmysql.c:708: error: conflicting types for 'load_module' /usr/include/asterisk/module.h:46: error: previous declaration of 'load_module' was here app_cbmysql.c:720: error: conflicting types for 'reload' /usr/include/asterisk/module.h:102: error: previous declaration of 'reload' was here app_cbmysql.c:727: error: conflicting types for 'description' /usr/include/asterisk/module.h:75: error: previous declaration of 'description' was here app_cbmysql.c:732: error: conflicting types for 'key' /usr/include/asterisk/module.h:92: error: previous declaration of 'key' was here app_cbmysql.c:736: error: syntax error before '(' token make: *** [app_cbmysql.o] Error 1 root@obelix:...terisk/web-meetme_cvs/cbmysql # Is it normal or not? -- Ludovic Francois +33 (0)6 20 67 05 42 |