Problem in chapter 6.9 Error Checking size of long double
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problem in chapter 6.9 Error Checking size of long double
Hello everybody i am facing problem in chapter 6.9. I am using Live CD as a host system.When i am configure glibc-2.3.6 i get the error message checking for long double... yes checking size of long double... configure: error: can not ...
Hi Biniou
Thanx for help its working but now i have faced other problem..
when i run this command
Quote:
make -k check 2>&1 | tee glibc-check-log
Then i have faced this error please tell me what can i do next.
code:
Quote:
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
g++: /dev/fd/63: No such file or directory
g++: warning: '-x c++' after last input file has no effect
g++: no input files
make[1]: *** [/sources/glibc/c++-types-check.out] Error 1
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc/glibc-2.3.6'
make: *** [check] Error 2
root:/sources/glibc#
Did you quit your chrooted environment at any moment ?
If so, consider populating /dev again (as described in the book) ... Maybe you'll have to build glibc again (I feel sorry for you as it takes much time) with chrooted environment properly set ...
Thanx Biniou
I hope you will be not laugh at my stupid work
Actually when I was restart my pc and then continue with LFS then I was forgot to build a Virtual Kernel File Systems and Populating /dev
Now Thanx for the help please read continue this thread because if I have any problem further then I will be contact u .
Last edited by calling_u3; 02-09-2007 at 03:57 AM.
Hi Biniou
I am really sorry to say that,But i have bad luck when i am doing every thing correct till i have face problem. When run this command "make -k check 2>&1 | tee glibc-check-log" i have faced this error.
Eror is: -
code:
Quote:
/tools/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/bin/ld: warning: ld-linux.so.2, needed by /tools/lib/libc.so.6, not found (try using -rpath or -rpath-link)
/tools/lib/libc.so.6: undefined reference to `_rtld_global@GLIBC_PRIVATE'
/tools/lib/libc.so.6: undefined reference to `__libc_enable_secure@GLIBC_PRIVATE'
/tools/lib/libc.so.6: undefined reference to `__libc_stack_end@GLIBC_2.1'
/tools/lib/libc.so.6: undefined reference to `_rtld_global_ro@GLIBC_PRIVATE'
/tools/lib/libc.so.6: undefined reference to `_dl_out_of_memory@GLIBC_PRIVATE'
/tools/lib/libc.so.6: undefined reference to `___tls_get_addr@GLIBC_2.3'
/tools/lib/libc.so.6: undefined reference to `_r_debug@GLIBC_2.0'
/tools/lib/libc.so.6: undefined reference to `_dl_argv@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[2]: *** [/sources/glibc/elf/check-textrel] Error 1
make[2]: Target `tests' not remade because of errors.
make[2]: Leaving directory `/sources/glibc/glibc-2.3.6/elf'
make[1]: *** [elf/tests] Error 2
scripts/check-c++-types.sh scripts/data/c++-types-i386-linux-gnu.data g++ -O2 -Wall -Winline -Wwrite-strings -g -mpreferred-stack-boundary=2 -Iinclude -I. -I/sources/glibc -Ilibio -Inptl -I/sources/glibc -Isysdeps/i386/elf -Inptl/sysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Inptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/sysv -Inptl/sysdeps/unix -Inptl/sysdeps/i386/i686 -Inptl/sysdeps/i386 -Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include include/libc-symbols.h > /sources/glibc/c++-types-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc/glibc-2.3.6'
make: *** [check] Error 2
root:/sources/glibc#
I have been spet lot of time on LFS project becouse this is very important for me but every time i have faced some problem. Please help me
I hope u will give me right suggestion..
Thanx
Last edited by calling_u3; 02-09-2007 at 10:52 PM.
collect2: ld returned 1 exit status
Execution of gcc failed!
The script has found some problems with your installation!
Please read the FAQ and the README file and check the following:
- Did you change the gcc specs file (necessary after upgrading from
Linux libc5)?
- Are there any symbolic links of the form libXXX.so to old libraries?
Links like libm.so -> libm.so.5 (where libm.so.5 is an old library) are wrong,
libm.so should point to the newly installed glibc file - and there should be
only one such link (check e.g. /lib and /usr/lib)
You should restart this script from your build directory after you've
fixed all problems!
Btw. the script doesn't work if you're installing GNU libc not as your
primary library!
make[1]: *** [install] Error 1
make[1]: Leaving directory `/sources/glibc/glibc-2.3.6'
make: *** [install] Error 2
root:/sources/glibc#
I hope this will help u to find the problem..
Tell me biniou what should i do next
Thanx>>>>>>>>
Last edited by calling_u3; 02-09-2007 at 11:08 PM.
Hi Biniou
According to LFS-book6.2 when i have patched the "glibc-libidn-2.3.6" with this command "patch -Np1 -i ../glibc-2.3.6-linux_types-1.patch"then i have found this messages that: -
Quote:
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Submitted By: DJ Lucas <dj at linuxfromscratch dot org>
|Date: 2006-04-05
|Initial Package Version: 2.3.6
|Upstream Status: Committed
|Origin: Glibc CVS
|Description: Fixes build errors where linux/types.h is included after sys/kd.h.
|
|diff -Naur glibc-2.3.6-orig/sysdeps/unix/sysv/linux/sys/kd.h glibc-2.3.6/sysdeps/unix/sysv/linux/sys/kd.h
|--- glibc-2.3.6-orig/sysdeps/unix/sysv/linux/sys/kd.h 2001-07-05 23:56:21.000000000 -0500
|+++ glibc-2.3.6/sysdeps/unix/sysv/linux/sys/kd.h 2006-04-04 21:40:50.000000000 -0500
--------------------------
File to patch:
Now then i looked up in directory of glibc-libidn then i have not found any "sys directory and kd.h file".
And when patch with this command
"patch -Np1 -i ../glibc-2.3.6-inotify-1.patch" then its going to successful.
And according to LFS-book i am not patch glibc-2.3.6 in chapter 6.9
Now tell me am i going to wrong or not.
Last edited by calling_u3; 02-09-2007 at 11:18 PM.
(sorry for late reply : weekend away from computer)
This is quite tricky ... Seems your toolchain has not been adjusted properly ... Maybe you could try to remake to "adjusting toolchain" stuff from the book ... Sources on the net suggest to begin from start :s ...
I admit it's near from my limit for understanding (and support providing)
Now i am going to begin from start... LFS system,
so i hope i am not distrubed u for short time till some error comes...
Please read this thread continue..
Thanx biniou..
Have a nice time.
Hello dear
Now this time i am trap in the end of 5th chapter...
when i am run this command for changing Ownership "chown -R root:root $LFS/tools"
then i have faced this error message...
Quote:
chown: changing ownership of `/mnt/lfs/tools/lib/libanl.so.1': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libnss_dns-2.3.6.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libmenu.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libbfd.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/tclConfig.sh': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libpthread.so.0': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libtclstub8.4.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libform.so.5': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libmenu.so.5': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libopcodes.la': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/librt.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libcurses.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libutil.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libresolv.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/crti.o': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libpthread_nonshared.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libanl-2.3.6.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libpthread.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libmudflapth.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libcrypt.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libnsl.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libm-2.3.6.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libnss_compat-2.3.6.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/Scrt1.o': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libncurses.so.5': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libform.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libpthread-2.3.6.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libmudflap.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libform.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libresolv.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libmudflapth.so.0.0.0': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libc-2.3.6.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libnss_nis.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libnss_nisplus.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libcrypt.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libstdc++.a': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libtcl8.4.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libBrokenLocale.so': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib/libpanel.so.5.5': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools/lib': Operation not permitted
chown: changing ownership of `/mnt/lfs/tools': Operation not permitted
lfs:~$
Its too long messages then i think this indicate that it can not going write..
So tell me what can i do next.
Thanx.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.