<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Arial Unicode MS";
        panose-1:2 11 6 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:83259402;
        mso-list-type:hybrid;
        mso-list-template-ids:-1018378720 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1
        {mso-list-id:909802680;
        mso-list-template-ids:-375519988;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2
        {mso-list-id:1254583021;
        mso-list-type:hybrid;
        mso-list-template-ids:-1268604074 67698689 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l2:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l2:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Hi All,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Found an issue within the build of nginx.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Following James’ instructions on <a href="https://www.nginx.com/blog/video-streaming-for-remote-learning-with-nginx/">https://www.nginx.com/blog/video-streaming-for-remote-learning-with-nginx/</a> :<o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=386 style='width:289.85pt;border-collapse:collapse'><tr style='height:15.0pt'><td width=193 nowrap colspan=2 valign=bottom style='width:144.95pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='color:black'>mkdir buildnginx<o:p></o:p></span></b></p></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=193 nowrap colspan=2 style='width:144.95pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Unicode MS",serif;color:black'>cd buildnginx<o:p></o:p></span></b></p></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=386 nowrap colspan=5 style='width:289.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Unicode MS",serif;color:black'>sudo git clone <a href="https://github.com/arut/nginx-rtmp-module.git">https://github.com/arut/nginx-rtmp-module.git</a><o:p></o:p></span></b></p></td></tr><tr style='height:15.0pt'><td width=322 nowrap colspan=4 style='width:241.55pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Unicode MS",serif;color:black'>sudo  git clone <a href="https://github.com/nginx/nginx.git">https://github.com/nginx/nginx.git</a><o:p></o:p></span></b></p></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=189 nowrap style='width:141.45pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Unicode MS",serif;color:black'>cd nginx<o:p></o:p></span></b></p></td><td width=5 nowrap valign=bottom style='width:3.5pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=386 nowrap colspan=5 style='width:289.85pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Unicode MS",serif;color:black'>sudo  ./auto/configure --add-module=../nginx-rtmp-module<o:p></o:p></span></b></p></td></tr><tr style='height:15.0pt'><td width=189 nowrap style='width:141.45pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Unicode MS",serif;color:black'>sudo  make<o:p></o:p></span></b></p></td><td width=5 nowrap valign=bottom style='width:3.5pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr><tr style='height:15.0pt'><td width=193 nowrap colspan=2 style='width:144.95pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Unicode MS",serif;color:black'>sudo  sudo make install<o:p></o:p></span></b></p></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td><td width=64 nowrap valign=bottom style='width:48.3pt;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>At the make command:  The following error occurs<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=624 style='width:6.5in;margin-left:30.6pt;border-collapse:collapse'><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>-I objs -I src/http -I src/http/modules \<o:p></o:p></span></p></td></tr><tr style='height:.25in'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:.25in'><p class=MsoNormal><span style='color:black'>        -o objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o \<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>        ../nginx-rtmp-module/ngx_rtmp_eval.c<o:p></o:p></span></p></td></tr><tr style='height:75.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:75.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>../nginx-rtmp-module/ngx_rtmp_eval.c: In function ‘ngx_rtmp_eval’:<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>../nginx-rtmp-module/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=]<o:p></o:p></span></p></td></tr><tr style='height:15.75pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.75pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>  160 |                 switch (c) {<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black'>      |                 ^~~~~~<o:p></o:p></span></p></td></tr><tr style='height:30.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:30.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>../nginx-rtmp-module/ngx_rtmp_eval.c:170:13: note: here<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>  170 |             case ESCAPE:<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>      |             ^~~~<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>cc1: all warnings being treated as errors<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>make[1]: *** [objs/Makefile:1339: objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o] Error 1<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>make[1]: Leaving directory '/buildnginx/nginx'<o:p></o:p></span></p></td></tr><tr style='height:15.0pt'><td width=624 nowrap valign=bottom style='width:6.5in;padding:0in 5.4pt 0in 5.4pt;height:15.0pt'><p class=MsoNormal><span style='color:black;background:yellow;mso-highlight:yellow'>make: *** [Makefile:8: build] Error 2<o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Reading through the source code ngx_rtmp_eval at line 160 through 170, the switch statement will most likely fall through, so the build warning call out is a correct action.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This occurs on both ubuntu and Raspbian versions of Linux.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Having watched James at <a href="https://www.youtube.com/watch?v=Js1OlvRNsdI">https://www.youtube.com/watch?v=Js1OlvRNsdI</a>, there was no problem with his build.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-left:.25in'>Questions:<o:p></o:p></p><ol style='margin-top:0in' start=1 type=1><li class=MsoListParagraph style='margin-left:0in;mso-list:l0 level1 lfo3'>How do I resolve?<o:p></o:p></li></ol><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l2 level1 lfo4'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]>I could try make -k;<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l2 level1 lfo4'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]>I remove -Werror flag in the make file (I did not see it in the make file – could be my eyes, though, so if you know where it is please tell me)<o:p></o:p></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l2 level1 lfo4'><![if !supportLists]><span style='font-family:Symbol'><span style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>       </span></span></span><![endif]>Who owns ngx_rtmp_eval, so that I can contact them to fix the source code?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Any and all advice would be greatly appreciated.<o:p></o:p></p><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>JF<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>