Got this:

 

    cc : compile of build/obj/inkscape.o required by source: src/inkscape.cpp

Make error line 581: problem compiling: src/inkscape.cpp: In function 'gchar* profile_path(const char*)':

src/inkscape.cpp:1454: error: 'S_IRGRP' was not declared in this scope

src/inkscape.cpp:1454: error: 'S_IXGRP' was not declared in this scope

src/inkscape.cpp:1454: error: 'S_IXOTH' was not declared in this scope

src/inkscape.cpp: At global scope:

src/inkscape.cpp:144: warning: 'bus_handler' defined but not used