This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
glibc-2.3.3 fails
- From: abhijeet tripathi <abhijeet dot tripathy at yahoo dot co dot in>
- To: libc-help at sourceware dot org
- Cc: abhijeet <abhijeet dot tripathy at gmail dot com>
- Date: Sat, 21 Nov 2009 18:39:06 +0530 (IST)
- Subject: glibc-2.3.3 fails
I am trying to build glibc-2.3.3 for my arm board but it is failing and gives below error:
===================
make[2]: Entering directory `/home/abhijeet/IHR/Toolchain/glibc-2.3.3/csu'
arm-none-linux-gnueabi-gcc ../sysdeps/unix/sysv/linux/init-first.c -c -std=gnu99 -O -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/home/abhijeet/IHR/Toolchain/glibc-2.3.3/arm-linux/csu -I.. -I../libio -I/home/abhijeet/IHR/Toolchain/glibc-2.3.3/arm-linux -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-nostdinc -isystem /opt/arm-linux-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/include -isystem /home/abhijeet/IHR/kernel_src/linux-2.6-stable/include/ -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o /home/abhijeet/IHR/Toolchain/glibc-2.3.3/arm-linux/csu/init-first.o -MD -MP -MF /home/abhijeet/IHR/Toolchain/glibc-2.3.3/arm-linux/csu/init-first.o.dt
In file included from ../linuxthreads/sysdeps/unix/sysv/linux/allocalim.h:20,
from ../include/alloca.h:20,
from ../stdlib/stdlib.h:578,
from ../include/stdlib.h:8,
from ../sysdeps/unix/sysv/linux/init-first.c:21:
../include/limits.h:124:26: error: limits.h: No such file or directory
In file included from ../include/stdlib.h:8,
from ../sysdeps/unix/sysv/linux/init-first.c:21:
../stdlib/stdlib.h:589: warning: â__malloc__â attribute ignored
In file included from ../sysdeps/unix/sysv/linux/init-first.c:21:
../include/stdlib.h:99: warning: â__malloc__â attribute ignored
make[2]: *** [/home/abhijeet/IHR/Toolchain/glibc-2.3.3/arm-linux/csu/init-first.o] Error 1
make[2]: Leaving directory `/home/abhijeet/IHR/Toolchain/glibc-2.3.3/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/home/abhijeet/IHR/Toolchain/glibc-2.3.3'
make: *** [all] Error 2
===================
I have used the following configuration for glibc:
# ../configure --host=arm-none-linux-gnueabi --build=i686-pc-linux-gnu
--with-headers=/home/abhijeet/IHR/kernel_src/linux-2.6-stable/include/ --prefix=/opt/arm-linux-toolchain/ --with-numa-policy=yes --enable-shared --with-arch=armv6j --with-cpu=arm1176jzf-s --with-fpu --enable-add-ons
--libdir=/opt/arm-linux-toolchain/lib/soft-float
Please let me know what I am missing here.
Best regards,
Abhijeet
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/