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
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