linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* glibc 2.2.2  error
@ 2002-11-18 12:20 rekha gvv
  2002-11-18 13:21 ` Kenneth Johansson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: rekha gvv @ 2002-11-18 12:20 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,
I am setting up glibc for powerpc target but It gives
me errors ..
I have set the options
CC=powerpc-linux-gcc
./configure --build=powerpc-linux \
> --enable-add-ons=linuxthreads \
> --with-headers=/usr/local/powerpc-linux/include

But when u compile  it is not able to find the headers
there ...
it gives these errors ...
so can anyone specify the right options to configure
glibc.


In file included from ../posix/bits/posix1_lim.h:126,
                 from :1:
../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h:36:26:
linux/limits.h: No such file or directory
make[1]: *** [../bits/stdio_lim.st] Error 1
make[1]: Leaving directory `/usr/src/glibc-2.2.2/csu'
make: *** [csu/subdir_lib] Error 2


thankyou!


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: glibc 2.2.2  error
  2002-11-18 12:20 glibc 2.2.2 error rekha gvv
@ 2002-11-18 13:21 ` Kenneth Johansson
  2002-11-18 16:53 ` William A. Gatliff
  2002-11-19  1:11 ` Michael Habermann
  2 siblings, 0 replies; 4+ messages in thread
From: Kenneth Johansson @ 2002-11-18 13:21 UTC (permalink / raw)
  To: rekha gvv; +Cc: Linuxppc embedded


If you read the INSTALL file you would know that --with-headers should
point to the linux kernel headers. I guess the path could be right but
most probably not.


On Mon, 2002-11-18 at 13:20, rekha gvv wrote:
>
> Hello,
> I am setting up glibc for powerpc target but It gives
> me errors ..
> I have set the options
> CC=powerpc-linux-gcc
> ./configure --build=powerpc-linux \
> > --enable-add-ons=linuxthreads \
> > --with-headers=/usr/local/powerpc-linux/include
>
> But when u compile  it is not able to find the headers
> there ...
> it gives these errors ...
> so can anyone specify the right options to configure
> glibc.
>
>
> In file included from ../posix/bits/posix1_lim.h:126,
>                  from :1:
> ../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h:36:26:
> linux/limits.h: No such file or directory
> make[1]: *** [../bits/stdio_lim.st] Error 1
> make[1]: Leaving directory `/usr/src/glibc-2.2.2/csu'
> make: *** [csu/subdir_lib] Error 2
>
>
> thankyou!
>
>
>
--
Kenneth Johansson
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@etx.ericsson.se


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: glibc 2.2.2  error
  2002-11-18 12:20 glibc 2.2.2 error rekha gvv
  2002-11-18 13:21 ` Kenneth Johansson
@ 2002-11-18 16:53 ` William A. Gatliff
  2002-11-19  1:11 ` Michael Habermann
  2 siblings, 0 replies; 4+ messages in thread
From: William A. Gatliff @ 2002-11-18 16:53 UTC (permalink / raw)
  To: rekha gvv; +Cc: linuxppc-embedded


Rekha:


Is your kernel source tree configured?

b.g.

On Mon, Nov 18, 2002 at 04:20:42AM -0800, rekha gvv wrote:
>
> Hello,
> I am setting up glibc for powerpc target but It gives
> me errors ..
> I have set the options
> CC=powerpc-linux-gcc
> ./configure --build=powerpc-linux \
> > --enable-add-ons=linuxthreads \
> > --with-headers=/usr/local/powerpc-linux/include
>
> But when u compile  it is not able to find the headers
> there ...
> it gives these errors ...
> so can anyone specify the right options to configure
> glibc.
>
>
> In file included from ../posix/bits/posix1_lim.h:126,
>                  from :1:
> ../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h:36:26:
> linux/limits.h: No such file or directory
> make[1]: *** [../bits/stdio_lim.st] Error 1
> make[1]: Leaving directory `/usr/src/glibc-2.2.2/csu'
> make: *** [csu/subdir_lib] Error 2
>
>
> thankyou!
>
>
>
--
Bill Gatliff
Do you do embedded GNU?  I do!
See http://billgatliff.com for details.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: glibc 2.2.2  error
  2002-11-18 12:20 glibc 2.2.2 error rekha gvv
  2002-11-18 13:21 ` Kenneth Johansson
  2002-11-18 16:53 ` William A. Gatliff
@ 2002-11-19  1:11 ` Michael Habermann
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Habermann @ 2002-11-19  1:11 UTC (permalink / raw)
  To: rekha gvv; +Cc: linuxppc-embedded


rekha gvv wrote:

>
>
>../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h:36:26:
>linux/limits.h: No such file or directory
>
You have to create a symbolic link to the kernels include/linux and
include/asm directory into the /usr/local/powerpc-linux/include directory.
e.g.
cd /usr/local/powerpc-linux/include
ln -s /usr/src/ppclinux/include/linux
ln -s /usr/src/ppclinux/include/asm

The kernel source has to exist for that and the kernels make menuconfig
had to be called earlier.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-11-19  1:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-18 12:20 glibc 2.2.2 error rekha gvv
2002-11-18 13:21 ` Kenneth Johansson
2002-11-18 16:53 ` William A. Gatliff
2002-11-19  1:11 ` Michael Habermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).