Okay thanks for the info. I was looking for the right place to comment out the gcc args but couldn't quite follow where I should comment it out. I checked in the mod_rtmp Makefile and didn't see anything obvious to comment out. Also, grepped for the -Werror=unused-but-set-variable in the code base after bootstrapping and configuring and every place that had it seemed to be commented out already.
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?
> FreeSWITCH-users mailing list
On Wed, Nov 9, 2011 at 6:52 AM, Matt Stockton <mstockton@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@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org