Hello, I built gcc 4.4.2 from source on a CentOS 32-bit VM. The build went through without much issues. But later when I build our project, I get this error: /opt/gcc-4.4.2/bin/../lib/gcc/i686-pc-linux-gnu/4.4.2/include-fixed/sys/stat.h:317: warning: inline function ‘lstat64’ declared but never defined /opt/gcc-4.4.2/bin/../lib/gcc/i686-pc-linux-gnu/4.4.2/include-fixed/sys/stat.h:286: warning: inline function ‘fstatat64’ declared but never defined /opt/gcc-4.4.2/bin/../lib/gcc/i686-pc-linux-gnu/4.4.2/include-fixed/sys/stat.h:255: warning: inline function ‘fstat64’ declared but never defined /opt/gcc-4.4.2/bin/../lib/gcc/i686-pc-linux-gnu/4.4.2/include-fixed/sys/stat.h:250: warning: inline function ‘stat64’ declared but never defined Looking into the stat.h in include-fixed/sys, it looks like gcc fixes the stat.h to convert these functions to "extern inline int" from being "extern int". Obviously I am either missing some libraries on the system, or I am passing the wrong configure options either while building gcc or while building my project. configure for gcc: cd objs/rhel5_x86_32 && CC="gcc -m32 " ../../src/base/configure --prefix=/opt/gcc-4.4.2 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-multilib --with-mpfr=<mpfr-location> --with-gmp=<gmp-location> gcc options for the project (apart from the -I include dirs): -m32 -fno-inline -O0 -g3 -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels -fno-strict-aliasing -fwrapv -g -ggdb -D_GNU_SOURCE -DFRONTEND Any help pointing me to what I might be missing? thanks, -Hari PS: I have a gcc 4.2.4 built and running just fine on the same centos 32-bit VM