Skip to content

Make error #2

@tejasbubane

Description

@tejasbubane

I am getting the following error during make:

compiling disk_usage.c
disk_usage.c: In function ‘get_disk_usage’:
disk_usage.c:6:48: error: ‘struct RString’ has no member named ‘ptr’
char* mount_point_str = RSTRING(mount_point)->ptr;
^
disk_usage.c:12:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
struct statvfs result;
^
make: *** [disk_usage.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions