LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-17-2010, 05:51 AM   #1
jackplughd
LQ Newbie
 
Registered: Jan 2010
Posts: 22

Rep: Reputation: 0
Unhappy "make" error for gcc in LFS 6.5


Hi all,

I have errors when I run make on gcc-4.4.1. I have looked in config.log, and although I can see numbers of errors I am not able to identify what is wrong.

Any help appreciated. below is config.log (sorry it is so long).

TIA

jackplug

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

$ ../gcc-4.4.1/configure --target=i686-lfs-linux-gnu --prefix=/tools --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --enable-languages=c

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

hostname = phoenix
uname -m = i686
uname -r = 2.6.24-27-generic
uname -s = Linux
uname -v = #1 SMP Wed Jan 27 23:54:28 UTC 2010

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

/bin/arch = unknown
/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:1563: checking build system type
configure:1581: result: i686-pc-linux-gnu
configure:1616: checking host system type
configure:1630: result: i686-pc-linux-gnu
configure:1638: checking target system type
configure:1652: result: i686-lfs-linux-gnu
configure:1696: checking for a BSD-compatible install
configure:1762: result: /usr/bin/install -c
configure:1773: checking whether ln works
configure:1795: result: yes
configure:1799: checking whether ln -s works
configure:1803: result: yes
configure:3002: checking for gcc
configure:3018: found /usr/bin/gcc
configure:3028: result: gcc
configure:3274: checking for C compiler version
configure:3277: gcc --version </dev/null >&5
gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Copyright (C) 2007 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:3280: $? = 0
configure:3282: gcc -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 --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
configure:3285: $? = 0
configure:3287: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3290: $? = 1
configure:3313: checking for C compiler default output file name
configure:3316: gcc conftest.c >&5
configure:3319: $? = 0
configure:3367: result: a.out
configure:3372: checking whether the C compiler works
configure:3378: ./a.out
configure:3381: $? = 0
configure:3400: result: yes
configure:3407: checking whether we are cross compiling
configure:3409: result: no
configure:3412: checking for suffix of executables
configure:3414: gcc -o conftest conftest.c >&5
configure:3417: $? = 0
configure:3444: result:
configure:3450: checking for suffix of object files
configure:3471: gcc -c conftest.c >&5
configure:3474: $? = 0
configure:3498: result: o
configure:3502: checking whether we are using the GNU C compiler
configure:3526: gcc -c conftest.c >&5
configure:3532: $? = 0
configure:3536: test -z
|| test ! -s conftest.err
configure:3539: $? = 0
configure:3542: test -s conftest.o
configure:3545: $? = 0
configure:3558: result: yes
configure:3564: checking whether gcc accepts -g
configure:3585: gcc -c -g conftest.c >&5
configure:3591: $? = 0
configure:3595: test -z
|| test ! -s conftest.err
configure:3598: $? = 0
configure:3601: test -s conftest.o
configure:3604: $? = 0
configure:3615: result: yes
configure:3632: checking for gcc option to accept ANSI C
configure:3702: gcc -c -g -O2 conftest.c >&5
configure:3708: $? = 0
configure:3712: test -z
|| test ! -s conftest.err
configure:3715: $? = 0
configure:3718: test -s conftest.o
configure:3721: $? = 0
configure:3739: result: none needed
configure:3757: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3763: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3948: checking for g++
configure:3964: found /usr/bin/g++
configure:3974: result: g++
configure:3990: checking for C++ compiler version
configure:3993: g++ --version </dev/null >&5
g++ (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
Copyright (C) 2007 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:3996: $? = 0
configure:3998: 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 --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
configure:4001: $? = 0
configure:4003: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:4006: $? = 1
configure:4009: checking whether we are using the GNU C++ compiler
configure:4033: g++ -c conftest.cc >&5
configure:4039: $? = 0
configure:4043: test -z
|| test ! -s conftest.err
configure:4046: $? = 0
configure:4049: test -s conftest.o
configure:4052: $? = 0
configure:4065: result: yes
configure:4071: checking whether g++ accepts -g
configure:4092: g++ -c -g conftest.cc >&5
configure:4098: $? = 0
configure:4102: test -z
|| test ! -s conftest.err
configure:4105: $? = 0
configure:4108: test -s conftest.o
configure:4111: $? = 0
configure:4122: result: yes
configure:4164: g++ -c -g -O2 conftest.cc >&5
configure:4170: $? = 0
configure:4174: test -z
|| test ! -s conftest.err
configure:4177: $? = 0
configure:4180: test -s conftest.o
configure:4183: $? = 0
configure:4209: 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:4215: $? = 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:4164: g++ -c -g -O2 conftest.cc >&5
conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
configure:4170: $? = 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. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4164: g++ -c -g -O2 conftest.cc >&5
conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
In file included from conftest.cc:10:
/usr/include/stdlib.h:531: error: declaration of 'void std::exit(int) throw ()' throws different exceptions
conftest.cc:9: error: from previous declaration 'void std::exit(int)'
configure:4170: $? = 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. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4164: g++ -c -g -O2 conftest.cc >&5
configure:4170: $? = 0
configure:4174: test -z
|| test ! -s conftest.err
configure:4177: $? = 0
configure:4180: test -s conftest.o
configure:4183: $? = 0
configure:4209: g++ -c -g -O2 conftest.cc >&5
configure:4215: $? = 0
configure:4219: test -z
|| test ! -s conftest.err
configure:4222: $? = 0
configure:4225: test -s conftest.o
configure:4228: $? = 0
configure:4315: checking for gnatbind
configure:4342: result: no
configure:4395: checking for gnatmake
configure:4422: result: no
configure:4434: checking whether compiler driver understands Ada
configure:4457: result: no
configure:4466: checking how to compare bootstrapped objects
configure:4491: result: cmp --ignore-initial=16 $$f1 $$f2
configure:4612: checking for correct version of gmp.h
configure:4635: gcc -c -g -O2 conftest.c >&5
configure:4641: $? = 0
configure:4645: test -z
|| test ! -s conftest.err
configure:4648: $? = 0
configure:4651: test -s conftest.o
configure:4654: $? = 0
configure:4656: result: yes
configure:4670: checking for correct version of mpfr.h
configure:4701: gcc -o conftest -g -O2 conftest.c -lmpfr -lgmp >&5
configure:4707: $? = 0
configure:4711: test -z
|| test ! -s conftest.err
configure:4714: $? = 0
configure:4717: test -s conftest
configure:4720: $? = 0
configure:4744: gcc -o conftest -g -O2 conftest.c -lmpfr -lgmp >&5
configure:4750: $? = 0
configure:4754: test -z
|| test ! -s conftest.err
configure:4757: $? = 0
configure:4760: test -s conftest
configure:4763: $? = 0
configure:4765: result: yes
configure:4890: checking for version 0.10 of PPL
configure:4912: gcc -c -g -O2 -I/include conftest.c >&5
conftest.c:12:19: error: ppl_c.h: No such file or directory
conftest.c: In function 'main':
conftest.c:18: error: 'choke' undeclared (first use in this function)
conftest.c:18: error: (Each undeclared identifier is reported only once
conftest.c:18: error: for each function it appears in.)
conftest.c:18: error: expected ';' before 'me'
configure:4918: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| /* end confdefs.h. */
| #include "ppl_c.h"
| int
| main ()
| {
|
| #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR != 10
| choke me
| #endif
|
| ;
| return 0;
| }
configure:4939: result: no
configure:5009: checking for correct version of CLooG
configure:5031: gcc -c -g -O2 -I/include -DCLOOG_PPL_BACKEND conftest.c >&5
conftest.c:12:25: error: cloog/cloog.h: No such file or directory
conftest.c: In function 'main':
conftest.c:18: error: 'choke' undeclared (first use in this function)
conftest.c:18: error: (Each undeclared identifier is reported only once
conftest.c:18: error: for each function it appears in.)
conftest.c:18: error: expected ';' before 'me'
configure:5037: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| extern "C" void exit (int) throw ();
| #endif
| /* end confdefs.h. */
| #include "cloog/cloog.h"
| int
| main ()
| {
|
| #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
| choke me
| #endif
|
| ;
| return 0;
| }
configure:5058: result: no
configure:6402: checking for bison
configure:6418: found /usr/bin/bison
configure:6428: result: bison -y
configure:6448: checking for bison
configure:6464: found /usr/bin/bison
configure:6474: result: bison
configure:6493: checking for gm4
configure:6522: result: no
configure:6493: checking for gnum4
configure:6522: result: no
configure:6493: checking for m4
configure:6509: found /usr/bin/m4
configure:6519: result: m4
configure:6538: checking for flex
configure:6567: result: no
configure:6538: checking for lex
configure:6567: result: no
configure:6584: checking for flex
configure:6613: result: no
configure:6629: checking for makeinfo
configure:6645: found /usr/bin/makeinfo
configure:6655: result: makeinfo
configure:6688: checking for expect
configure:6717: result: no
configure:6735: checking for runtest
configure:6764: result: no
configure:6874: checking for ar
configure:6890: found /tools/bin/ar
configure:6900: result: ar
configure:7009: checking for as
configure:7025: found /tools/bin/as
configure:7035: result: as
configure:7144: checking for dlltool
configure:7173: result: no
configure:7279: checking for ld
configure:7295: found /tools/bin/ld
configure:7305: result: ld
configure:7414: checking for lipo
configure:7443: result: no
configure:7549: checking for nm
configure:7565: found /tools/bin/nm
configure:7575: result: nm
configure:7684: checking for ranlib
configure:7700: found /tools/bin/ranlib
configure:7710: result: ranlib
configure:7814: checking for strip
configure:7830: found /tools/bin/strip
configure:7840: result: strip
configure:7944: checking for windres
configure:7973: result: no
configure:8079: checking for windmc
configure:8108: result: no
configure:8214: checking for objcopy
configure:8230: found /tools/bin/objcopy
configure:8240: result: objcopy
configure:8349: checking for objdump
configure:8365: found /tools/bin/objdump
configure:8375: result: objdump
configure:8486: checking for i686-lfs-linux-gnu-cc
configure:8515: result: no
configure:8486: checking for i686-lfs-linux-gnu-gcc
configure:8515: result: no
configure:8641: checking for i686-lfs-linux-gnu-c++
configure:8670: result: no
configure:8641: checking for i686-lfs-linux-gnu-g++
configure:8670: result: no
configure:8641: checking for i686-lfs-linux-gnu-cxx
configure:8670: result: no
configure:8641: checking for i686-lfs-linux-gnu-gxx
configure:8670: result: no
configure:8796: checking for i686-lfs-linux-gnu-gcc
configure:8825: result: no
configure:8946: checking for i686-lfs-linux-gnu-gcj
configure:8975: result: no
configure:9101: checking for i686-lfs-linux-gnu-gfortran
configure:9130: result: no
configure:9227: checking for ar
configure:9260: result: no
configure:9335: checking for i686-lfs-linux-gnu-ar
configure:9364: result: no
configure:9450: checking for as
configure:9483: result: no
configure:9558: checking for i686-lfs-linux-gnu-as
configure:9587: result: no
configure:9673: checking for dlltool
configure:9706: result: no
configure:9781: checking for i686-lfs-linux-gnu-dlltool
configure:9810: result: no
configure:9896: checking for ld
configure:9929: result: no
configure:10004: checking for i686-lfs-linux-gnu-ld
configure:10033: result: no
configure:10119: checking for lipo
configure:10152: result: no
configure:10227: checking for i686-lfs-linux-gnu-lipo
configure:10256: result: no
configure:10342: checking for nm
configure:10375: result: no
configure:10450: checking for i686-lfs-linux-gnu-nm
configure:10479: result: no
configure:10565: checking for objdump
configure:10598: result: no
configure:10673: checking for i686-lfs-linux-gnu-objdump
configure:10702: result: no
configure:10788: checking for ranlib
configure:10821: result: no
configure:10896: checking for i686-lfs-linux-gnu-ranlib
configure:10925: result: no
configure:11011: checking for strip
configure:11044: result: no
configure:11119: checking for i686-lfs-linux-gnu-strip
configure:11148: result: no
configure:11234: checking for windres
configure:11267: result: no
configure:11342: checking for i686-lfs-linux-gnu-windres
configure:11371: result: no
configure:11457: checking for windmc
configure:11490: result: no
configure:11565: checking for i686-lfs-linux-gnu-windmc
configure:11594: result: no
configure:11658: checking where to find the target ar
configure:11695: result: pre-installed
configure:11700: checking where to find the target as
configure:11737: result: pre-installed
configure:11742: checking where to find the target cc
configure:11765: result: just compiled
configure:11784: checking where to find the target c++
configure:11824: result: pre-installed
configure:11829: checking where to find the target c++ for libstdc++
configure:11869: result: pre-installed
configure:11874: checking where to find the target dlltool
configure:11911: result: pre-installed
configure:11916: checking where to find the target gcc
configure:11939: result: just compiled
configure:11958: checking where to find the target gcj
configure:11998: result: pre-installed
configure:12003: checking where to find the target gfortran
configure:12043: result: pre-installed
configure:12048: checking where to find the target ld
configure:12085: result: pre-installed
configure:12090: checking where to find the target lipo
configure:12116: result: pre-installed
configure:12121: checking where to find the target nm
configure:12158: result: pre-installed
configure:12163: checking where to find the target objdump
configure:12200: result: pre-installed
configure:12205: checking where to find the target ranlib
configure:12242: result: pre-installed
configure:12247: checking where to find the target strip
configure:12284: result: pre-installed
configure:12289: checking where to find the target windres
configure:12326: result: pre-installed
configure:12331: checking where to find the target windmc
configure:12368: result: pre-installed
configure:12401: checking whether to enable maintainer-specific portions of Makefiles
configure:12410: result: no
configure:12443: checking whether -fkeep-inline-functions is supported
configure:12467: gcc -c -g -O2 -fkeep-inline-functions conftest.c >&5
configure:12473: $? = 0
configure:12477: test -z
|| test ! -s conftest.err
configure:12480: $? = 0
configure:12483: test -s conftest.o
configure:12486: $? = 0
configure:12488: result: yes
configure:12705: 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 phoenix

config.status:770: 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=
ac_cv_env_CC_value=
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=set
ac_cv_env_target_alias_value=i686-lfs-linux-gnu
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_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_BISON=bison
ac_cv_prog_LD=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
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-lfs-linux-gnu
ac_cv_target_alias=i686-lfs-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-lfs-linux-gnu/4.4.1:/tools/libexec/gcc/i686-lfs-linux-gnu:/usr/lib/gcc/i686-lfs-linux-gnu/4.4.1:/usr/lib/gcc/i686-lfs-linux-gnu:/tools/i686-lfs-linux-gnu/bin/i686-lfs-linux-gnu/4.4.1:/tools/i686-lfs-linux-gnu/bin:
gcc_cv_tool_prefix=/tools

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

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='i686-lfs-linux-gnu-ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='i686-lfs-linux-gnu-as'
BISON='bison'
CC='gcc'
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'
CFLAGS_FOR_TARGET='-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'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='i686-lfs-linux-gnu-c++'
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='i686-lfs-linux-gnu-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='/mnt/lfs/sources/gcc-4.4.1/missing flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='i686-lfs-linux-gnu-gcj'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='i686-lfs-linux-gnu-gfortran'
GNATBIND='no'
GNATMAKE='no'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='i686-lfs-linux-gnu-ld'
LEX='/mnt/lfs/sources/gcc-4.4.1/missing flex'
LIBOBJS=''
LIBS='-L/lib -lcloog -L/lib -lppl_c -lppl -lgmpxx '
LIPO='lipo'
LIPO_FOR_TARGET='i686-lfs-linux-gnu-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='i686-lfs-linux-gnu-nm'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='i686-lfs-linux-gnu-objdump'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='i686-lfs-linux-gnu-ranlib'
RAW_CXX_FOR_TARGET='i686-lfs-linux-gnu-c++'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='i686-lfs-linux-gnu-strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-4.4.1/configure --target=i686-lfs-linux-gnu --prefix=/tools --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --enable-languages=c'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='i686-lfs-linux-gnu-windmc'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='i686-lfs-linux-gnu-windres'
YACC='bison -y'
ac_ct_CC='gcc'
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' '--disable-nls' '--disable-shared' '--disable-multilib' '--disable-decimal-float' '--disable-threads' '--disable-libmudflap' '--disable-libssp' '--disable-libgomp' '--enable-languages=c' --program-transform-name='s,^,i686-lfs-linux-gnu-,''
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-lfs-linux-gnu'
build_vendor='pc'
clooginc=''
clooglibs=''
config_shell='/bin/sh'
configdirs=' intl libiberty libcpp libdecnumber fixincludes gcc'
datadir='${prefix}/share'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc'
exec_prefix='${prefix}'
extra_mpfr_configure_flags=''
gmpinc=''
gmplibs='-lmpfr -lgmp'
host='i686-pc-linux-gnu'
host_alias=''
host_configargs='--cache-file=./config.cache '--prefix=/tools' '--disable-nls' '--disable-shared' '--disable-multilib' '--disable-decimal-float' '--disable-threads' '--disable-libmudflap' '--disable-libssp' '--disable-libgomp' '--enable-languages=c' --program-transform-name='s,^,i686-lfs-linux-gnu-,''
host_cpu='i686'
host_noncanonical='i686-pc-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
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}'
pplinc=''
ppllibs=''
prefix='/tools'
program_transform_name='s,^,i686-lfs-linux-gnu-,'
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-lfs-linux-gnu'
target_alias='i686-lfs-linux-gnu'
target_configargs='--cache-file=./config.cache --with-cross-host=i686-pc-linux-gnu '--prefix=/tools' '--disable-nls' '--disable-shared' '--disable-multilib' '--disable-decimal-float' '--disable-threads' '--disable-libmudflap' '--disable-libssp' '--disable-libgomp' '--enable-languages=c' --program-transform-name='s,^,i686-lfs-linux-gnu-,''
target_cpu='i686'
target_noncanonical='i686-lfs-linux-gnu'
target_os='linux-gnu'
target_subdir='i686-lfs-linux-gnu'
target_vendor='lfs'
tooldir='${exec_prefix}/i686-lfs-linux-gnu'

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

