glibc 2.0.6 now error compiling kernel

glibc 2.0.6 now error compiling kernel

Post by Piot L » Mon, 08 Feb 1999 04:00:00



I have just installed glibc on my linux box that has kernel 2.2.1. I
now wanted to recompile the kernel, cause I changed glibc after having
changed the kernel. Now I get all the time error messages, when I try
to run
make menuconfig
it says something that my curses.h causes problems.
Then I tried to reinstall glibc, because I thought this would solve
the problem, but even this installation stops now with an error.
The first errer could have been because I created a link
ln -s /usr/lib/g++include  /usr/include/g++
but the source directory never existed. Could this have caused the
error??
Anybody has any idea what to do?

--------------------------------
[...]
make[2]: Entering directory `/usr/src/glibc-2.0.6/ctype'
gcc -B/usr/src/glibc-2.0.6/compile/ test_ctype.c -c -O2 -Wall -Winline
-Wno-paro
make[2]: *** No rule to make target
`/usr/src/glibc-2.0.6/compile/libc.so.6', n.
make[2]: Leaving directory `/usr/src/glibc-2.0.6/ctype'
make[1]: *** [ctype/tests] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.0.6'
make: *** [check] Error 2
name:/usr/src/glibc-2.0.6/compile#

 
 
 

glibc 2.0.6 now error compiling kernel

Post by Piot L » Mon, 08 Feb 1999 04:00:00


I have just installed glibc on my linux box that has kernel 2.2.1. I
now wanted to recompile the kernel, cause I changed glibc after having
changed the kernel. Now I get all the time error messages, when I try
to run
make menuconfig
it says something that my curses.h causes problems.
Then I tried to reinstall glibc, because I thought this would solve
the problem, but even this installation stops now with an error.
The first errer could have been because I created a link
ln -s /usr/lib/g++include  /usr/include/g++
but the source directory never existed. Could this have caused the
error??
Anybody has any idea what to do?

--------------------------------
[...]
make[2]: Entering directory `/usr/src/glibc-2.0.6/ctype'
gcc -B/usr/src/glibc-2.0.6/compile/ test_ctype.c -c -O2 -Wall -Winline
-Wno-paro
make[2]: *** No rule to make target
`/usr/src/glibc-2.0.6/compile/libc.so.6', n.
make[2]: Leaving directory `/usr/src/glibc-2.0.6/ctype'
make[1]: *** [ctype/tests] Error 2
make[1]: Leaving directory `/usr/src/glibc-2.0.6'
make: *** [check] Error 2
name:/usr/src/glibc-2.0.6/compile#

 
 
 

glibc 2.0.6 now error compiling kernel

Post by Thomas T. Veldhous » Tue, 09 Feb 1999 04:00:00



>I have just installed glibc on my linux box that has kernel 2.2.1. I
>now wanted to recompile the kernel, cause I changed glibc after having
>changed the kernel. Now I get all the time error messages, when I try
>to run
>make menuconfig
>it says something that my curses.h causes problems.
>Then I tried to reinstall glibc, because I thought this would solve
>the problem, but even this installation stops now with an error.
>The first errer could have been because I created a link
>ln -s /usr/lib/g++include  /usr/include/g++
>but the source directory never existed. Could this have caused the
>error??
>Anybody has any idea what to do?

If you followed the HOWTO, then you probably moved all the ncurses and g++
headers out of the way.  The best thing to do is install ncurses-3.4
(download from GNU) and libg++-2.7.2.8.  use --prefix=/usr for both.  Once
they are compiled and installed you should have what you need to recompile
the kernel.  However, if you READ the documentation for 2.2.x kernels, it
specifically says that you should use glibc-2.0.7pre6 or newer if you are
going to use glibc as your primary library.

Tom Veldhouse

 
 
 

glibc 2.0.6 now error compiling kernel

Post by M.. » Tue, 09 Feb 1999 04:00:00



Quote:> I have just installed glibc on my linux box that has kernel 2.2.1. I
> now wanted to recompile the kernel, cause I changed glibc after having
> changed the kernel. Now I get all the time error messages, when I try
> to run
> make menuconfig
> it says something that my curses.h causes problems.
> Then I tried to reinstall glibc, because I thought this would solve
> the problem, but even this installation stops now with an error.
> The first errer could have been because I created a link
> ln -s /usr/lib/g++include  /usr/include/g++
> but the source directory never existed. Could this have caused the
> error??
> Anybody has any idea what to do?

Read the Changes for the Kernel. You should use glibc-2.0.7-pre6 at least...

--
Thorben

 
 
 

1. problems compiling glibc-2.1.2 on Slackware 3.5 with glibc-2.0.7

Hi!  I'm trying to upgrade the glibc-2.0.7 that came with my Slackware
3.5 distribution to glibc-2.1.2 and during the build process I get this
linker error:

make  -C db2 others make[2]: Entering directory
`/home/tommy/build/glibc-2.1.2/db2' gcc -nostdlib -nostartfiles -o
/home/tommy/build/glibc-2.1.2/objdir/db2/makedb
-Wl,-dynamic-linker=//lib/ld-linux.so.2
/home/tommy/build/glibc-2.1.2/objdir/csu/crt1.o
/home/tommy/build/glibc-2.1.2/objdir/csu/crti.o `gcc
--print-file-name=crtbegin.o`
/home/tommy/build/glibc-2.1.2/objdir/db2/makedb.o
/home/tommy/build/glibc-2.1.2/objdir/db2/libdb.so.3
-Wl,-rpath-link=/home/tommy/build/glibc-2.1.2/objdir:/home/tommy/build/glibc-
2.1.2/objdir/math:/home/tommy/build/glibc-2.1.2/objdir/elf:/home/tommy/build/
glibc-2.1.2/objdir/nss:/home/tommy/build/glibc-2.1.2/objdir/nis:/home/tommy/b
uild/glibc-2.1.2/objdir/db2:/home/tommy/build/glibc-2.1.2/objdir/rt:/home/tom
my/build/glibc-2.1.2/objdir/resolv:/home/tommy/build/glibc-2.1.2/objdir/linux
threads /home/tommy/build/glibc-2.1.2/objdir/libc.so.6
/home/tommy/build/glibc-2.1.2/objdir/libc_nonshared.a -lgcc `gcc
--print-file-name=crtend.o` /home/tommy/build/glibc-2.1.2/objdir/csu/crtn.o
/home/tommy/build/glibc-2.1.2/objdir/libc.so.6: undefined reference to
`__NR_rt_sigreturn' collect2: ld returned 1 exit status make[2]: ***
[/home/tommy/build/glibc-2.1.2/objdir/db2/makedb] Error 1 make[2]: Leaving
directory `/home/tommy/build/glibc-2.1.2/db2' make[1]: *** [db2/others] Error
2 make[1]: Leaving directory `/home/tommy/build/glibc-2.1.2' make: *** [all]
Error 2 bash$ ls -l /lib/libc.so.6 lrwxrwxrwx  1 root  root  13 Sep  2 05:42
/lib/libc.so.6 -> libc-2.0.7.so bash$

Any ideas on how I can resolve this problem?  I building on a Slackware
3.5 Linux box with a 2.0.38 custom kernel and gcc-2.95.1 and
binutls-990902 from the egcs team.

Thanks in advance for your time!

Peace.....

Tom Williams

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

2. Announcing Project Orion 1.1

3. Compiling glibc does not produce glibc-common

4. Cannot ping host in another subnet

5. GCC internal error compiling GLIBC

6. Setting up bbs

7. Error compile glibc-cvs link nptl-0.30

8. kmalloc_percpu

9. Many errors compiling 2.0.30 + glibc-2.0.4

10. Error compiling glibc.1.6 under gcc.2.4.5

11. glibc-2.2.4 iopopen.c compile error

12. glibc-2.1.2 compile errors

13. glibc - assembler error, cross compile ELDK for PowerPC