View previous topic :: View next topic |
Author |
Message |
Will11 Tux's lil' helper

Joined: 08 May 2005 Posts: 90 Location: Belgium
|
Posted: Sat Sep 03, 2005 3:38 pm Post subject: [LFS] compilation de binutils (résolu) |
|
|
Je m'étais dis je vais essayé de suivre le guide LFS, mais à peine la première compile à faire que ça foire.
Pourtant c'est binutils et quand emerge le fait ça pose pas de problème.
Voici ce que me donne le make
Code: | Configuring in libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-libiberty] Erreur 1 |
Le config.log qui ne contient pas d'erreur
Code: | This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:1779: checking for gcc
configure:1892: checking whether the C compiler (gcc ) works
configure:1908: gcc -o conftest conftest.c 1>&5
configure:1934: checking whether the C compiler (gcc ) is a cross-compiler
configure:1939: checking whether we are using GNU C
configure:1948: gcc -E conftest.c
configure:1967: checking whether gcc accepts -g
configure:2034: checking for gnatbind
configure:2099: checking whether compiler driver understands Ada
configure:2132: checking how to compare bootstrapped objects
configure:2230: checking for correct version of gmp.h
configure:2243: gcc -c -g -O2 conftest.c 1>&5
configure:2256: checking for MPFR
configure:2269: gcc -o conftest -g -O2 conftest.c -lmpfr -lgmp 1>&5
configure:2746: checking for bison
configure:2781: checking for bison
configure:2816: checking for gm4
configure:2816: checking for gnum4
configure:2816: checking for m4
configure:2851: checking for flex
configure:2886: checking for flex
configure:2921: checking for makeinfo
configure:3555: checking for i686-pc-linux-gnu-ar
configure:3627: checking for i686-pc-linux-gnu-as
configure:3699: checking for i686-pc-linux-gnu-dlltool
configure:3732: checking for dlltool
configure:3771: checking for i686-pc-linux-gnu-ld
configure:3843: checking for i686-pc-linux-gnu-nm
configure:3915: checking for i686-pc-linux-gnu-ranlib
configure:3987: checking for i686-pc-linux-gnu-windres
configure:4020: checking for windres
configure:4059: checking for i686-pc-linux-gnu-objcopy
configure:4131: checking for i686-pc-linux-gnu-objdump
configure:4210: checking for i686-pc-linux-gnu-ar
configure:4282: checking for i686-pc-linux-gnu-as
configure:4354: checking for i686-pc-linux-gnu-dlltool
configure:4387: checking for dlltool
configure:4426: checking for i686-pc-linux-gnu-ld
configure:4498: checking for i686-pc-linux-gnu-nm
configure:4570: checking for i686-pc-linux-gnu-ranlib
configure:4642: checking for i686-pc-linux-gnu-windres
configure:4675: checking for windres
configure:4760: checking whether to enable maintainer-specific portions of Makefiles
configure:4807: checking if symbolic links between directories work |
Last edited by Will11 on Sat Sep 03, 2005 8:31 pm; edited 1 time in total |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat Sep 03, 2005 5:47 pm Post subject: |
|
|
t'as quoi dans le make.conf ? _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
widan Veteran


Joined: 07 Jun 2005 Posts: 1512 Location: Paris, France
|
Posted: Sat Sep 03, 2005 5:48 pm Post subject: Re: [LFS] compilation de binutils |
|
|
Will11 wrote: | Voici ce que me donne le make
Code: | Configuring in libiberty
...
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make: *** [configure-libiberty] Erreur 1 |
Le config.log qui ne contient pas d'erreur |
Tu es sûr que tu regardes le bon config.log ? Pour binutils je crois qu'il y a un script configure par sous-répertoire (et donc autant de config.log). Celui qui t'intéresse est celui dans le sous-répertoire "libiberty" normalement d'après l'erreur que tu as. |
|
Back to top |
|
 |
Will11 Tux's lil' helper

Joined: 08 May 2005 Posts: 90 Location: Belgium
|
Posted: Sat Sep 03, 2005 8:31 pm Post subject: |
|
|
Ba en fait je viens de voir que c'est un problème de droit sur la partition LFS. Ca me paraît bizarre car les chown et chmod passent sans problèmes. |
|
Back to top |
|
 |
kernelsensei Bodhisattva


Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sat Sep 03, 2005 9:53 pm Post subject: |
|
|
ah tu devais avoir un noexec quelque part non ? (contenu dans l'option users aussi .. entre autres) _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
 |
|