problems with glibc-2.2.5

ivo van doorn ivd at euronet.nl
Tue Oct 15 06:14:30 PDT 2002


sptddolphin at netscape.net wrote:
> 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

On teh page where mounting proc is mentioned this error message is 
discussed.
"Ignore these, they're just due to the fact that the system isn't 
installed completely yet and some files are missing. The mount itself 
will be successful and that's all we care about at this point."


> I have no name!:/# ln -s /proc/mounts /etc/mtab
In the book is the command:
ln -sf /proc/mounts /etc/mtab

But which version of teh book are you using? CVS, 4.0 or 3.3?

> 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:
> 
Yes Proc is mounted, but not the proc of your LFS system.
The proc that is mounted is of your host system.

> : /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 -lgc
c 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-bui
ld/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/
> R{.nÇ+‰·¬zw^™¨¥¶‰b²Ö«–)îÅúèšÇ+j×!¢¸Ún¶éì¹»®&Þ•û,ºšh®Ø§¶¬¹¸ÞrØ^i׫¡ûazg¬±¨

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list