[uClibc] syslimits.h: no include path in which to find limits.h

David Wuertele dave-gnus at bfnet.com
Tue Jul 1 18:40:05 UTC 2003


When I use buildroot to build a mipsel toolchan and root fs,
everything compiles fine until I get to gcc_target:

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

I have made sure that my gcc versions are the same in the
uclibc_toolchain.mk file and in the gcc_target.mk file.  Both are
using gcc-3.2.3.  I have Surfed The Fine Web, and I've found mention
of this problem before, but not in the same context.  The best advice
I found was to make sure the toolchain gcc version matched the target
gcc version, which I have already done.

Does anyone in buildroot land have a solution to this one?

Thanks,
Dave




More information about the uClibc mailing list