Discussion:
[vlc] Error during make
Aqs Younas
2015-01-20 13:35:56 UTC
Permalink
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
Nuno Mota
2015-01-20 13:40:43 UTC
Permalink
libssh2 missing perhaps?

Regards
Post by Aqs Younas
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: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
______________________________________________________
vlc mailing list
https://mailman.videolan.org/listinfo/vlc
Loading...