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 ?


Thanks mike,
I try crosstool-ng.

On 11 August 2010 12:49, Mike Frysinger <vapier@gentoo.org> wrote:
> 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
>



-- 
tknv/


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