In gParser.cpp: somewhere in the middle of the file you have includes for gGame.h and tConfiguration.h. gGame.h needs to move to the top of the other *.h includes, otherwise compiling using gcc4.0 will fail as outlined here . I can confirm this : Compilation of beta3 on Fedora Core 4 i386 fails on ...