bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

seek for help !


From: syanchan
Subject: seek for help !
Date: Fri, 28 Nov 2003 16:11:59 +0800 (China Standard Time)

Dear Sir,

I am writing to seek for help in installing GLibc.

My system was a Pentium 600MHz PC running Linux installed with Slackware 7.1
(i.e. with linux kernel 2.2.16, glibc 2.1.3, bash 2.04, binutils 2.9.1.0.25,
egcs 2.91.66, gettext 0.10.35, make 3.79, modutils 2.3.11, texinfo 4.0,
util-linux 2.10l). Recently I decide to upgrade the kernel and the system
softwares, so I have done the following :

- added $HOME/tool/bin to PATH;
- upgraded binutils to version 2.14 with --prefix=$HOME/tool;
- upgraded bash to version 2.05b, replaced /bin/sh & /bin/bash;
- upgraded make to version 3.80 with --prefix=$HOME/tool;
- added Tcl 8.4.4, Expect 5.39, GNU DejaGNU 1.4.3, all under $HOME/tool;
- upgraded gettext to version 0.12.1 with --prefix=$HOME/tool;
- upgraded gcc to version 3.3.2 (core only, without g++), under $HOME/tool;
- removed the corresponding Slackware packages of all the above;
- upgraded util-linux to version 2.12, modutils to 2.4.25, e2fsprogs to 1.34;
- new kernel source was in /usr/src/linux-2.4.22;
- compiled & installed the new kernel, and rebooted the system;
- upgraded texinfo to version 4.6, gawk to 3.1.3, sed to 4.0.7, all under
  $HOME/tool, then removed the corresponding Slackware packages.

Then I proceed to installing GLibc 2.3.2. I obtained the CVS distribution
(since the "official" release had the 'sscanf' bug) and unpacked it. In an
empty "build" directory, I issued :

  sh ../libc/configure --prefix=$HOME/0 \
     --with-headers=/usr/src/linux-2.4.22/include \
     --enable-add-ons=linuxthreads --with-binutils=$HOME/0/bin

The script completed successfully. Then I run "make" as usual. The process
completed, after nearly 2 hrs, with no obvious error. Then I run "make check".
But this cannot pass. The last screen is shown below :

========================================
test-ifaddrs.c:83: warning: called from here
test-ifaddrs.c:52: warning: inlining failed in call to `addr_string'
test-ifaddrs.c:83: warning: called from here
In file included from /home/test/libc/elf/check-textrel.c:127:
/home/test/libc/elf/check-textrel.c: In function `handle_file32':
/home/test/libc/elf/check-textrel.c:64: warning: implicit declaration of 
function `pread'
/home/test/libc/elf/check-textrel.c:110: error: `DT_FLAGS' undeclared (first 
use in this function)
/home/test/libc/elf/check-textrel.c:110: error: (Each undeclared identifier is 
reported only once
/home/test/libc/elf/check-textrel.c:110: error: for each function it appears 
in.)
/home/test/libc/elf/check-textrel.c:110: error: `DF_TEXTREL' undeclared (first 
use in this function)
In file included from /home/test/libc/elf/check-textrel.c:130:
/home/test/libc/elf/check-textrel.c: In function `handle_file64':
/home/test/libc/elf/check-textrel.c:110: error: `DT_FLAGS' undeclared (first 
use in this function)
/home/test/libc/elf/check-textrel.c:110: error: `DF_TEXTREL' undeclared (first 
use in this function)
make[2]: *** [/home/test/libc-build/elf/check-textrel] Error 1
make[1]: *** [elf/tests] Error 2
make: *** [check] Error 2
========================================

I do not know which step had gone wrong. I should be most grateful if anyone
could help.


Yours sincerely,
     S.Y.C.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]