problems with glibc-2.2.5

sptddolphin at netscape.net sptddolphin at netscape.net
Tue Oct 15 05:51:02 PDT 2002


I have completed chap. 5 and was proceeding with chap. 6 when I got the following message:

I have no name!:/# mkdir /var/{lock,log,mail,run,spool} &&
> mkdir -p /var/{tmp,opt,cache,lib/misc,local} &&
> mkdir /opt/{bin,doc,include,info} &&
> mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}} &&
> ln -s ../var/tmp /usr
I have no name!:/# chmod 0750 /root &&
> chmod 1777 /tmp /var/tmp
I have no name!:/# mount proc /proc -t proc
warning: can't open /etc/fstab: No such file or directory
I have no name!:/# ln -s /proc/mounts /etc/mtab
ln: `/etc/mtab': File exists
I have no name!:/# ln -s /static/bin/bash /bin/bash &&
> ln -s bash /bin/sh

After I log out of chroot I get the message /proc already mounted.  Believing everything is OK, I continued on to install glibc where I got the following:

: /usr/src/LFS/glibc-build/libc_nonshared.a
gcc   -nostdlib -nostartfiles -r -o /usr/src/LFS/glibc-build/libc_pic.os \
 -Wl,-d -Wl,--whole-archive /usr/src/LFS/glibc-build/libc_pic.a
gcc   -shared -static-libgcc -Wl,-O1  -Wl,-dynamic-linker=/lib/ld-linux.so.2  -B/usr/src/LFS/glibc-build/csu/  -Wl,--version-script=/usr/src/LFS/glibc-build/libc.map -Wl,-soname=libc.so.6.1  -nostdlib -nostartfiles -e __libc_main -u __register_frame -L/usr/src/LFS/glibc-build -L/usr/src/LFS/glibc-build/math -L/usr/src/LFS/glibc-build/elf -L/usr/src/LFS/glibc-build/dlfcn -L/usr/src/LFS/glibc-build/nss -L/usr/src/LFS/glibc-build/nis -L/usr/src/LFS/glibc-build/rt -L/usr/src/LFS/glibc-build/resolv -L/usr/src/LFS/glibc-build/crypt -L/usr/src/LFS/glibc-build/linuxthreads -Wl,-rpath-link=/usr/src/LFS/glibc-build:/usr/src/LFS/glibc-build/math:/usr/src/LFS/glibc-build/elf:/usr/src/LFS/glibc-build/dlfcn:/usr/src/LFS/glibc-build/nss:/usr/src/LFS/glibc-build/nis:/usr/src/LFS/glibc-build/rt:/usr/src/LFS/glibc-build/resolv:/usr/src/LFS/glibc-build/crypt:/usr/src/LFS/glibc-build/linuxthreads -o /usr/src/LFS/glibc-build/libc.so.new /usr/src/LFS/glibc-build/csu/abi-note.o -Wl,--verbose -lgcc 2>&1 | sed -e '/^=========/,/^=========/!d;/^=========/d' -e 's/^.*\.hash[    ]*:.*$/  .note.ABI-tag : { *(.note.ABI-tag) } &/' > /usr/src/LFS/glibc-build/libc.so.lds
rm -f /usr/src/LFS/glibc-build/libc.so.new
gcc   -shared -static-libgcc -Wl,-O1  -Wl,-dynamic-linker=/lib/ld-linux.so.2  -B/usr/src/LFS/glibc-build/csu/  -Wl,--version-script=/usr/src/LFS/glibc-build/libc.map -Wl,-soname=libc.so.6.1  -nostdlib -nostartfiles -e __libc_main -u __register_frame -L/usr/src/LFS/glibc-build -L/usr/src/LFS/glibc-build/math -L/usr/src/LFS/glibc-build/elf -L/usr/src/LFS/glibc-build/dlfcn -L/usr/src/LFS/glibc-build/nss -L/usr/src/LFS/glibc-build/nis -L/usr/src/LFS/glibc-build/rt -L/usr/src/LFS/glibc-build/resolv -L/usr/src/LFS/glibc-build/crypt -L/usr/src/LFS/glibc-build/linuxthreads -Wl,-rpath-link=/usr/src/LFS/glibc-build:/usr/src/LFS/glibc-build/math:/usr/src/LFS/glibc-build/elf:/usr/src/LFS/glibc-build/dlfcn:/usr/src/LFS/glibc-build/nss:/usr/src/LFS/glibc-build/nis:/usr/src/LFS/glibc-build/rt:/usr/src/LFS/glibc-build/resolv:/usr/src/LFS/glibc-build/crypt:/usr/src/LFS/glibc-build/linuxthreads -o /usr/src/LFS/glibc-build/libc.so -T /usr/src/LFS/glibc-build/libc.so.lds /usr/src/LFS/glibc-build/csu/abi-note.o /usr/src/LFS/glibc-build/elf/soinit.os /usr/src/LFS/glibc-build/libc_pic.os /usr/src/LFS/glibc-build/elf/sofini.os /usr/src/LFS/glibc-build/elf/interp.os /usr/src/LFS/glibc-build/elf/ld.so -lgcc/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unknown-linux-gnu/bin/ld: /usr/src/LFS/glibc-build/libc_pic.os: pc-relative relocation against dynamic symbol __divlu
/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unknown-linux-gnu/bin/ld: /usr/src/LFS/glibc-build/libc_pic.os: pc-relative relocation against dynamic symbol __divqu
/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unknown-linux-gnu/bin/ld: /usr/src/LFS/glibc-build/libc_pic.os: pc-relative relocation against dynamic symbol __remlu
/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unknown-linux-gnu/bin/ld: /usr/src/LFS/glibc-build/libc_pic.os: pc-relative relocation against dynamic symbol __remqu
collect2: ld returned 1 exit status
make[1]: *** [/usr/src/LFS/glibc-build/libc.so] Error 1
make[1]: Leaving directory `/usr/src/LFS/glibc-2.2.5'
make: *** [all] Error 2
I have no name!:/usr/src/LFS/glibc-build#

I've used no optimizations and I installed texinfo-4.1 instead of texinfo-4.2, which I'll do in chap. 6 based on recommendations from this list.  My host system is RH 7.2 for alpha.

Thanks in advance,
Will

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


More information about the lfs-support mailing list