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]

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


On Tue, Aug 10, 2010 at 11:33 PM, takanobu watanabe wrote:
> 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 ?

your gcc needs to have a copy of limits.h

really, you should use crosstool-ng and ask questions on the crossgcc
mailing list.  that project takes care of a lot of cross-compiling
mistakes people make.  like the ones you're making right now.
-mike


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