Skip to content

Curl compilation failed on LIBSSH2_SFTP_STATVFS' undeclared #831

Closed
@Bramzor

Description

@Bramzor

I did this

Trying to compile the new version of Curl (curl-7.49.0.tar.gz) to update my current verions:
curl -V
curl 7.47.1

I expected the following

Compilation of this is done automatically via custombuild from DirectAdmin, this is actually the first time that it fails.

curl/libcurl version

[curl -V output perhaps?]
Curl that I'm trying to compile is curl-7.49
LibSSH2 version 1.2.9-1.el5.rf

operating system

CloudLinux Server release 5.11

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions