<html><head></head><body><div dir="auto">Hello Justin,<br><br></div>
<div dir="auto">I am using provided vlc toolchain. Vlc devloppers should have a closer look at Makefiles.<br><br></div>
<div dir="auto">I can tell myself, and I have no time to investigate now.<br><br></div>
<div dir="auto">Best,<br></div>
<div dir="auto">Gilles</div>
<div class="gmail_quote" >Le 4 déc. 2017, à 02:01, Justin Kim <<a href="mailto:<a">justin.kim</a>@collabora.com target=_blank><a href="http://justin.kim">justin.kim</a>@collabora.com> a écrit:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="blue">Hello,<br><br>The linking error is pretty strange for me.<br><br>Did you set PKG_CONFIG_LIBDIR to a proper pkgconfig directory?<br>Maybe, in your case, <br>/usr/lib/pkgages/BUILD/vlc-3.0.0/contrib/x86_64-suse-linux/lib/pkgconfig ?<br><br>SRT plugin has dependencies on gnutls, nettle<br><br><br>On 04/12/2017 2:11 AM, Gilles Sabourin wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Le dimanche 3 décembre 2017, 17:58:23 CET Gilles Sabourin a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Le dimanche 3 décembre 2017, 11:22:32 CET Jean-Baptiste Kempf a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> Hello Gilles,<br><br> What happens if you force -lstdc++ ?<br><br> Best,<br></blockquote><br> Hello Jean-Baptitste,<br><br> I have modified "<a href="http://Makefile.am">Makefile.am</a>" in ~/modules/access" this line :<br><br> libaccess_srt_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'<br><br> to :<br><br> libaccess_srt_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lstdc++ -rpath<br> '$(accessdir)'<br><br> and after a make, I've got fewer link errors, about nettle library entries<br> missing (but nettle 3.3 is installed on my system) :<br></blockquote> [...]<br> <br> So long, so far, I've manually forced -lnettle into <a href="http://Makefile.am">Makefile.am</a>, and after a<br> make, it is still complaining about gnutls :<br> <br> make[4]: Entering directory '/usr/src/packages/BUILD/vlc-3.0.0/modules'<br>    CCLD     libaccess_srt_<a href="http://plugin.la">plugin.la</a><br> /usr/src/packages/BUILD/vlc-3.0.0/contrib/x86_64-suse-linux/lib/<br> libsrt.a(hcrypt_ctx_tx.c.o): In function `hcryptCtx_Tx_Rekey':<br> /usr/src/packages/BUILD/vlc-3.0.0/contrib/native/srt/haicrypt/hcrypt_ctx_tx.c:<br> 63: undefined reference to `gnutls_rnd'<br> /usr/src/packages/BUILD/vlc-3.0.0/contrib/native/srt/haicrypt/hcrypt_ctx_tx.c:<br> 70: undefined reference to `gnutls_rnd'<br> /usr/src/packages/BUILD/vlc-3.0.0/contrib/x86_64-suse-linux/lib/<br> libsrt.a(hcrypt_ctx_tx.c.o): In function `hcryptCtx_Tx_Refresh':<br> /usr/src/packages/BUILD/vlc-3.0.0/contrib/native/srt/haicrypt/hcrypt_ctx_tx.c:<br> 140: undefined reference to `gnutls_rnd'<br> collect2: error: ld returned 1 exit status<br> <br> I've tried to add -lgnutls, but eh, one cannot win each time : this does not<br> help...<br> <br> So this srt plugin has pretty much dependencies on  stdc++ and nettle at<br> least, and maybe gnutls...<br> <br> Best,<br> Gilles SABOURIN<br><hr><br> vlc-devel mailing list<br> To unsubscribe or modify your subscription options:<br> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br> <br></blockquote><hr><br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div></body></html>