LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Trouble Binutils-2.23.2 - Pass 2 (https://www.linuxquestions.org/questions/linux-from-scratch-13/trouble-binutils-2-23-2-pass-2-a-4175489391/)

sonik3230 12-28-2013 10:55 AM

Trouble Binutils-2.23.2 - Pass 2
 
make
make[1]: Entering directory `/mnt/lfs/sources/binutils-build'
Configuring in ./intl
configure: loading cache ./config.cache
configure: error: `target_alias' has changed since the previous run:
configure: former value: `i686-lfs-linux-gnu'
configure: current value: `i686-pc-linux-gnu'
configure: error: `CC' has changed since the previous run:
configure: former value: `gcc'
configure: current value: `i686-lfs-linux-gnu-gcc'
configure: error: in `/mnt/lfs/sources/binutils-build/intl':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
make[1]: *** [configure-intl] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build'
make: *** [all] Error 2

gengisdave 12-28-2013 03:11 PM

it seems you are recompiling binutils without cleaning from pass 1 build. 'make distclean' or cleaning config.cache should work

stoat 12-28-2013 04:03 PM

Consider Binutils-2.23.2 - Pass 1 and Binutils-2.23.2 - Pass 2 as separate packages with respect to the General Compilation Instructions in section 5.3. For each package the last step is to "delete the extracted source directory and any <package>-build directories that were created in the build process unless instructed otherwise".


All times are GMT -5. The time now is 03:41 PM.