<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 28 дек. 2023 г., 04:27 Phyllis Smith <<a href="mailto:phylsmith2017@gmail.com">phylsmith2017@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small" class="gmail_default">Checked into GIT x265 updated snapshot of 17122023, along with modified 0013-Multibit...patch as Andrew provided WITH NEW NAME of x265_3.517122023 because until x265_3.5 is deleted in thirdparty/src, the configure file requires a bigger number so that tar file is used.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Modified patch3 as recommended below for the Multibit patchset.</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">As Andrea has recommended, I am OK with making multibit automatically the default rather than separate IF CAN FIX THE "syntax error" that I found out is not only in ubuntu 16 but is in what I use as the Fedora baseline build. Partial log below:<br></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">cmake version 3.17.4 -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- <br></div><div style="font-size:small" class="gmail_default">...<br></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">/bin/sh: -c: line 0: syntax error near unexpected token `('</div><div style="font-size:small" class="gmail_default">/bin/sh: -c: line 0: `cmake version 3.17.4 -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3</div><div style="font-size:small" class="gmail_default">...</div><div style="font-size:small" class="gmail_default"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">make[3]: [Makefile:4: all] Error 1 (ignored)<br></blockquote>make[3]: Leaving directory '/mnt0/build5/cinelerra-5.1/thirdparty/x265_3.517122023'</div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default">Will send full log file to see if Andrew knows what it is.<br></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I guess I should study bash a bit more :) because I think this is error I created unintentionally and ignored so far.</div><div dir="auto"><br></div><div dir="auto">Thanks, and I hope you are not jumping over yourself for doing this for us especially now.</div><div dir="auto"><br></div><div dir="auto">According to weather prognosis we will have like "-20 C" right at 1st January, so I think buying a bit more storable food will be good idea, even if usually 10-15 min walk to food store (separate from dog walks) is not a problem.</div><div dir="auto"><br></div><div dir="auto">Be careful!</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small" class="gmail_default"></div><div style="font-size:small" class="gmail_default"><br></div><div style="font-size:small" class="gmail_default"><br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div style="font-size:small">Compiling with multibit on Ubuntu 16, results in an Error in the log file, although it seems to work anyway. Errors are:</div><div style="font-size:small">./libx265_main12.a(api.cpp.o): In function `x265_12bit::x265_api_get_208(int)':<br>api.cpp:(.text+0x2004): undefined reference to `dlopen'<br>api.cpp:(.text+0x201c): undefined reference to `dlsym'<br>api.cpp:(.text+0x20ad): undefined reference to `dlopen'<br>./libx265_main12.a(api.cpp.o): In function `x265_12bit::x265_api_query(int, int, int*)':<br>api.cpp:(.text+0x2167): undefined reference to `dlopen'<br>api.cpp:(.text+0x217f): undefined reference to `dlsym'<br>api.cpp:(.text+0x224d): undefined reference to `dlopen'<br>collect2: error: ld returned 1 exit status<br>make[5]: *** [x265] Error 1<br>make[4]: *** [CMakeFiles/cli.dir/all] Error 2<br>make[3]: *** [all] Error 2</div></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">sounds like at least one shared lib was missing from final linking stage,like "-ldl". For me on termux another android-specific files was missed, so I added this file to ffmpeg-specific env. variable before configure in termux.bld and disabled cli x265 encoder (because ffmpeg need just *.a library).</div><div dir="auto"><br></div><div dir="auto">I guess you can change x265 multibit patch3 , last cmake line</div><div dir="auto"><br></div><div dir="auto"><div dir="auto">+cd ../8bit</div><div dir="auto">+ln -sf ../10bit/libx265.a libx265_main10.a </div><div dir="auto">+ln -sf ../12bit/libx265.a libx265_main12.a</div><div dir="auto">+cmake ../source -DEXTRA_LIB="x265_main10.a;x265_main12.a" -DENABLE_SHARED=OFF -DEXTRA_LINK_FLAGS=-L. -DLINKED_10BIT=ON -DLINKED_12BIT=ON</div><div dir="auto"><br></div><div dir="auto">by adding also DENABLE_CLI=OFF like in previous entry.</div></div><br></div>
</blockquote></div></div>
</blockquote></div></div></div>