On 25/09/2015 04:21, Renato Mendes wrote: > I tried also with an older version of gcc (4.8.2) and got the same > problem in different source file, this time on genconstants.c An older version than what? I see that you want C++ support ( --enable-languages=c,c++ ) but does your current compiler itself support C++ ? (You can check with gcc -v) As Jonathan alludes to, GCC now contains some parts written in C++ and thus requires a C++ compiler to build. https://lwn.net/Articles/542457/ Regards.