absolinux

Aller à la page : 1 2 suivante

Sujet : erreur de compilation lors de l'installation de gcc première passe
posté par paulriluma 8 messages     le  16-12-2008  à  19:32citer
Bonjour tout le monde
je me sers de BLF 6.4
ma machine hôte est une Etch
lors de l'installation de gcc
à la fin de make j'ai une erreur m'indiquant que je ne peux continuer à compiler :
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile.
see 'config.log' for more details.

le fichier de log est impressionnant : donc j'hésite à vous le copier ici

pouvez vous me dire ce qu'il faut que je cherche dedans pour préciser ma question et mieux la documenter ?

Merci de toute indication
paul
_______________________

paul
posté par paulriluma 8 messages     le  16-12-2008  à  19:33citer
bon je copie quand même le fichier config log ici :

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp --enable-langages=c --with-gmp=/LFS/tools --with-mpfl=/LFS/tools

## --------- ##
## Platform. ##
## --------- ##

hostname = orange
uname -m = i686
uname -r = 2.6.18.080809
uname -s = Linux
uname -v = #2 SMP Sat Aug 9 14:36:25 CEST 2008

/usr/bin/uname -p = unknown
/bin/uname -X    = unknown

/bin/arch              = i686
/usr/bin/arch -k      = unknown
/usr/convex/getsysinfo = unknown
hostinfo              = unknown
/bin/machine          = unknown
/usr/bin/oslevel      = unknown
/bin/universe          = unknown

