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.<div>
<br></div><div><br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 9:10 AM, curriegrad2004 <span dir="ltr"><<a href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
First, file this bug in JIRA. Then, if you really want to, go in the<br>
makefile of mod_rtmp and comment out that -Werror flag on the<br>
offending file. I'm guessing you're using GCC 4.6.x series, are you?<br>
<div><div class="h5"><br>
On Wed, Nov 9, 2011 at 6:52 AM, Matt Stockton <<a href="mailto:mstockton@harqen.com">mstockton@harqen.com</a>> wrote:<br>
> Has anyone successfully built mod_rtmp on Ubuntu 11.10? I'm seeing the<br>
> following errors:<br>
> making install mod_rtmp<br>
> Compiling rtmp.c...<br>
> rtmp.c: In function ‘rtmp_send_message’:<br>
> rtmp.c:529:18: error: variable ‘status’ set but not used<br>
> [-Werror=unused-but-set-variable]<br>
> cc1: all warnings being treated as errors<br>
> I successfully compiled when I inserted a hack to use the variables into<br>
> rtmp.c and mod_rtmp.c, but wondering what the right way to fix this is.<br>
> Thanks,<br>
> Matt<br>
><br>
</div></div>> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>