On Mon, 30 Jan 2017 at 20:26:53 +0000 Ken Moffat wrote: > This is definitely a harmful error. > > These messages imply that you have run a plain 'make' before this. > In the whole book you need to remove the extracted sources after the > install - unless it says otherwise (in a few places in chapter 6 I > think we say that tests can only be run later). > > So, did you remove the bzip2 directory after section 5.17 ? > > Or, did you accidentally run 'make', realise your mistake, and then > try to run the correect command ? If so, 'make clean' will probably > fix it. > > That relocation error message in bzip2 is uncommon (google found one > at linuxquestions, without any clear explanation). > >> /usr/bin/ld: final link failed: Nonrepresentable section on output >> collect2: error: ld returned 1 exit status >> make: *** [Makefile-libbz2_so:38: all] Error 1 > > And in general, whenever a command ends with an Error there *is* a > problem - except for some runs of 'make check'.
Thanks Ken, i've solved this with your suggest. I forget to remove dir after installation in chapter 5 and forced to run 'make' in chapter 6. Now i'm on the end of chapter 6 -- 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