PATH: /tools/bin
PATH: /bin
PATH: /usr/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1505: checking build system type
configure:1523: result: i686-pc-linux-gnu
configure:1558: checking host system type
configure:1572: result: i686-pc-linux-gnu
configure:1580: checking target system type
configure:1594: result: i686-pc-linux-gnu
configure:1637: checking for a BSD-compatible install
configure:1692: result: /usr/bin/install -c
configure:1703: checking whether ln works
configure:1725: result: yes
configure:1729: checking whether ln -s works
configure:1733: result: yes
configure:2885: checking for gcc
configure:2911: result: gcc -B/usr/bin/
configure:3155: checking for C compiler version
configure:3158: gcc -B/usr/bin/ --version </dev/null >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3161: $? = 0
configure:3163: gcc -B/usr/bin/ -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:3166: $? = 0
configure:3168: gcc -B/usr/bin/ -V </dev/null >&5
gcc: '-V' must come at the start of the command line
configure:3171: $? = 1
configure:3194: checking for C compiler default output file name
configure:3197: gcc -B/usr/bin/    conftest.c  >&5
configure:3200: $? = 0
configure:3246: result: a.out
configure:3251: checking whether the C compiler works
configure:3257: ./a.out
configure:3260: $? = 0
configure:3277: result: yes
configure:3284: checking whether we are cross compiling
configure:3286: result: no
configure:3289: checking for suffix of executables
configure:3291: gcc -B/usr/bin/ -o conftest    conftest.c  >&5
configure:3294: $? = 0
configure:3319: result:
configure:3325: checking for suffix of object files
configure:3346: gcc -B/usr/bin/ -c  conftest.c >&5
configure:3349: $? = 0
configure:3371: result: o
configure:3375: checking whether we are using the GNU C compiler
configure:3399: gcc -B/usr/bin/ -c  conftest.c >&5
configure:3405: $? = 0
configure:3409: test -z
|| test ! -s conftest.err
configure:3412: $? = 0
configure:3415: test -s conftest.o
configure:3418: $? = 0
configure:3431: result: yes
configure:3437: checking whether gcc -B/usr/bin/ accepts -g
configure:3458: gcc -B/usr/bin/ -c -g  conftest.c >&5
configure:3464: $? = 0
configure:3468: test -z
|| test ! -s conftest.err
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3505: checking for gcc -B/usr/bin/ option to accept ANSI C
configure:3575: gcc -B/usr/bin/  -c -g -O2  conftest.c >&5
configure:3581: $? = 0
configure:3585: test -z
|| test ! -s conftest.err
configure:3588: $? = 0
configure:3591: test -s conftest.o
configure:3594: $? = 0
configure:3612: result: none needed
configure:3630: gcc -B/usr/bin/ -c -g -O2  conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3636: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|  choke me
| #endif
configure:3821: checking for g++
configure:3837: found /usr/bin/g++
configure:3847: result: g++
configure:3863: checking for C++ compiler version
configure:3866: g++ --version </dev/null >&5
g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3869: $? = 0
configure:3871: g++ -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:3874: $? = 0
configure:3876: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:3879: $? = 1
configure:3882: checking whether we are using the GNU C++ compiler
configure:3906: g++ -c  conftest.cc >&5
configure:3912: $? = 0
configure:3916: test -z
|| test ! -s conftest.err
configure:3919: $? = 0
configure:3922: test -s conftest.o
configure:3925: $? = 0
configure:3938: result: yes
configure:3944: checking whether g++ accepts -g
configure:3965: g++ -c -g  conftest.cc >&5
configure:3971: $? = 0
configure:3975: test -z
|| test ! -s conftest.err
configure:3978: $? = 0
configure:3981: test -s conftest.o
configure:3984: $? = 0
configure:3995: result: yes
configure:4037: g++ -c -g -O2  conftest.cc >&5
configure:4043: $? = 0
configure:4047: test -z
|| test ! -s conftest.err
configure:4050: $? = 0
configure:4053: test -s conftest.o
configure:4056: $? = 0
configure:4082: g++ -c -g -O2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:4088: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
| exit (42);
|  ;
|  return 0;
| }
configure:4037: g++ -c -g -O2  conftest.cc >&5
configure:4043: $? = 0
configure:4047: test -z
|| test ! -s conftest.err
configure:4050: $? = 0
configure:4053: test -s conftest.o
configure:4056: $? = 0
configure:4082: g++ -c -g -O2  conftest.cc >&5
configure:4088: $? = 0
configure:4092: test -z
|| test ! -s conftest.err
configure:4095: $? = 0
configure:4098: test -s conftest.o
configure:4101: $? = 0
configure:4188: checking for gnatbind
configure:4215: result: no
configure:4268: checking for gnatmake
configure:4295: result: no
configure:4307: checking whether compiler driver understands Ada
configure:4330: result: no
configure:4339: checking how to compare bootstrapped objects
configure:4364: result: cmp --ignore-initial=16 $$f1 $$f2
configure:4484: checking for correct version of gmp.h
configure:4507: gcc -B/usr/bin/ -c -g -O2 -I/LFS/tools/include  conftest.c >&5
configure:4513: $? = 0
configure:4517: test -z
|| test ! -s conftest.err
configure:4520: $? = 0
configure:4523: test -s conftest.o
configure:4526: $? = 0
configure:4528: result: yes
configure:4542: checking for correct version of mpfr.h
configure:4573: gcc -B/usr/bin/ -o conftest -g -O2 -I/LFS/tools/include    conftest.c  -L/LFS/tools/lib -lmpfr -lgmp >&5
configure:4579: $? = 0
configure:4583: test -z
|| test ! -s conftest.err
configure:4586: $? = 0
configure:4589: test -s conftest
configure:4592: $? = 0
configure:4616: gcc -B/usr/bin/ -o conftest -g -O2 -I/LFS/tools/include    conftest.c  -L/LFS/tools/lib -lmpfr -lgmp >&5
configure:4622: $? = 0
configure:4626: test -z
|| test ! -s conftest.err
configure:4629: $? = 0
configure:4632: test -s conftest
configure:4635: $? = 0
configure:4637: result: yes
configure:5971: checking for bison
configure:5987: found /usr/bin/bison
configure:5997: result: bison -y
configure:6017: checking for bison
configure:6033: found /usr/bin/bison
configure:6043: result: bison
configure:6062: checking for gm4
configure:6091: result: no
configure:6062: checking for gnum4
configure:6091: result: no
configure:6062: checking for m4
configure:6078: found /usr/bin/m4
configure:6088: result: m4
configure:6107: checking for flex
configure:6136: result: no
configure:6107: checking for lex
configure:6136: result: no
configure:6153: checking for flex
configure:6182: result: no
configure:6198: checking for makeinfo
configure:6214: found /usr/bin/makeinfo
configure:6224: result: makeinfo
configure:6257: checking for expect
configure:6286: result: no
configure:6304: checking for runtest
configure:6333: result: no
configure:6443: checking for ar
configure:6459: found /tools/bin/ar
configure:6469: result: ar
configure:6578: checking for as
configure:6594: found /tools/bin/as
configure:6604: result: as
configure:6713: checking for dlltool
configure:6742: result: no
configure:6771: checking for ld
configure:6797: result: /usr/bin/ld
configure:6983: checking for lipo
configure:7012: result: no
configure:7118: checking for nm
configure:7134: found /tools/bin/nm
configure:7144: result: nm
configure:7253: checking for ranlib
configure:7269: found /tools/bin/ranlib
configure:7279: result: ranlib
configure:7383: checking for strip
configure:7399: found /tools/bin/strip
configure:7409: result: strip
configure:7513: checking for windres
configure:7542: result: no
configure:7648: checking for windmc
configure:7677: result: no
configure:7783: checking for objcopy
configure:7799: found /tools/bin/objcopy
configure:7809: result: objcopy
configure:7918: checking for objdump
configure:7934: found /tools/bin/objdump
configure:7944: result: objdump
configure:8092: checking for cc
configure:8108: found /usr/bin/cc
configure:8118: result: cc
configure:8247: checking for c++
configure:8263: found /usr/bin/c++
configure:8273: result: c++
configure:8402: checking for gcc
configure:8418: found /usr/bin/gcc
configure:8428: result: gcc
configure:8552: checking for gcj
configure:8581: result: no
configure:8707: checking for gfortran
configure:8736: result: no
configure:8796: checking for ar
configure:8814: found /tools/i686-pc-linux-gnu/bin/ar
configure:8826: result: /tools/i686-pc-linux-gnu/bin/ar
configure:9019: checking for as
configure:9037: found /tools/i686-pc-linux-gnu/bin/as
configure:9049: result: /tools/i686-pc-linux-gnu/bin/as
configure:9242: checking for dlltool
configure:9275: result: no
configure:9387: checking for dlltool
configure:9416: result: no
configure:9465: checking for ld
configure:9483: found /tools/i686-pc-linux-gnu/bin/ld
configure:9495: result: /tools/i686-pc-linux-gnu/bin/ld
configure:9688: checking for lipo
configure:9721: result: no
configure:9833: checking for lipo
configure:9862: result: no
configure:9911: checking for nm
configure:9929: found /tools/i686-pc-linux-gnu/bin/nm
configure:9941: result: /tools/i686-pc-linux-gnu/bin/nm
configure:10134: checking for objdump
configure:10152: found /tools/i686-pc-linux-gnu/bin/objdump
configure:10164: result: /tools/i686-pc-linux-gnu/bin/objdump
configure:10357: checking for ranlib
configure:10375: found /tools/i686-pc-linux-gnu/bin/ranlib
configure:10387: result: /tools/i686-pc-linux-gnu/bin/ranlib
configure:10580: checking for strip
configure:10598: found /tools/i686-pc-linux-gnu/bin/strip
configure:10610: result: /tools/i686-pc-linux-gnu/bin/strip
configure:10803: checking for windres
configure:10836: result: no
configure:10948: checking for windres
configure:10977: result: no
configure:11026: checking for windmc
configure:11059: result: no
configure:11171: checking for windmc
configure:11200: result: no
configure:11227: checking where to find the target ar
configure:11255: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11269: checking where to find the target as
configure:11297: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11311: checking where to find the target cc
configure:11334: result: just compiled
configure:11353: checking where to find the target c++
configure:11379: result: just compiled
configure:11398: checking where to find the target c++ for libstdc++
configure:11424: result: just compiled
configure:11443: checking where to find the target dlltool
configure:11476: result: host tool
configure:11485: checking where to find the target gcc
configure:11508: result: just compiled
configure:11527: checking where to find the target gcj
configure:11553: result: just compiled
configure:11572: checking where to find the target gfortran
configure:11598: result: just compiled
configure:11617: checking where to find the target ld
configure:11645: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11659: checking where to find the target lipo
configure:11681: result: host tool
configure:11690: checking where to find the target nm
configure:11718: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11732: checking where to find the target objdump
configure:11760: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11774: checking where to find the target ranlib
configure:11802: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11816: checking where to find the target strip
configure:11844: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11858: checking where to find the target windres
configure:11891: result: host tool
configure:11900: checking where to find the target windmc
configure:11933: result: host tool
configure:11970: checking whether to enable maintainer-specific portions of Makefiles
configure:11979: result: no
configure:12012: checking whether -fkeep-inline-functions is supported
configure:12036: gcc -B/usr/bin/ -c -g -O2 -fkeep-inline-functions  conftest.c >&5
configure:12042: $? = 0
configure:12046: test -z
|| test ! -s conftest.err
configure:12049: $? = 0
configure:12052: test -s conftest.o
configure:12055: $? = 0
configure:12057: result: yes
configure:12274: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on orange

