<div dir="ltr">FreeSWITCH support libav up to the ffmpeg version 4.4, version 5.0 and up removes all depracated stuff, we'd like to support the new version and in the mean time keep the old version work as long as possible. Maybe you can join the signalwire office hour and the slack channel to talk more about this. And new ClueCon is coming.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Sep 5, 2022 at 2:04 PM Дилян Палаузов <<a href="mailto:dpa-freeswitch@aegee.org">dpa-freeswitch@aegee.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
in the past I could compile mod_av, but at some momemnt, it got not<br>
compilable. I have Fedora 36 system. There I can choose, whether to<br>
install as packages ffmpg or libav. I tried with both, it does not<br>
work. But I think that ffmpeg(-devel) is the right one, as<br>
<a href="https://libav.org/news/" rel="noreferrer" target="_blank">https://libav.org/news/</a> shows no recent activity.<br>
<br>
The compiler cannot find the definitions of enum AVLockOp,<br>
AV_LOCK_CREATE, AV_LOCK_OBTAIN. See the error log below. The error<br>
message is below.<br>
<br>
mod/applications/mod_av/Makefile suggests installing libavformat-dev<br>
and libswscale-dev to build mod_av. Installing them does not help.<br>
<br>
<br>
At <a href="https://github.com/signalwire/freeswitch/pull/1626" rel="noreferrer" target="_blank">https://github.com/signalwire/freeswitch/pull/1626</a> I proposed an<br>
improvement to the fs_cli/mod_sofia autocompletion. Will it see any<br>
progress towards upstream?<br>
<br>
Greetings<br>
Дилян<br>
<br>
---- <br>
<br>
<br>
making all mod_av<br>
make[4]: Entering directory<br>
'/git/freeswitch/freeswitch/src/mod/applications/mod_av'<br>
CC libavmod_la-mod_av.lo<br>
mod_av.c:52:38: error: ISO C forbids forward references to 'enum' types<br>
[-Werror=pedantic]<br>
52 | int mod_av_lockmgr_cb(void **m, enum AVLockOp op)<br>
| ^~~~~~~~<br>
mod_av.c:52:38: error: 'enum AVLockOp' declared inside parameter list<br>
will not be visible outside of this definition or declaration [-Werror]<br>
mod_av.c:52:47: error: parameter 2 ('op') has incomplete type<br>
52 | int mod_av_lockmgr_cb(void **m, enum AVLockOp op)<br>
| ~~~~~~~~~~~~~~^~<br>
mod_av.c: In function 'mod_av_lockmgr_cb':<br>
mod_av.c:62:22: error: 'AV_LOCK_CREATE' undeclared (first use in this<br>
function); did you mean 'AV_LOG_TRACE'?<br>
62 | case AV_LOCK_CREATE:<br>
| ^~~~~~~~~~~~~~<br>
| AV_LOG_TRACE<br>
mod_av.c:62:22: note: each undeclared identifier is reported only once<br>
for each function it appears in<br>
mod_av.c:72:22: error: 'AV_LOCK_OBTAIN' undeclared (first use in this<br>
function)<br>
72 | case AV_LOCK_OBTAIN:<br>
| ^~~~~~~~~~~~~~<br>
mod_av.c:79:22: error: 'AV_LOCK_RELEASE' undeclared (first use in this<br>
function)<br>
79 | case AV_LOCK_RELEASE:<br>
| ^~~~~~~~~~~~~~~<br>
mod_av.c:86:22: error: 'AV_LOCK_DESTROY' undeclared (first use in this<br>
function)<br>
86 | case AV_LOCK_DESTROY:<br>
| ^~~~~~~~~~~~~~~<br>
cc1: all warnings being treated as errors<br>
make[4]: *** [Makefile:1015: libavmod_la-mod_av.lo] Error 1<br>
make[4]: Leaving directory<br>
'/git/freeswitch/freeswitch/src/mod/applications/mod_av'<br>
make[3]: *** [Makefile:727: mod_av-all] Error 1<br>
<br>
<br>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org" target="_blank">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Work: <a href="http://xswitch.cn/" target="_blank">http://xswitch.cn<br></a>Community: <a href="http://rts.cn/" target="_blank">http://rts.cn</a><div>About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a><br><div><div><div><br></div></div></div></div></div></div>