AW: [asterisk-dev] asterisk-addons broken

René Enskat [Teamware GmbH] ren at teamware-gmbh.de
Tue Apr 11 05:55:21 MST 2006


Try to set "const" in front of the lines: 239 and 491 





-----Ursprüngliche Nachricht-----
Von: asterisk-dev-bounces at lists.digium.com
[mailto:asterisk-dev-bounces at lists.digium.com] Im Auftrag von Trevor G.
Hammonds
Gesendet: Dienstag, 11. April 2006 14:33
An: 'Asterisk Developers Mailing List'
Betreff: [asterisk-dev] asterisk-addons broken

I updated to the latest SVN Trunk this morning, and am no longer able to
compile asterisk-addons.  

Any ideas or suggestions as to a quick workaround?  I really like using
cdr_addon_mysql...

		Sincerely,
		Trevor Hammonds

 
# make
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/include/mysql   `ls *.c`
cc -fPIC -I../asterisk -D_GNU_SOURCE -DMYSQL_LOGUNIQUEID
-I/usr/include/mysql     -c -o cdr_addon_mysql.o cdr_addon_mysql.c
cdr_addon_mysql.c:239: error: conflicting types for 'description'
/usr/include/asterisk/module.h:85: error: previous declaration of
'description' was here
cdr_addon_mysql.c:239: error: conflicting types for 'description'
/usr/include/asterisk/module.h:85: error: previous declaration of
'description' was here
cdr_addon_mysql.c:491: error: conflicting types for 'key'
/usr/include/asterisk/module.h:102: error: previous declaration of 'key'
was here
cdr_addon_mysql.c:491: error: conflicting types for 'key'
/usr/include/asterisk/module.h:102: error: previous declaration of 'key'
was here
make: *** [cdr_addon_mysql.o] Error 1

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev






More information about the asterisk-dev mailing list