glibc 2.2.2 error

3 messages, 3 authors, 2002-11-19 · open the first message on its own page

glibc 2.2.2 error

From: rekha gvv <hidden>
Date: 2002-11-18 12:20:42

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/

Re: glibc 2.2.2 error

From: Kenneth Johansson <hidden>
Date: 2002-11-18 13:21:51

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 \
quoted
--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/

Re: glibc 2.2.2 error

From: Michael Habermann <hidden>
Date: 2002-11-19 01:11:48

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help