#1 Le 14/04/2007, à 12:56
- fab56
[LFS] Binutils ~ error: `CFLAGS' has changed since the previous run
Bonjour,
je compile une lfs 6.2 et je suis rendu à la section 6.11 - Compilation de binutils :
lorsque que je fais make
Configuring in libiberty
configure: loading cache ./config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure: former value: -g -O2
configure: current value: -g -O2
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
make: *** [configure-libiberty] Error 1
selon make, -g -O2 et -g -O2 sont différents, c'est absurde.
J'avais eu le même problème avec glibc, car apparemment il y avait un espace de trop dans l'une ou l'autre des deux valeurs, j'ai corrigé en remplacant dans Makefile.in
-O2 $(CFLAGS)
par
$(strip -O2 $(CFLAGS))
mais même en faisant pareil pour binutils, l'erreur persiste.
Merci d'avance.
Hors ligne
#2 Le 15/04/2007, à 21:14
- gene69
Re : [LFS] Binutils ~ error: `CFLAGS' has changed since the previous run
ya pas un 0 déguisé en O?
bref.
qu'est ce qui se passe avec la commande distclean?
Dernière modification par gene69 (Le 15/04/2007, à 21:15)
Quand le berger est lâche, le loup chie de la laine.
A (draft) guide to UFO Alien-Invasion
Hors ligne
#3 Le 15/04/2007, à 21:49
- fab56
Re : [LFS] Binutils ~ error: `CFLAGS' has changed since the previous run
make distclean donne ceci
root:/sources/binutils-build# make distclean
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
rm -f Makefile config.status config.cache mh-frag mt-frag
rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
if [ "i686-pc-linux-gnu" != "." ]; then \
rm -rf i686-pc-linux-gnu; \
else true; fi
rm -rf build-i686-pc-linux-gnu
if [ "." != "." ]; then \
rm -rf .; \
else true; fi
rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
rm -f texinfo/doc/Makefile texinfo/po/POTFILES
rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
make: [local-distclean] Error 1 (ignored)
rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
make: [local-distclean] Error 1 (ignored)
Hors ligne