On 25 June 2015 at 09:51, Siddhartha Jain wrote: > I compiled it for this OS. Strange, I've seen errors like that when using GCC on a different machine from the one where it was built. You'll need to debug why __locale_t is not being defined. You can add -save-temps to the failing command, then look in the file project.ii and look for "xlocale.h", which is the file that should be included to define __locale_t, or just look for __locale_t.