Michael Havens wrote:
Good afternoon. I am on section 5.33 .
We really don't relate to section numbers. Chapter 5, util-linux would be a lot better reference.
Here is what I enter into the computer: #scp [email protected]:/home/bmike1/Documents/LFS/7.8/build/5.33build.txt $LFS/sources;exit #chmod 777 $LFS/sources/5.33build.txt; chown lfs $LFS/sources/5.33build.txt;su - lfs #cd $sources;./5.33build.txt tar xf util-linux-2.27.tar.xz;cd util-linux-2.27 ./configure --prefix=/tools \ --without-python \ --disable-makeinstall-chown \ --without-systemdsystemunitdir \ PKG_CONFIG="" ( make 2>&1 | tee ../5.33.make.log && exit $PIPESTATUS ) && echo GOOD #make check ( make install 2>&1 | tee ../5.33.makeinstall.log && exit $PIPESTATUS ) && echo GOOD #rm -rf util-linux-2.27 The lines with the hash mark are entered individually (except for make check. I do not enter that at all). The error I am getting in the makelog is: collect2: error: ld returned 1 exit status make[2]: *** [mount] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/util-linux-2.27' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/util-linux-2.27' make: *** [all] Error 2
This is totally meaningless. All it says is that something failed when linking.
the complete makelog is found: http://pastebin.com/GFtFP9Ng
Well the lines like /tools/lib/libpthread.so.0: undefined reference to `__getrlimit@GLIBC_PRIVATE' tell me that something is wrong with your glibc install. It is missing a library. $ cd /usr/lib $ grep __getrlimit -r * Binary file libc.a matches Binary file libpthread.a matches
The makeinstall log error is similar: collect2: error: ld returned 1 exit status make[2]: *** [mount] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/util-linux-2.27' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/util-linux-2.27' make: *** [install] Error 2
Well if the make failed, the make install will fail too. -- Bruce -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
