absolinux

Aller à la page : précédente 1 2 

Sujet : erreur a la compilation de Binutils-2.22 - Passe 2
posté par Myou 99 messages     le  19-02-2013  à  12:41citer
Dans binutils pass2.

En fait ce que demande boloco c'est d'avoir l'intégralité de la sortie de la commande et pas seulement les qqs lignes d'erreurs.

As tu également gardé le log pour la construction de binutils pass 1 ?

Denis
posté par druzy 14 messages     le  20-02-2013  à  00:04citer
Je vais recommencer et je mettrais l'intégralité de la sortie de la construction.
Ou est le log de la construction de binutils pass 1 ?
posté par druzy 14 messages     le  20-02-2013  à  02:37citer
voici la sortie du configure de binutils passe 1
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ ../binutils-2.22/configure --prefix=/tools --with-sysroot=$LFS --with-lib-path=/tools/lib --target=$LFS_TGT --disable-nls --disable-werror
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-lfs-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
checking for default BUILD_CONFIG...
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for x86_64-lfs-linux-gnu-cc... no
checking for x86_64-lfs-linux-gnu-gcc... no
checking for x86_64-lfs-linux-gnu-c++... no
checking for x86_64-lfs-linux-gnu-g++... no
checking for x86_64-lfs-linux-gnu-cxx... no
checking for x86_64-lfs-linux-gnu-gxx... no
checking for x86_64-lfs-linux-gnu-gcc... no
checking for x86_64-lfs-linux-gnu-gcj... no
checking for x86_64-lfs-linux-gnu-gfortran... no
checking for x86_64-lfs-linux-gnu-gccgo... no
checking for x86_64-lfs-linux-gnu-ar... no
checking for x86_64-lfs-linux-gnu-as... no
checking for x86_64-lfs-linux-gnu-dlltool... no
checking for x86_64-lfs-linux-gnu-ld... no
checking for x86_64-lfs-linux-gnu-lipo... no
checking for x86_64-lfs-linux-gnu-nm... no
checking for x86_64-lfs-linux-gnu-objdump... no
checking for x86_64-lfs-linux-gnu-ranlib... no
checking for x86_64-lfs-linux-gnu-strip... no
checking for x86_64-lfs-linux-gnu-windres... no
checking for x86_64-lfs-linux-gnu-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
posté par druzy 14 messages     le  20-02-2013  à  03:42citer
et voici la sortie du ./configure de la passe 2 :
lfs@pc-jo:/mnt/lfs/sources/binutils-2.22$ mkdir -v ../binutils-build
mkdir: created directory `../binutils-build'
lfs@pc-jo:/mnt/lfs/sources/binutils-2.22$ cd ../binutils-build
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ CC=$LFS_TGT-gcc
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ AR=$LFS_TGT-ar
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ RANLIB=$LFS_TGT-ranlib
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ echo $LFS_TGT
x86_64-lfs-linux-gnu
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ ../binutils-2.22/configure --prefix=/tools --disable-nls --with-lib-path=/tools/lib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gnatbind... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
checking for default BUILD_CONFIG...
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... makeinfo
checking for expect... no
checking for runtest... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gcj... no
checking for gfortran... no
checking for gccgo... no
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for objdump... objdump
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... host tool
checking where to find the target c++... host tool
checking where to find the target c++ for libstdc++... host tool
checking where to find the target dlltool... just compiled
checking where to find the target gcc... host tool
checking where to find the target gcj... host tool
checking where to find the target gfortran... host tool
checking where to find the target gccgo... host tool
checking where to find the target ld... just compiled
checking where to find the target lipo... host tool
checking where to find the target nm... just compiled
checking where to find the target objdump... just compiled
checking where to find the target ranlib... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
posté par druzy 14 messages     le  20-02-2013  à  03:52citer
et enfin la sortie de cette fameuse erreur :
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ make -C ld LIB_PATH=/usr/lib:/lib
make: Entering directory `/mnt/lfs/sources/binutils-build/ld'
(echo "/* This file is automatically generated.  DO NOT EDIT! */";\
for f in `echo " " eelf_x86_64.o eelf32_x86_64.o eelf_i386.o ei386linux.o eelf_l1om.o eelf_k1om.o "" \
| sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
    echo "extern ld_emulation_xfer_type ld_${f}_emulation;"; \
done;\
echo "";\
echo "#define EMULATION_LIST \\";\
for f in `echo " " eelf_x86_64.o eelf32_x86_64.o eelf_i386.o ei386linux.o eelf_l1om.o eelf_k1om.o "" \
| sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \
    echo "  &ld_${f}_emulation, \\"; \
done;\
echo "  0") >ldemul-tmp.h
mv ldemul-tmp.h ldemul-list.h
make  all-recursive
make[1]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
Making all in po
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld/po'
make[2]: Entering directory `/mnt/lfs/sources/binutils-build/ld'
/bin/sh ./libtool  --tag=CC  --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.22/ld  -I. -I../../binutils-2.22/ld -I../bfd -I../../binutils-2.22/ld/../bfd -I../../binutils-2.22/ld/../include  -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/tools/share/locale\""  -g -O2 -g -O2 -MT libldtestplug_la-testplug.lo -MD -MP -MF .deps/libldtestplug_la-testplug.Tpo -c -o libldtestplug_la-testplug.lo `test -f 'testplug.c' || echo '../../binutils-2.22/ld/'`testplug.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.22/ld -I. -I../../binutils-2.22/ld -I../bfd -I../../binutils-2.22/ld/../bfd -I../../binutils-2.22/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR=\"/tools/share/locale\" -g -O2 -g -O2 -MT libldtestplug_la-testplug.lo -MD -MP -MF .deps/libldtestplug_la-testplug.Tpo -c ../../binutils-2.22/ld/testplug.c  -fPIC -DPIC -o .libs/libldtestplug_la-testplug.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.22/ld -I. -I../../binutils-2.22/ld -I../bfd -I../../binutils-2.22/ld/../bfd -I../../binutils-2.22/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR=\"/tools/share/locale\" -g -O2 -g -O2 -MT libldtestplug_la-testplug.lo -MD -MP -MF .deps/libldtestplug_la-testplug.Tpo -c ../../binutils-2.22/ld/testplug.c -o libldtestplug_la-testplug.o >/dev/null 2>&1
mv -f .deps/libldtestplug_la-testplug.Tpo .deps/libldtestplug_la-testplug.Plo
/bin/sh ./libtool --tag=CC  --mode=link gcc -g -O2 -g -O2 -no-undefined -rpath /nowhere  -o libldtestplug.la  libldtestplug_la-testplug.lo  -ldl
libtool: link: gcc -shared  .libs/libldtestplug_la-testplug.o  -ldl    -Wl,-soname -Wl,libldtestplug.so.0 -o .libs/libldtestplug.so.0.0.0
/tools/bin/ld: this linker was not configured to use sysroots
collect2: ld returned 1 exit status
make[2]: *** [libldtestplug.la] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
make: *** [all] Error 2
make: Leaving directory `/mnt/lfs/sources/binutils-build/ld'
posté par boloco 85 messages     le  20-02-2013  à  21:12citer
druzy a dit :
et voici la sortie du ./configure de la passe 2 :
lfs@pc-jo:/mnt/lfs/sources/binutils-2.22$ mkdir -v ../binutils-build
mkdir: created directory `../binutils-build'
lfs@pc-jo:/mnt/lfs/sources/binutils-2.22$ cd ../binutils-build
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ CC=$LFS_TGT-gcc
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ AR=$LFS_TGT-ar
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ RANLIB=$LFS_TGT-ranlib
lfs@pc-jo:/mnt/lfs/sources/binutils-build$ echo $LFS_TGT
x86_64-lfs-linux-gnu



Ces définitions de variables: CC=$LFS_TGT-gcc, AR=$LFS_TGT-ar, etc... doivent être placées sur la même ligne que ../binutils-2.22/configure...
C'est la raison des antislashs en fin de ligne de chaque définition: le tout ne doit former qu'une seule et même ligne. Du fait que tu as séparé la commande en plusieurs lignes, configure ignore les définitions et de ce fait ce sont les définitions de ton hôte qui sont utilisées.
posté par druzy 14 messages     le  21-02-2013  à  02:08citer
c'étais ça merci.
Je peut être un boulet parfois.

Encore merci à tous pour votre aide.


Aller à la page : précédente 1 2 



répondre

http://med4treat.top