[vlc-devel] vlc3 : cannot link with libaccess_srt_plugin

Gilles Sabourin gilles.sabourin at free.fr
Sun Dec 3 18:11:00 CET 2017


Le dimanche 3 décembre 2017, 17:58:23 CET Gilles Sabourin a écrit :
> Le dimanche 3 décembre 2017, 11:22:32 CET Jean-Baptiste Kempf a écrit :
> > Hello Gilles,
> > 
> > What happens if you force -lstdc++ ?
> > 
> > Best,
> 
> Hello Jean-Baptitste,
> 
> I have modified "Makefile.am" in ~/modules/access" this line :
> 
> libaccess_srt_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(accessdir)'
> 
> to :
> 
> libaccess_srt_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lstdc++ -rpath
> '$(accessdir)'
> 
> and after a make, I've got fewer link errors, about nettle library entries
> missing (but nettle 3.3 is installed on my system) :
[...]

So long, so far, I've manually forced -lnettle into Makefile.am, and after a 
make, it is still complaining about gnutls :

make[4]: Entering directory '/usr/src/packages/BUILD/vlc-3.0.0/modules'
  CCLD     libaccess_srt_plugin.la
/usr/src/packages/BUILD/vlc-3.0.0/contrib/x86_64-suse-linux/lib/
libsrt.a(hcrypt_ctx_tx.c.o): In function `hcryptCtx_Tx_Rekey':
/usr/src/packages/BUILD/vlc-3.0.0/contrib/native/srt/haicrypt/hcrypt_ctx_tx.c:
63: undefined reference to `gnutls_rnd'
/usr/src/packages/BUILD/vlc-3.0.0/contrib/native/srt/haicrypt/hcrypt_ctx_tx.c:
70: undefined reference to `gnutls_rnd'
/usr/src/packages/BUILD/vlc-3.0.0/contrib/x86_64-suse-linux/lib/
libsrt.a(hcrypt_ctx_tx.c.o): In function `hcryptCtx_Tx_Refresh':
/usr/src/packages/BUILD/vlc-3.0.0/contrib/native/srt/haicrypt/hcrypt_ctx_tx.c:
140: undefined reference to `gnutls_rnd'
collect2: error: ld returned 1 exit status

I've tried to add -lgnutls, but eh, one cannot win each time : this does not 
help...

So this srt plugin has pretty much dependencies on  stdc++ and nettle at 
least, and maybe gnutls...

Best,
Gilles SABOURIN


More information about the vlc-devel mailing list