Okay thanks for the info. I was looking for the right place to comment out the gcc args but couldn&#39;t quite follow where I should comment it out. I checked in the mod_rtmp Makefile and didn&#39;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">&lt;<a href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</a>&gt;</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&#39;m guessing you&#39;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 &lt;<a href="mailto:mstockton@harqen.com">mstockton@harqen.com</a>&gt; wrote:<br>
&gt; Has anyone successfully built mod_rtmp on Ubuntu 11.10? I&#39;m seeing the<br>
&gt; following errors:<br>
&gt; making install mod_rtmp<br>
&gt; Compiling rtmp.c...<br>
&gt; rtmp.c: In function ‘rtmp_send_message’:<br>
&gt; rtmp.c:529:18: error: variable ‘status’ set but not used<br>
&gt; [-Werror=unused-but-set-variable]<br>
&gt; cc1: all warnings being treated as errors<br>
&gt; I successfully compiled when I inserted a hack to use the variables into<br>
&gt; rtmp.c and mod_rtmp.c, but wondering what the right way to fix this is.<br>
&gt; Thanks,<br>
&gt; Matt<br>
&gt;<br>
</div></div>&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<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>