config.status:762: creating Makefile

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='gcc -B/usr/bin/'
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_AR_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/ar
ac_cv_path_AS_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/as
ac_cv_path_LD_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/ld
ac_cv_path_NM_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/nm
ac_cv_path_OBJDUMP_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/objdump
ac_cv_path_RANLIB_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/ranlib
ac_cv_path_STRIP_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/strip
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_BISON=bison
ac_cv_prog_CC_FOR_TARGET=cc
ac_cv_prog_CXX_FOR_TARGET=c++
ac_cv_prog_GCC_FOR_TARGET=gcc
ac_cv_prog_LD=/usr/bin/ld
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_STRIP=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC='gcc -B/usr/bin/'
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_GNATBIND=no
ac_cv_prog_ac_ct_GNATMAKE=no
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/tools/libexec/gcc/i686-pc-linux-gnu/4.3.2:/tools/libexec/gcc/i686-pc-linux-gnu:/usr/lib/gcc/i686-pc-linux-gnu/4.3.2:/usr/lib/gcc/i686-pc-linux-gnu:/tools/i686-pc-linux-gnu/bin/i686-pc-linux-gnu/4.3.2:/tools/i686-pc-linux-gnu/bin:
gcc_cv_tool_prefix=/tools

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/as'
BISON='bison'
CC='gcc -B/usr/bin/'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" '
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='$(DLLTOOL)'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
FLAGS_FOR_TARGET=' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
FLEX='/LFS/gcc-build/gcc-4.3.2/missing flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
GNATBIND='no'
GNATMAKE='no'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/usr/bin/ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/ld'
LEX='/LFS/gcc-build/gcc-4.3.2/missing flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='$(LIPO)'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/nm'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/objdump'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/ranlib'
RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp --enable-langages=c --with-gmp=/LFS/tools --with-mpfl=/LFS/tools'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$(WINDMC)'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$(WINDRES)'
YACC='bison -y'
ac_ct_CC='gcc -B/usr/bin/'
ac_ct_CXX='g++'
ac_ct_GNATBIND='no'
ac_ct_GNATMAKE='no'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_configargs='--cache-file=../config.cache '--prefix=/tools' '--with-local-prefix=/tools' '--disable-nls' '--disable-shared' '--disable-libssp' '--enable-langages=c' '--with-gmp=/LFS/tools' '--with-mpfl=/LFS/tools' '--enable-languages=c,c++,fortran,java,objc' --program-transform-name='s,y,y,''
build_configdirs=' libiberty fixincludes'
build_cpu='i686'
build_libsubdir='build-i686-pc-linux-gnu'
build_noncanonical='i686-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-i686-pc-linux-gnu'
build_tooldir='${exec_prefix}/i686-pc-linux-gnu'
build_vendor='pc'
config_shell='/bin/sh'
configdirs=' intl libiberty zlib libcpp libdecnumber fixincludes gcc'
datadir='${prefix}/share'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc'
exec_prefix='${prefix}'
gmpinc='-I/LFS/tools/include '
gmplibs='-L/LFS/tools/lib -lmpfr -lgmp'
host='i686-pc-linux-gnu'
host_alias=''
host_configargs='--cache-file=./config.cache  '--prefix=/tools' '--with-local-prefix=/tools' '--disable-nls' '--disable-shared' '--disable-libssp' '--enable-langages=c' '--with-gmp=/LFS/tools' '--with-mpfl=/LFS/tools' '--enable-languages=c,c++,fortran,java,objc' --program-transform-name='s,y,y,''
host_cpu='i686'
host_noncanonical='i686-pc-linux-gnu'
host_os='linux-gnu'
host_subdir='host-i686-pc-linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/tools'
program_transform_name='s,y,y,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g -fkeep-inline-functions'
stage1_checking='--enable-checking=yes,types'
stage1_languages='c'
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_configargs='--cache-file=./config.cache --enable-multilib '--prefix=/tools' '--with-local-prefix=/tools' '--disable-nls' '--disable-shared' '--disable-libssp' '--enable-langages=c' '--with-gmp=/LFS/tools' '--with-mpfl=/LFS/tools' '--enable-languages=c,c++,fortran,java,objc' --program-transform-name='s,y,y,''
target_cpu='i686'
target_noncanonical='i686-pc-linux-gnu'
target_os='linux-gnu'
target_subdir='i686-pc-linux-gnu'
target_vendor='pc'
tooldir='${exec_prefix}/i686-pc-linux-gnu'

