gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I. -I../../../include -I../../../include -I../../../include/orbit/orb-core -DORBIT_TYPELIB_DIR=\"/usr/lib/orbit\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2 -march=i386 -mcpu=i686 -c corba-typecode.c -fPIC -DPIC -o .libs/corba-typecode.lo cc1: warning: changing search order for system directory "/usr/include" cc1: warning: as it has already been specified as a non-system directory corba-typecode.c:142: conflicting types for `TC_null_struct' ../../../include/orbit/orb-core/corba-typecode.h:51: previous declaration of `TC_null_struct' corba-typecode.c:149: conflicting types for `TC_void_struct' ../../../include/orbit/orb-core/corba-typecode.h:52: previous declaration of `TC_void_struct' [...] It's a struct CORBA_TypeCode_struct vs. extern const struct CORBA_TypeCode_struct issue (non-matching declarations). Older compilers just happened not to barf on it. Also, the fact that it uses "-I/usr/include" leads to numerous compiler warnings.
It seems to be building now. The /usr/include stuff is filed separately (against all the -config scripts)