[uClibc]latest CVS buildroot: crtstuff.c not finding limits.h

David Wuertele dave-gnus at bfnet.com
Wed Mar 5 00:01:27 UTC 2003


I checked out the latest CVS buildroot today, and it compiled out of
the box much farther than before!  Apparently, it is now defaulting to
the release version of uclibc, plus it has the --build/--host stuff
for configure in the makefiles.  I didn't have to edit any of the
./configure files themselves this time.  Thanks!

My problem now is that gcc_target is barfing when it tries to compile
crtstuff.c:

/opt/buildroot/buildroot-3.4.2003/build/staging_dir/bin/mipsel-uclibc-gcc -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc -I/opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc/. -I/opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc/config -I/opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
   -c /opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
In file included from include/limits.h:11,
                 from /opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc/tsystem.h:84,
                 from /opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc/crtstuff.c:62:
/opt/buildroot/buildroot-3.4.2003/build/staging_dir/lib/gcc-lib/mipsel-linux/3.2.2/include/syslimits.h:7:25: no include path in which to find limits.h
/opt/buildroot/buildroot-3.4.2003/toolchain_build/gcc-3.2.2/gcc/crtstuff.c:195: warning: `__EH_FRAME_BEGIN__' defined but not used
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory `/opt/buildroot/buildroot-3.4.2003/build/gcc-target/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/opt/buildroot/buildroot-3.4.2003/build/gcc-target'
make: *** [/opt/buildroot/buildroot-3.4.2003/build/gcc-target/.compiled] Error 2

This is confusing... it found include/limits.h OK, in fact that is how
it included tsystem.h which included crtstuff.c which included
syslimits.h, which complains about not finding limits.h :-(

Any suggestions?

Thanks,
Dave




More information about the uClibc mailing list