## ------------- ##
## Output files. ##
## ------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='./config/mh-x86omitfp'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='./config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0


_______________________

paul
posté par boloco 85 messages     le  16-12-2008  à  20:08citer
salut paulriluma,

la première ligne de ton config.log en dit long:
voici ta ligne de commande pour configurer gcc:

./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp --enable-langages=c --with-gmp=/LFS/tools --with-mpfl=/LFS/tools

Suis-tu le livre LFS-6.4 ?
posté par paulriluma 8 messages     le  16-12-2008  à  20:14citer
bonjour boloco
oui j'ai suivi les instructions donné par le livre
dans la ligne d'option les options concernant gmp et mpfl m'ont été demandé par les précédentes tentatives donc je les ai rajoutées
peux tu m'en dire plus ?
je n'ai pas bien compris ce qui cloche !
_______________________

paul
posté par boloco 85 messages     le  16-12-2008  à  20:18citer
paulriluma,

Si ces options ne sont pas indiquées par le livre, il ne faut pas les rajouter. Suis le livre, il est bon ;)
posté par Skippythekangoo 102 messages     le  16-12-2008  à  20:19citer
Hello paulriluma,

Et bienvenue ici.

dans la ligne suivante

./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp --enable-langages=c --with-gmp=/LFS/tools --with-mpfl=/LFS/tools


