Error when compiling ‘GNUTLS_SEC_PARAM_MEDIUM’ undeclared
Using Ubuntu 14.04.3 LTS to compile VLC from GIT, I'm getting this error:
misc/gnutls.c: In function ‘OpenServer’:
misc/gnutls.c:639:34: error: ‘GNUTLS_SEC_PARAM_MEDIUM’ undeclared (first use in this function)
gnutls_sec_param_t sec = GNUTLS_SEC_PARAM_MEDIUM;
^
misc/gnutls.c:639:34: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [misc/libgnutls_plugin_la-gnutls.lo] Error 1
make[4]: Leaving directory `/BUILD/vlc/modules'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/BUILD/vlc/modules'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/BUILD/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/BUILD/vlc'
make: *** [all] Error 2
Seems to be introduced by one of the latest commits, probably cafbe261