This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cross compile glibc2.7,which limits.h and where should limits.h is ?


Hello,

I try compile glibc2.7 for armv5.

I did
---
BUILD_CC=gcc \
CC=/home/tknv/Tool/arm-none-linux-gnueabi/arm-2010q1/bin/arm-none-linux-gnueabi-gcc
\
AR=/home/tknv/Tool/arm-none-linux-gnueabi/arm-2010q1/bin/arm-none-linux-gnueabi-ar
\
RANLIB=/home/tknv/Tool/arm-none-linux-gnueabi/arm-2010q1/bin/arm-none-linux-gnueabi-ranlib
\
AS=/home/tknv/Tool/arm-none-linux-gnueabi/arm-2010q1/bin/arm-none-linux-gnueabi-as
\
LD=/home/tknv/Tool/arm-none-linux-gnueabi/arm-2010q1/bin/arm-none-linux-gnueabi-ld
\
../../glibc-2.7/configure \
--with-headers=/home/tknv/src/kernel-2.6.34/linux-2.6.34.1/include \
--prefix=/usr/arm \
--with-binutils=/usr/bin \
--enable-kernel=2.6.34.1 \
--enable-add-ons=ports,nptl \
--host=arm-none-linux-gnueabi \
--target=arm-unknown-linux-gnu \
--build=i686-pc-linux-gnu 2>&1 | tee configure.out
---
result looks ok,then,
---
make 2>&1 | tee make.out
---
then,
---
In file included from ../nptl/descr.h:23,
                 from ../ports/sysdeps/arm/nptl/tls.h:64,
                 from ../include/tls.h:6,
                 from ../include/link.h:45,
                 from ../include/dlfcn.h:3,
                 from ../sysdeps/generic/ldsodefs.h:32,
                 from ../ports/sysdeps/arm/ldsodefs.h:39,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from <stdin>:2:
../include/limits.h:125: fatal error: limits.h: No such file or directory
compilation terminated.
make[2]: *** [/usr/arm/src/BUILD/glibc-2.7/rtld-global-offsets.h] Error 1
make[2]: Leaving directory `/usr/arm/src/glibc-2.7/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/arm/src/glibc-2.7'
make: *** [all] Error 2


wonder which limits.h needed and where should lmits.h is.
or need more configure param for limits.h location ?
I have limits.h in
/usr/include
glib2.7/include/limits.h

Thanks.
-- 
tknv/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]