Compiling CURL failed on LIBSSH2_SFTP_STATVFS

Cyberdevil

Verified User
Joined
Sep 16, 2007
Messages
40
While compiling the latest version of curl (7.49.0), it fails with the following error:

CC libcurl_la-ssh.lo
ssh.c: In function 'ssh_statemach_act':
ssh.c:1624: error: 'LIBSSH2_SFTP_STATVFS' undeclared (first use in this function)
ssh.c:1624: error: (Each undeclared identifier is reported only once
ssh.c:1624: error: for each function it appears in.)
ssh.c:1624: error: expected ';' before 'statvfs'
ssh.c:1627: error: 'statvfs' undeclared (first use in this function)
make[2]: *** [libcurl_la-ssh.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.49.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.49.0/lib'
make: *** [all-recursive] Error 1

*** The make has failed, would you like to try to make again? (y,n):

Cant seem to find anything about this error online.
Updated all packages but this didn't help.
 
Last edited:
Back
Top