[Freeswitch-users] mod_rtmp compile error on Ubuntu 11.10
Matt Stockton
mstockton at harqen.com
Wed Nov 9 19:43:27 MSK 2011
Also, I added the JIRA, thanks. http://jira.freeswitch.org/browse/FS-3681
On Wed, Nov 9, 2011 at 10:07 AM, Matt Stockton <mstockton at harqen.com> wrote:
> 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.
>
>
>
> On Wed, Nov 9, 2011 at 9:10 AM, curriegrad2004 <curriegrad2004 at gmail.com>wrote:
>
>> 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
>> >
>> >
>>
>>
>> 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/20111109/495e9d7a/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list