Hi
I am unable to install the lib ssh2. I am getting the following errors while installing it. I am currently having Windows xp OS, i am using cygwin to install this. I am using the libssh2-0.18 version.
ssh2.o:ssh2.c:(.text+0x147
): undefined reference to `__imp__libssh2_session_in
it_ex'
ssh2.o:ssh2.c:(.text+0x15e
): undefined reference to `__imp__libssh2_session_st
artup'
ssh2.o:ssh2.c:(.text+0x19b
): undefined reference to `__imp__libssh2_hostkey_ha
sh'
ssh2.o:ssh2.c:(.text+0x22e
): undefined reference to `__imp__libssh2_userauth_p
assword_ex
'
ssh2.o:ssh2.c:(.text+0x27f
): undefined reference to `__imp__libssh2_userauth_p
ublickey_f
romfile_ex
'
ssh2.o:ssh2.c:(.text+0x2d1
): undefined reference to `__imp__libssh2_channel_op
en_ex'
ssh2.o:ssh2.c:(.text+0x324
): undefined reference to `__imp__libssh2_channel_se
tenv_ex'
ssh2.o:ssh2.c:(.text+0x371
): undefined reference to `__imp__libssh2_channel_re
quest_pty_
ex'
ssh2.o:ssh2.c:(.text+0x3bc
): undefined reference to `__imp__libssh2_channel_pr
ocess_star
tup'
ssh2.o:ssh2.c:(.text+0x3ed
): undefined reference to `__imp__libssh2_channel_fr
ee'
ssh2.o:ssh2.c:(.text+0x419
): undefined reference to `__imp__libssh2_session_di
sconnect_e
x'
ssh2.o:ssh2.c:(.text+0x426
): undefined reference to `__imp__libssh2_session_fr
ee'
collect2: ld returned 1 exit status
Make[2]: *** [ssh2.exe] Error 1
Make[2]: Leaving directory `/cygdrive/c/perl_test/per
l_module/l
ibssh2-0.1
5/example/
simple'
Make[1]: *** [all-recursive] Error 1
Make[1]: Leaving directory `/cygdrive/c/perl_test/per
l_module/l
ibssh2-0.1
5/example'
Make: *** [all-recursive] Error 1
can any body know how to install it with out errors.
Start Free Trial