[Freeswitch-users] mod_rtmp compile error on Ubuntu 11.10

curriegrad2004 curriegrad2004 at gmail.com
Wed Nov 9 18:10:57 MSK 2011


First, file this bug in JIRA. Then, if you really want to, go in the
makefile of mod_rtmp and comment out that -Werror flag on the
offending file. I'm guessing you're using GCC 4.6.x series, are you?

On Wed, Nov 9, 2011 at 6:52 AM, Matt Stockton <mstockton at harqen.com> wrote:
> Has anyone successfully built mod_rtmp on Ubuntu 11.10? I'm seeing the
> following errors:
> making install mod_rtmp
> Compiling rtmp.c...
> rtmp.c: In function ‘rtmp_send_message’:
> rtmp.c:529:18: error: variable ‘status’ set but not used
> [-Werror=unused-but-set-variable]
> cc1: all warnings being treated as errors
> I successfully compiled when I inserted a hack to use the variables into
> rtmp.c and mod_rtmp.c, but wondering what the right way to fix this is.
> Thanks,
> Matt
>
> 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
>
>



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list