normally I would first ask which compiler you are using and what version of all components. But in this case the problem seems to be totally outside of GNUstep. The file /usr/include/inttypes.h is a system header and your compiler isn’t able to parse it. The question is rather how did you get this far :-) Similar problems should have happened when your compiled other bits of GNUstep. How could you work around these?
Rebuilding GNUstep on this box does not work (same problems). The system installation seems to be completely broken. I have another machine (also Ubuntu 16.04 with GNustep installed) that works just fine.
Any idea what system files I could try to sync from the healthy machine to the corrupt one to heal this? The corrupt machine unfortunately is a production machine with a lot of productive databases that cannot be easily thrown away.
Thanks,