Trunk is going through a LOT of changes; the add-on's will get fixed after 
trunk settles down. 

If they are fixed now they will just break again anyways.

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Martin
Sent: Wednesday, May 24, 2006 3:41 PM
To: [email protected]
Subject: [asterisk-dev] cdr_addon_mysql

Hi All,

Can anyone suggest why asterisk_addons (from asterisk_addons/trunk(216)) 
doesn't build with the latest asterisk trunk(29988)?

I get conflicting definitions of strtoq from stdlib.h and 
include/asterisk/strings.h

I'm running CentOS4.2 and a vanilla ./configure

>From the compilation:
[EMAIL PROTECTED] asterisk-addons]# make clean
rm -f *.so *.o .depend
make -C format_mp3 clean
make[1]: Entering directory `/usr/src/asterisk-addons/format_mp3'
rm -f *.o *.so *~
make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3'


[asterisk-addons]# make cdr_addon_mysql
cc -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql     -c -o cdr_addon_m
ysql.o cdr_addon_mysql.c
In file included from /usr/include/asterisk/utils.h:36,
                 from /usr/include/asterisk/cdr.h:48,
                 from /usr/include/asterisk/channel.h:113,
                 from cdr_addon_mysql.c:25:
/usr/include/asterisk/strings.h:280: error: conflicting types for 'strtoq'
/usr/include/stdlib.h:197: error: previous declaration of 'strtoq' was here
/usr/include/asterisk/strings.h:280: error: conflicting types for 'strtoq'
/usr/include/stdlib.h:197: error: previous declaration of 'strtoq' was here
make: *** [cdr_addon_mysql.o] Error 1

Thanks, John


_______________________________________________
--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

Reply via email to