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]

glibc-2.3.6 build error


I am trying to cross-compile glibc-2.3.6 with glibc-linuxthreads-2.3.6 as add-on package.
While compiling glibc, I am getting below error:


=====================================================
arm-none-linux-gnueabi-gcc ../sysdeps/unix/sysv/linux/arm/getrlimit.c
-c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-g      -I../include -I.
-I/home/abhijeet/IHR/Toolchain/glibc-2.3.6/arm-linux/resource -I..
-I../libio  -I/home/abhijeet/IHR/Toolchain/glibc-2.3.6/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 -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/lib/gcc/arm-none-linux-gnueabi/4.2.1/include
-isystem /home/abhijeet/IHR/kernel_src/linux-2.6-stable/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o
/home/abhijeet/IHR/Toolchain/glibc-2.3.6/arm-linux/resource/getrlimit.o
-MD -MP -MF
/home/abhijeet/IHR/Toolchain/glibc-2.3.6/arm-linux/resource/getrlimit.o.dt
-MT /home/abhijeet/IHR/Toolchain/glibc-2.3.6/arm-linux/resource/getrlimit.o
In file included from ../sysdeps/unix/sysv/linux/arm/getrlimit.c:1:
../sysdeps/unix/sysv/linux/i386/getrlimit.c: In function â__new_getrlimitâ:
../sysdeps/unix/sysv/linux/i386/getrlimit.c:65: error:
â__NR_getrlimitâ undeclared (first use in this function)
../sysdeps/unix/sysv/linux/i386/getrlimit.c:65: error: (Each
undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/i386/getrlimit.c:65: error: for each
function it appears in.)
make[2]: ***
[/home/abhijeet/IHR/Toolchain/glibc-2.3.6/arm-linux/resource/getrlimit.o]
Error 1
make[2]: Leaving directory
`/home/abhijeet/IHR/Toolchain/glibc-2.3.6/resource'
make[1]: *** [resource/subdir_lib] Error 2
make[1]: Leaving directory `/home/abhijeet/IHR/Toolchain/glibc-2.3.6'
make: *** [all] Error 2
=========================================================================

Let me know if you need more info.

--regards
Abhijeet


-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


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