[Newbie, LFS-6.5]: Problems with binutils-Pass2 compilation..

Simon Geard delgarde at ihug.co.nz
Thu Dec 17 22:57:35 PST 2009

On Thu, 2009-12-17 at 15:02 +0530, Abhinav Chaturvedi wrote:
>     As far as I remember, I have stuck to the text. However, I did
> create a separate build folder for Pass 2 called binutils-build2. I
> assumed that the build folder created in Pass 1 needed to be separate
> from that in Pass 2. 

If you're leaving build and source directories around once you've
installed a package, then you've not stuck to the text. You've missed
the following warning under "5.3 General Compilation Instructions".

  After installing each package, delete its source and build
  directories, unless specifically instructed otherwise. Deleting
  the sources prevents mis-configuration when the same package is
  reinstalled later. 

This may or may not be the cause of your problems, but those warnings
are there for a reason. You have the right idea by creating separate
build folders, but it's not necessarily enough - there's no guarantee
that the source folder is unaffected by the first build, and so removing
and re-extracting the source avoids the problem.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20091218/722e8654/attachment.sig>

More information about the lfs-support mailing list