alphaieee_frag='/dev/null'
host_makefile_frag='../gcc-4.4.1/config/mh-x86omitfp'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='../gcc-4.4.1/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 exit (int) throw ();

configure: exit 0

Last edited by jackplughd; 03-17-2010 at 05:55 AM.
 
Old 03-17-2010, 08:54 AM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

please avoid posting the complete logfile. You can upload it instead as attachment in your post. Keep in mind that you can only attach files with certain suffixes, so you might have to rename it, e.g. config.txt - not 100% sure about the naming convention.

As for your error, post the output of the last 10 to 20 lines before make aborted. Errors from make do not show up in the config.log.
 
Old 03-18-2010, 03:49 AM   #3
jackplughd
LQ Newbie
 
Registered: Jan 2010
Posts: 22

Original Poster
Rep: Reputation: 0
crts,

Thanks for the reply. I will keep in mind the attachment suggestion. In the meanwhile, below is the output from the make command.

lfs@phoenix:/mnt/lfs/sources/gcc-build$ make
make[1]: Entering directory `/mnt/lfs/sources/gcc-build'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/libiberty'
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/libiberty/testsuite'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/fixincludes'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/intl'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/libiberty'
make[3]: Entering directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/libiberty/testsuite'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/fixincludes'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/build-i686-pc-linux-gnu/fixincludes'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/libcpp'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/libcpp'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/libdecnumber'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/libdecnumber'
make[2]: Entering directory `/mnt/lfs/sources/gcc-build/gcc'
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
Checking multilib configuration for libgcc...
Configuring in i686-lfs-linux-gnu/libgcc
configure: loading cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-linux-gnu
checking host system type... i686-lfs-linux-gnu
checking for i686-lfs-linux-gnu-ar... i686-lfs-linux-gnu-ar
checking for i686-lfs-linux-gnu-lipo... i686-lfs-linux-gnu-lipo
checking for i686-lfs-linux-gnu-nm... /mnt/lfs/sources/gcc-build/./gcc/nm
checking for i686-lfs-linux-gnu-ranlib... i686-lfs-linux-gnu-ranlib
checking for i686-lfs-linux-gnu-strip... i686-lfs-linux-gnu-strip
checking whether ln -s works... yes
checking for i686-lfs-linux-gnu-gcc... /mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -B/tools/i686-lfs-linux-gnu/bin/ -B/tools/i686-lfs-linux-gnu/lib/ -isystem /tools/i686-lfs-linux-gnu/include -isystem /tools/i686-lfs-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
 
Old 03-18-2010, 12:28 PM   #4
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

I am not sure if this is causing trouble:
Quote:
FLEX='/mnt/lfs/sources/gcc-4.4.1/missing flex'
IIRC, in a previous you have been recommended to use the liveCD as building host. Do not use Ubuntu. I can not really tell if your problem is related to your host or not since I used the liveCD for my build. Maybe someone else who successfully has build his LFS with Ubuntu can advise you on the issues you may encounter.
Until then you might want to try:
Code:
sudo apt-get install flex
Try reinstalling with a freshly untarred source.
Good luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LFS book 6.3 CH 5.14 Bash 3.2 "make error" croog Linux From Scratch 6 08-15-2012 04:58 AM
LFS 6.4 (Stable LFS) - error: "No such file or directory", linuxiso Linux - Newbie 1 08-03-2009 10:55 PM
error when "make" gcc stoneppp Linux - Kernel 6 08-02-2009 07:46 AM
LFS6.3 livecd "ls : command not found" error after "su - lfs" rotu Linux From Scratch 2 06-19-2008 03:59 PM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration