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: glibc-2.3.6 build error


Hello Carlos,

--- On Tue, 1/12/09, Carlos O'Donell <carlos@systemhalted.org> wrote:

> From: Carlos O'Donell <carlos@systemhalted.org>
> Subject: Re: glibc-2.3.6 build error
> To: "Abhijeet Tripathi" <abhijeet.tripathy@yahoo.co.in>
> Cc: "libc-help@sourceware.org" <libc-help@sourceware.org>, "abhijeet.tripathy@gmail.com" <abhijeet.tripathy@gmail.com>
> Date: Tuesday, 1 December, 2009, 5:06 AM
> On Mon, Nov 30, 2009 at 3:32 PM,
> Abhijeet Tripathi
> <abhijeet.tripathy@yahoo.co.in>
> wrote:
> > ../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
> 
> If I had to guess, your kernel headers are missing, broken,
> or don't
> match what glibc expects.
> 
> The value of __NR_* should come from unistd.h from the
> sysroot headers
> for your cross-compiler, which should come from a linux
> kernel `make
> headers_install` that you did when building the
> cross-compiler.
> 
> Cheers,
> Carlos.
> 
The issue what I am facing has been fixed for uclibc but I coulkd not see a similar fix for glibc. As I have selected ARM_EABI, so some of the syscalls are undefined but they are not sync with glibc.

Fix for uclibc is at following link:
http://lists.uclibc.org/pipermail/uclibc/2006-October/037412.html

Please correct me if I am wrong.

--regards,
Abhijeet


      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/


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