[vlc] Error during make

Aqs Younas aqsyounas at gmail.com
Tue Jan 20 14:35:56 CET 2015


Hi, list

I tried to install vlc-2.1.5 from source code using following configure
command.

./configure --prefix=/usr/ --disable-vlc --disable-lua --disable-mad
--disable-swscale --disable-postproc --disable-xcb --disable-alsa

Configure is perfectly executed with no errors. But when i try to 'make' i
encounter these types of errors.


make[5]: Entering directory `/usr/src/vlc-2.1.5/modules/access'
  CC       libaccess_sftp_plugin_la-sftp.lo
sftp.c: In function �Open�:
sftp.c:152:15: error: �LIBSSH2_ERROR_EAGAIN� undeclared (first use in this
function)
sftp.c:152:15: note: each undeclared identifier is reported only once for
each function it appears in
sftp.c:161:5: error: implicit declaration of function
�libssh2_session_set_blocking� [-Werror=implicit-function-declaration]
sftp.c:164:5: error: unknown type name �LIBSSH2_KNOWNHOSTS
sftp.c:164:5: error: implicit declaration of function
�libssh2_knownhost_init� [-Werror=implicit-function-declaration]
sftp.c:164:42: warning: initialization makes pointer from integer without a
cast [enabled by default]
sftp.c:172:9: error: implicit declaration of function
�libssh2_knownhost_readfile� [-Werror=implicit-function-declaration]
sftp.c:173:17: error: �LIBSSH2_KNOWNHOST_FILE_OPENSSH� undeclared (first
use in this function)
sftp.c:178:5: error: implicit declaration of function
�libssh2_session_hostkey� [-Werror=implicit-function-declaration]
sftp.c:178:31: warning: initialization makes pointer from integer without a
cast [enabled by default]
sftp.c:180:5: error: implicit declaration of function
�libssh2_knownhost_check� [-Werror=implicit-function-declaration]
sftp.c:182:42: error: �LIBSSH2_KNOWNHOST_TYPE_PLAIN� undeclared (first use
in this function)
sftp.c:183:42: error: �LIBSSH2_KNOWNHOST_KEYENC_RAW� undeclared (first use
in this function)
sftp.c:186:5: error: implicit declaration of function
�libssh2_knownhost_free� [-Werror=implicit-function-declaration]
sftp.c:191:10: error: �LIBSSH2_KNOWNHOST_CHECK_FAILURE� undeclared (first
use in this function)
sftp.c:192:10: error: �LIBSSH2_KNOWNHOST_CHECK_NOTFOUND� undeclared (first
use in this function)
sftp.c:195:10: error: �LIBSSH2_KNOWNHOST_CHECK_MATCH� undeclared (first use
in this function)
sftp.c:198:10: error: �LIBSSH2_KNOWNHOST_CHECK_MISMATCH� undeclared (first
use in this function)
cc1: some warnings being treated as errors
make[5]: *** [libaccess_sftp_plugin_la-sftp.lo] Error 1
make[5]: Leaving directory `/usr/src/vlc-2.1.5/modules/access'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/vlc-2.1.5/modules/access'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/vlc-2.1.5/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/vlc-2.1.5/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/vlc-2.1.5'
make: *** [all] Error 2

Then try the following link but again same error appears.
https://mailman.videolan.org/pipermail/vlc-commits/2011-April/006419.html

My OS distribution is Debian 7.5.

What should i do to make errors disappear.?

Any help would be much appreciated.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20150120/99fe1479/attachment.html>


More information about the vlc mailing list