[Freeswitch-users] mod_spandsp compile error

Steven Ayre steveayre at gmail.com
Thu Oct 17 16:21:02 MSD 2013


I'm guessing the warning is because decode_open_type gets a pointer to them
before they're initialised. Not a problem if they're only for output but
guessing the compiler can't tell that.


On 17 October 2013 13:00, Steve Underwood <steveu at coppice.org> wrote:

> On 10/17/2013 07:13 AM, Sadjad Seyed-Ahmadian wrote:
> > Hi,
> >
> > I am try to install a FreeSWITCH stable version 1.2.13 on a fresh
> > CentOS. I installed all prereqired packages as they are in wiki,
> > configure goes well but while I try to do make I got this error on
> > mod_spandsp.
> >
> >
> > making all mod_spandsp
> > Creating mod_spandsp_la-mod_spandsp.lo
> > mkdir .libs
> > Compiling mod_spandsp.c ...
> > Creating mod_spandsp_la-udptl.lo
> > Compiling udptl.c ...
> > cc1: warnings being treated as errors
> > udptl.c: In function 'udptl_rx_packet':
> > udptl.c:174: warning: 'data' may be used uninitialized in this function
> > udptl.c:173: warning: 'msg' may be used uninitialized in this function
> > make[3]: *** [mod_spandsp_la-udptl.lo] Error 1
> > make[2]: *** [mod_spandsp-all] Error 1
> > make[1]: *** [mod_spandsp] Error 2
> > make: *** [mod_spandsp] Error 2
> >
> >
> > Would somebody please help me with that?
> >
> > Best Regards
> > Sadjad
> >
> Centos 6.4 doesn't do that. Which version of Centos are you using? I
> might be missing something, but those two warnings seem bogus.
>
> Steve
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131017/a5a84ea2/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list