il me semble que c'est $LFS/tools et non /LFS/tools.

Sinon, je ne pourrais t'en dire plus.
_______________________

º¿º Skippy the Kangoo º¿º
posté par paulriluma 8 messages     le  16-12-2008  à  20:37citer
bon je vais essayer avec cette notation
mais il se trouve que $LFS=/LFS
donc... j'ai pensé que ça passerait
_______________________

paul
posté par paulriluma 8 messages     le  16-12-2008  à  20:39citer
Skippythekangoo a dit :
Hello paulriluma,

Et bienvenue ici.

dans la ligne suivante

./configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp --enable-langages=c --with-gmp=/LFS/tools --with-mpfl=/LFS/tools


il me semble que c'est $LFS/tools et non /LFS/tools.

Sinon, je ne pourrais t'en dire plus.

oui mais il se trouve que dans mon montage $LFS=/LFS
donc j'ai pensé que ça passerait...
je vais réessayer avec ça
merci
_______________________

paul
posté par paulriluma 8 messages     le  16-12-2008  à  22:19citer
rebonsoir
merci de vos indications
mais après plusieurs tentatives...
ça ne vient pas de là
donc...
_______________________

paul
posté par boloco 85 messages     le  16-12-2008  à  22:32citer
re-bonjour (ou bonsoir), paulriluma

Il semble, d'après tes posts, que tu ne suis pas les instructions du livre lfs. Si je me trompe, corrige-moi, s'il te plaît.

Tu peux aussi nous joindre sur irc, à cette adresse: irc://irc.linuxfromscratch.org/#lfs-fr

Bonne soirée


Aller à la page : 1 2 suivante