Compiling error: ssh.c:(.text+0x2121): undefined reference to `libssh2_sftp_seek64'
Status: Alpha
Brought to you by:
coroberti
From: Todd C. <tc...@in...> - 2009-04-30 14:32:59
|
Hi, After untar the curl-loader-0.48, I just did "make". Then, I got the following error: make[3]: Entering directory `/home/tchu/Download/curl-loader-0.48/build/curl/src' /bin/sh ../libtool --tag=CC --mode=link gcc -DCURL_MAX_WRITE_SIZE=4096 -g0 -O2 -Wno-system-headers -o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o curlutil.o strtoofft.o strdup.o rawstr.o ../lib/libcurl.la -lz libtool: link: gcc -DCURL_MAX_WRITE_SIZE=4096 -g0 -O2 -Wno-system-headers -o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o curlutil.o strtoofft.o strdup.o rawstr.o /home/tchu/Download/curl-loader-0.48/build/curl/lib/libcurl.a -lssh2 -lssl -lcrypto -lrt -lz /home/tchu/Download/curl-loader-0.48/build/curl/lib/libcurl.a(ssh.o): In function `ssh_block2waitfor': ssh.c:(.text+0x23a): undefined reference to `libssh2_session_block_directions' /home/tchu/Download/curl-loader-0.48/build/curl/lib/libcurl.a(ssh.o): In function `ssh_statemach_act': ssh.c:(.text+0x1de1): undefined reference to `libssh2_sftp_seek64' ssh.c:(.text+0x2121): undefined reference to `libssh2_sftp_seek64' ssh.c:(.text+0x2715): undefined reference to `libssh2_sftp_seek64' /home/tchu/Download/curl-loader-0.48/build/curl/lib/libcurl.a(ssh.o): In function `ssh_easy_statemach': ssh.c:(.text+0x422b): undefined reference to `libssh2_session_block_directions' collect2: ld returned 1 exit status make[3]: *** [curl] Error 1 make[3]: Leaving directory `/home/tchu/Download/curl-loader-0.48/build/curl/src' make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/tchu/Download/curl-loader-0.48/build/curl/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/tchu/Download/curl-loader-0.48/build/curl' make: *** [lib/libcurl.a] Error 2 I am running Fedora 10 and I have the libssh2-1.1 installed. I appreciate if someone could help me. Regards, Todd |