LinuxQuestions.org
Visit Jeremy's Blog.
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 09-29-2009, 06:59 AM   #1
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Rep: Reputation: 15
Question make check problem gcc in section 6.15.1 of lfs6.5


Peace be upon you.

Can You guys plz help me?

I have been working on LFS6.5 for some days.It was going fine but in

section 6.15.1 of the book I am facing a problem.

I am using RedHat Enterprise linux 5 as my host OS.

I have installed All the Development Packages.


when I run make check without -k

I get the following error:

make[1]: Entering directory `/sources/gcc-build'
make[2]: Entering directory `/sources/gcc-build/fixincludes'
autogen -T ../../gcc-4.4.1/fixincludes/check.tpl ../../gcc-4.4.1/fixincludes/inclhack.def
make[2]: autogen: Command not found
make[2]: *** [check] Error 127
make[2]: Leaving directory `/sources/gcc-build/fixincludes'
make[1]: *** [check-fixincludes] Error 2
make[1]: Leaving directory `/sources/gcc-build'
make: *** [do-check] Error 2


and when I run make -k check as instructed in the book i get following error

WARNING: could not find `runtest'
make[4]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libgomp/testsuite'
make[3]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libgomp/testsuite'
make[3]: Entering directory `/sources/gcc-build/i686-pc-linux-gnu/libgomp'
true DO=all multi-do # make
make[3]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libgomp'
make[2]: Leaving directory `/sources/gcc-build/i686-pc-linux-gnu/libgomp'
make[1]: Leaving directory `/sources/gcc-build'
make: *** [do-check] Error 2
make: Target `check' not remade because of errors.
 
Old 09-30-2009, 04:34 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Did you read the next few paragraphs following the make -k check step? You can expect errors with gcc. Did you compare your errors with those located in the build/test logs? Are your errors vastly different from those in the build/test logs? If not, then keep going.
 
Old 10-19-2009, 09:28 AM   #3
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by weibullguy View Post
Did you read the next few paragraphs following the make -k check step? You can expect errors with gcc. Did you compare your errors with those located in the build/test logs? Are your errors vastly different from those in the build/test logs? If not, then keep going.
thanks for ur reply.
and sorry for late response.


where can i find build/test logs? sorry i am new to lfs!!!
plz help me out.
and bear with me. plz

another thing....Book says that test should not stop that is why we use -k switch but test doesn't finish,i guess.
 
Old 10-21-2009, 10:25 AM   #4
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by aahiqmir View Post
thanks for ur reply.
and sorry for late response.


where can i find build/test logs? sorry i am new to lfs!!!
plz help me out.
and bear with me. plz

another thing....Book says that test should not stop that is why we use -k switch but test doesn't finish,i guess.


hi guyz
I am still stuck with the same problem.i dont know what to do.

to make it easier for you to help me out here is what got from gcc-build/log file




Code:
configure:6761: result: runtest
configure:6874: checking for ar
configure:6890: found /usr/bin/ar
configure:6900: result: ar
configure:7009: checking for as
configure:7025: found /usr/bin/as
configure:7035: result: as
configure:7144: checking for dlltool
configure:7173: result: no
configure:7279: checking for ld
configure:7295: found /usr/bin/ld
configure:7305: result: ld
configure:7414: checking for lipo
configure:7443: result: no
configure:7549: checking for nm
configure:7565: found /usr/bin/nm
configure:7575: result: nm
configure:7684: checking for ranlib
configure:7700: found /usr/bin/ranlib
configure:7710: result: ranlib
configure:7814: checking for strip
configure:7830: found /usr/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 /usr/bin/objcopy
configure:8240: result: objcopy
configure:8349: checking for objdump
configure:8365: found /usr/bin/objdump
configure:8375: result: objdump
configure:8523: checking for cc
configure:8539: found /usr/bin/cc
configure:8549: result: cc
configure:8678: checking for c++
configure:8694: found /usr/bin/c++
configure:8704: result: c++
configure:8833: checking for gcc
configure:8849: found /usr/bin/gcc
configure:8859: result: gcc
configure:8983: checking for gcj
configure:9012: result: no
configure:9138: checking for gfortran
configure:9167: result: no
configure:9227: checking for ar
configure:9260: result: no
configure:9372: checking for ar
configure:9388: found /usr/bin/ar
configure:9398: result: ar
configure:9450: checking for as
configure:9483: result: no
configure:9595: checking for as
configure:9611: found /usr/bin/as
configure:9621: result: as
configure:9673: checking for dlltool
configure:9706: result: no
configure:9818: checking for dlltool
configure:9847: result: no
configure:9896: checking for ld
configure:9929: result: no
configure:10041: checking for ld
configure:10057: found /usr/bin/ld
configure:10067: result: ld
configure:10119: checking for lipo
configure:10152: result: no
configure:10264: checking for lipo
configure:10293: result: no
configure:10342: checking for nm
configure:10375: result: no
configure:10487: checking for nm
configure:10503: found /usr/bin/nm
configure:10513: result: nm
configure:10565: checking for objdump
configure:10598: result: no
configure:10710: checking for objdump
configure:10726: found /usr/bin/objdump
configure:10736: result: objdump
configure:10788: checking for ranlib
configure:10821: result: no
configure:10933: checking for ranlib
configure:10949: found /usr/bin/ranlib
configure:10959: result: ranlib
configure:11011: checking for strip
configure:11044: result: no
configure:11156: checking for strip
configure:11172: found /usr/bin/strip
configure:11182: result: strip
configure:11234: checking for windres
configure:11267: result: no
configure:11379: checking for windres
configure:11408: result: no
configure:11457: checking for windmc
configure:11490: result: no
configure:11602: checking for windmc
configure:11631: result: no
configure:11658: checking where to find the target ar
configure:11691: result: host tool
configure:11700: checking where to find the target as
configure:11733: result: host tool
configure:11742: checking where to find the target cc
configure:11765: result: just compiled
configure:11784: checking where to find the target c++
configure:11810: result: just compiled
configure:11829: checking where to find the target c++ for libstdc++
configure:11855: result: just compiled
configure:11874: checking where to find the target dlltool
configure:11907: result: host tool
configure:11916: checking where to find the target gcc
configure:11939: result: just compiled
configure:11958: checking where to find the target gcj
configure:11994: result: host tool
configure:12003: checking where to find the target gfortran
configure:12039: result: host tool
configure:12048: checking where to find the target ld
configure:12081: result: host tool
configure:12090: checking where to find the target lipo
configure:12112: result: host tool
configure:12121: checking where to find the target nm
configure:12154: result: host tool
configure:12163: checking where to find the target objdump
configure:12196: result: host tool
configure:12205: checking where to find the target ranlib
configure:12238: result: host tool
configure:12247: checking where to find the target strip
configure:12280: result: host tool
configure:12289: checking where to find the target windres
configure:12322: result: host tool
configure:12331: checking where to find the target windmc
configure:12364: result: host tool
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 localhost.localdomain

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=
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_install='/tools/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AR_FOR_TARGET=ar
ac_cv_prog_AS=as
ac_cv_prog_AS_FOR_TARGET=as
ac_cv_prog_CC_FOR_TARGET=cc
ac_cv_prog_CXX_FOR_TARGET=c++
ac_cv_prog_EXPECT=expect
ac_cv_prog_GCC_FOR_TARGET=gcc
ac_cv_prog_LD=ld
ac_cv_prog_LD_FOR_TARGET=ld
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_NM_FOR_TARGET=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_OBJDUMP_FOR_TARGET=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_RANLIB_FOR_TARGET=ranlib
ac_cv_prog_RUNTEST=runtest
ac_cv_prog_STRIP=strip
ac_cv_prog_STRIP_FOR_TARGET=strip
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-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=/usr/libexec/gcc/i686-pc-linux-gnu/4.4.1:/usr/libexec/gcc/i686-pc-linux-gnu:/usr/lib/gcc/i686-pc-linux-gnu/4.4.1:/usr/lib/gcc/i686-pc-linux-gnu:/usr/i686-pc-linux-gnu/bin/i686-pc-linux-gnu/4.4.1:/usr/i686-pc-linux-gnu/bin:
gcc_cv_tool_prefix=/usr

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

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='$(AR)'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='$(AS)'
BISON='/sources/gcc-4.4.1/missing 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='$$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='/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='$(GCJ)'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='$(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='$(LD)'
LEX='/sources/gcc-4.4.1/missing flex'
LIBOBJS=''
LIBS='-L/lib -lcloog -L/lib -lppl_c -lppl -lgmpxx  '
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='$(NM)'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='$(OBJDUMP)'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='$(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='$(STRIP)'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-4.4.1/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$(WINDMC)'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$(WINDRES)'
YACC='/sources/gcc-4.4.1/missing 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=/usr' '--libexecdir=/usr/lib' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--disable-bootstrap' '--enable-languages=c,c++' --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'
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=/usr' '--libexecdir=/usr/lib' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--disable-bootstrap' '--enable-languages=c,c++' --program-transform-name='s,y,y,''
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='/usr/lib'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pplinc=''
ppllibs=''
prefix='/usr'
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 '--prefix=/usr' '--libexecdir=/usr/lib' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--disable-bootstrap' '--enable-languages=c,c++' --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='../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

thanks
 
Old 10-22-2009, 12:22 PM   #5
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Unhappy

HI

guyz plz help me.

I have been googling for solution for long now but in vain...
 
Old 10-25-2009, 09:46 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

It seems that commands are not found (autogen to name one).

- Did you check if RedHat Enterprise linux 5 meets all the host requirements?
- Did anything go wrong in chapters 4 and 5?
- If you stopped (rebooted) did you (re)enter the chrooted environment correctly and (re)setup the mounts etc?
 
Old 10-25-2009, 11:17 AM   #7
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
Hi,

It seems that commands are not found (autogen to name one).

- Did you check if RedHat Enterprise linux 5 meets all the host requirements?
- Did anything go wrong in chapters 4 and 5?
- If you stopped (rebooted) did you (re)enter the chrooted environment correctly and (re)setup the mounts etc?


yes RedHat meets all host requirements.

Everything went fine in 4 and 5 chapters.


yes i re-entered chroot environment correctly.


but problem is still there...
 
Old 10-25-2009, 11:47 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

You did not post the correct log file, it (the make test logfile) should reside here: ../gcc-4.4.1/contrib/test_summary (as stated in chapter 6.15).

I would suggest the following:

1) remove both the gcc tree and build dir (/sources/gcc-4.4.1 and /sources/gcc-build),
2) start from the top of 6.15.

This will make sure that you start with a clean gcc tree (nothing left from the previous, maybe multiple, attempts).

An do run make -k check, do not omit the -k.

After the check step is done, you can open the logfile (vi ../gcc-4.4.1/contrib/test_summary) and compare it to the links posted in chap 6.15 or pipe the output through grep -A7 Summ (grep -A7 Summ ../gcc-4.4.1/contrib/test_summary) and check that.

Let's see if you get this far first......

Last edited by druuna; 10-25-2009 at 12:29 PM.
 
Old 10-30-2009, 01:10 PM   #9
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
Hi,

You did not post the correct log file, it (the make test logfile) should reside here: ../gcc-4.4.1/contrib/test_summary (as stated in chapter 6.15).

I would suggest the following:

1) remove both the gcc tree and build dir (/sources/gcc-4.4.1 and /sources/gcc-build),
2) start from the top of 6.15.

This will make sure that you start with a clean gcc tree (nothing left from the previous, maybe multiple, attempts).

An do run make -k check, do not omit the -k.

After the check step is done, you can open the logfile (vi ../gcc-4.4.1/contrib/test_summary) and compare it to the links posted in chap 6.15 or pipe the output through grep -A7 Summ (grep -A7 Summ ../gcc-4.4.1/contrib/test_summary) and check that.

Let's see if you get this far first......



Hi



I started chapter 6 again from the beginning.

But i am facing the same error.


I run the make -k check.

And the test_summary is




Code:
# (C) 1998, 1999, 2000, 2002, 2003, 2004, 2007, 2009
# Free Software Foundation
# Originally by Alexandre Oliva <oliva@dcc.unicamp.br>

# This script is Free Software, and it can be copied, distributed and
# modified as defined in the GNU General Public License.  A copy of
# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html

# This script processes *.{sum,log} files, producing a shell-script
# that sends e-mail to the appropriate lists and renames files to
# *.sent.  It currently handles only gcc, but it should be quite easy
# to modify it to handle other packages and its mailing lists.

# The scripts assumes it is run in the root directory of the build
# tree, and it will include all .sum files it finds in the mail
# report.

# configure flags are extracted from ./config.status

# if the BOOT_CFLAGS environment variable is set, it will be included
# in the mail report too.

# The usage pattern of this script is as follows:

# test_summary | more   # so as to observe what should be done

# test_summary | sh     # so as to actually send e-mail and move log files

# It accepts a few command line arguments.  For example:
if test x"$1" = "x-h"; then
  cat <<_EOF
 -o: re-reads logs that have been mailed already (.sum.sent)
 -t: prevents logs from being renamed
 -p: prepend specified file (or list of files: -p "a b") to the report
 -i: append specified file (or list of files: -i "a b") to the report
 -m: specify the e-mail address to send notes to.  An appropriate default
     should be selected from the log files.
 -f: force reports to be mailed; if omitted, only reports that differ
     from the sent.* version are sent.
_EOF
  exit 0
fi

# Find a good awk.
if test -z "$AWK" ; then
  for AWK in gawk nawk awk ; do
    if type $AWK 2>&1 | grep 'not found' > /dev/null 2>&1 ; then
      :
    else
      break
    fi
  done
fi

: ${filesuffix=}; export filesuffix
: ${move=true}; export move
: ${forcemail=false}; export forcemail
while true; do
    case "$1" in 
      -o) filesuffix=.sent; move=false; : ${mailto=nobody}; shift;;
      -t) move=false; shift;;
      -p) prepend_logs=${prepend_logs+"$prepend_logs "}"$2"; shift 2;;
      -i) append_logs=${append_logs+"$append_logs "}"$2"; shift 2;;
      -m) mailto=$2; forcemail=true; shift 2;;
      -f) unset mailto; forcemail=true; shift;;
      *) break;;
    esac
done
: ${mailto="\" address \""}; export mailto
files=`find . -name \*.sum$filesuffix -print | sort`
anyfile=false anychange=$forcemail &&
for file in $files; do
    [ -f $file ] &&
    anyfile=true &&
    { $anychange ||
      anychange=`diff -u $file.sent $file 2>/dev/null |
        if test ! -f $file.sent ||
           egrep '^[-+](XPASS|FAIL)' >/dev/null; then
            echo true
        else
            echo false
        fi
      `
    }
    true
done &&
$anyfile &&
if $forcemail || $anychange; then :; else mailto=nobody; fi &&
# We use cat instead of listing the files as arguments to AWK because
# GNU awk 3.0.0 would break if any of the filenames contained `=' and
# was preceded by an invalid ``variable'' name.
cat ./config.status $files |
$AWK '
BEGIN {
  lang=""; configflags = "";
  address="gcc-testresults@gcc.gnu.org";
  version="gcc";
  print "cat <<'"'"'EOF'"'"' |";
'${prepend_logs+"  system(\"cat $prepend_logs\"); "}'
}
($0 ~ /^[^ ]*\/configure / || $0 ~ /^# [^ ]*\/configure /) &&
configflags == "" {
    configflags = $0 " ";
    sub(/^# /, "", configflags);
    sub(/^s,@TOPLEVEL_CONFIGURE_ARGUMENTS@,/, "", configflags);
    srcdir = configflags;
    sub(/\/configure .*/, "", srcdir);
    if ( system("test -f " srcdir "/LAST_UPDATED") == 0 ) {
        printf "LAST_UPDATED: ";
        system("tail -1 " srcdir "/LAST_UPDATED");
        print "";
    }

    sub(/^[^ ]*\/configure */, " ", configflags);
    sub(/,;t t $/, " ", configflags);
    sub(/ --with-gcc-version-trigger=[^ ]* /, " ", configflags);
    sub(/ --norecursion /, " ", configflags);
    sub(/ $/, "", configflags);
    sub(/^ *$/, " none", configflags);
    configflags = "configure flags:" configflags;
}
/^Running target / { print ""; print; }
/^Target / { if (host != "") next; else host = $3; }
/^Host / && host ~ /^unix\{.*\}$/ { host = $3 " " substr(host, 5); }
/^Native / { if (host != "") next; else host = $4; }
/^[     ]*=== [^        ]+ tests ===/ {
  if (lang == "") lang = " "$2" "; else lang = " ";
}
$2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", version); gsub(/\r$/, "", version); $0 = save; }
/\===.*Summary/ { print ""; print; blanks=1; }
/tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; }
/^(XPASS|FAIL|UNRESOLVED|WARNING|ERROR|# of )/ { print; }
/^using:/ { print ""; print; print ""; }
# dumpall != 0 && /^X?(PASS|FAIL|UNTESTED)|^testcase/ { dumpall=0; }
# dumpall != 0 { print; }
# /^FAIL/ { dumpall=1; }
/^$/ && blanks>0 { print; --blanks; }
END { if (lang != "") {
  print "";
  print "Compiler version: " prefix version lang;
  print "Platform: " host;
  print configflags;
  '${BOOT_CFLAGS+'print "BOOT_CFLAGS='"${BOOT_CFLAGS}"'";'}'
  if (boot_cflags != 0) print boot_cflags;
'${append_logs+"  system(\"cat $append_logs\"); "}'
  print "EOF";
  print "Mail -s \"Results for " prefix version lang "testsuite on " host "\" '"${mailto}"' &&";
}}
{ next; }
' | sed "s/\([\`\$\\\\]\)/\\\\\\1/g" &&
if $move; then
    for file in $files `ls -1 $files | sed s/sum$/log/`; do
      [ -f $file ] && echo "mv `${PWDCMD-pwd}`/$file `${PWDCMD-pwd}`/$file.sent &&"
    done
fi &&
echo true
exit 0

can you please tell me what may have gone wrong?



here is the config.log

Code:
configure:6761: result: runtest
configure:6874: checking for ar
configure:6890: found /usr/bin/ar
configure:6900: result: ar
configure:7009: checking for as
configure:7025: found /usr/bin/as
configure:7035: result: as
configure:7144: checking for dlltool
configure:7173: result: no
configure:7279: checking for ld
configure:7295: found /usr/bin/ld
configure:7305: result: ld
configure:7414: checking for lipo
configure:7443: result: no
configure:7549: checking for nm
configure:7565: found /usr/bin/nm
configure:7575: result: nm
configure:7684: checking for ranlib
configure:7700: found /usr/bin/ranlib
configure:7710: result: ranlib
configure:7814: checking for strip
configure:7830: found /usr/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 /usr/bin/objcopy
configure:8240: result: objcopy
configure:8349: checking for objdump
configure:8365: found /usr/bin/objdump
configure:8375: result: objdump
configure:8523: checking for cc
configure:8539: found /usr/bin/cc
configure:8549: result: cc
configure:8678: checking for c++
configure:8694: found /usr/bin/c++
configure:8704: result: c++
configure:8833: checking for gcc
configure:8849: found /usr/bin/gcc
configure:8859: result: gcc
configure:8983: checking for gcj
configure:9012: result: no
configure:9138: checking for gfortran
configure:9167: result: no
configure:9227: checking for ar
configure:9260: result: no
configure:9372: checking for ar
configure:9388: found /usr/bin/ar
configure:9398: result: ar
configure:9450: checking for as
configure:9483: result: no
configure:9595: checking for as
configure:9611: found /usr/bin/as
configure:9621: result: as
configure:9673: checking for dlltool
configure:9706: result: no
configure:9818: checking for dlltool
configure:9847: result: no
configure:9896: checking for ld
configure:9929: result: no
configure:10041: checking for ld
configure:10057: found /usr/bin/ld
configure:10067: result: ld
configure:10119: checking for lipo
configure:10152: result: no
configure:10264: checking for lipo
configure:10293: result: no
configure:10342: checking for nm
configure:10375: result: no
configure:10487: checking for nm
configure:10503: found /usr/bin/nm
configure:10513: result: nm
configure:10565: checking for objdump
configure:10598: result: no
configure:10710: checking for objdump
configure:10726: found /usr/bin/objdump
configure:10736: result: objdump
configure:10788: checking for ranlib
configure:10821: result: no
configure:10933: checking for ranlib
configure:10949: found /usr/bin/ranlib
configure:10959: result: ranlib
configure:11011: checking for strip
configure:11044: result: no
configure:11156: checking for strip
configure:11172: found /usr/bin/strip
configure:11182: result: strip
configure:11234: checking for windres
configure:11267: result: no
configure:11379: checking for windres
configure:11408: result: no
configure:11457: checking for windmc
configure:11490: result: no
configure:11602: checking for windmc
configure:11631: result: no
configure:11658: checking where to find the target ar
configure:11691: result: host tool
configure:11700: checking where to find the target as
configure:11733: result: host tool
configure:11742: checking where to find the target cc
configure:11765: result: just compiled
configure:11784: checking where to find the target c++
configure:11810: result: just compiled
configure:11829: checking where to find the target c++ for libstdc++
configure:11855: result: just compiled
configure:11874: checking where to find the target dlltool
configure:11907: result: host tool
configure:11916: checking where to find the target gcc
configure:11939: result: just compiled
configure:11958: checking where to find the target gcj
configure:11994: result: host tool
configure:12003: checking where to find the target gfortran
configure:12039: result: host tool
configure:12048: checking where to find the target ld
configure:12081: result: host tool
configure:12090: checking where to find the target lipo
configure:12112: result: host tool
configure:12121: checking where to find the target nm
configure:12154: result: host tool
configure:12163: checking where to find the target objdump
configure:12196: result: host tool
configure:12205: checking where to find the target ranlib
configure:12238: result: host tool
configure:12247: checking where to find the target strip
configure:12280: result: host tool
configure:12289: checking where to find the target windres
configure:12322: result: host tool
configure:12331: checking where to find the target windmc
configure:12364: result: host tool
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 localhost.localdomain

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=
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_install='/tools/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AR_FOR_TARGET=ar
ac_cv_prog_AS=as
ac_cv_prog_AS_FOR_TARGET=as
ac_cv_prog_CC_FOR_TARGET=cc
ac_cv_prog_CXX_FOR_TARGET=c++
ac_cv_prog_EXPECT=expect
ac_cv_prog_GCC_FOR_TARGET=gcc
ac_cv_prog_LD=ld
ac_cv_prog_LD_FOR_TARGET=ld
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_NM_FOR_TARGET=nm
ac_cv_prog_OBJCOPY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_OBJDUMP_FOR_TARGET=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_RANLIB_FOR_TARGET=ranlib
ac_cv_prog_RUNTEST=runtest
ac_cv_prog_STRIP=strip
ac_cv_prog_STRIP_FOR_TARGET=strip
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-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=/usr/libexec/gcc/i686-pc-linux-gnu/4.4.1:/usr/libexec/gcc/i686-pc-linux-gnu:/usr/lib/gcc/i686-pc-linux-gnu/4.4.1:/usr/lib/gcc/i686-pc-linux-gnu:/usr/i686-pc-linux-gnu/bin/i686-pc-linux-gnu/4.4.1:/usr/i686-pc-linux-gnu/bin:
gcc_cv_tool_prefix=/usr

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

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='$(AR)'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='$(AS)'
BISON='/sources/gcc-4.4.1/missing 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='$$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='/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='$(GCJ)'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='$(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='$(LD)'
LEX='/sources/gcc-4.4.1/missing flex'
LIBOBJS=''
LIBS='-L/lib -lcloog -L/lib -lppl_c -lppl -lgmpxx  '
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='$(NM)'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='$(OBJDUMP)'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='$(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='$(STRIP)'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-4.4.1/configure --prefix=/usr --libexecdir=/usr/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$(WINDMC)'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$(WINDRES)'
YACC='/sources/gcc-4.4.1/missing 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=/usr' '--libexecdir=/usr/lib' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--disable-bootstrap' '--enable-languages=c,c++' --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'
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=/usr' '--libexecdir=/usr/lib' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--disable-bootstrap' '--enable-languages=c,c++' --program-transform-name='s,y,y,''
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='/usr/lib'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pplinc=''
ppllibs=''
prefix='/usr'
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 '--prefix=/usr' '--libexecdir=/usr/lib' '--enable-shared' '--enable-threads=posix' '--enable-__cxa_atexit' '--enable-clocale=gnu' '--disable-multilib' '--disable-bootstrap' '--enable-languages=c,c++' --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='../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


please help....

thanx
 
Old 10-30-2009, 01:47 PM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Did you (really) solve these problems?

lfs 6.5 glibc script error
make check error 6.9.1 glibc lfs 6.5

First one says it is solved, but not how.
Second one seems to be an open problem.

You cannot continue with the next package until all problems are fixed first. All your GCC problems could be (are) related to previous errors.
 
Old 10-30-2009, 02:10 PM   #11
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by druuna View Post
Did you (really) solve these problems?

lfs 6.5 glibc script error
make check error 6.9.1 glibc lfs 6.5

First one says it is solved, but not how.
Second one seems to be an open problem.

You cannot continue with the next package until all problems are fixed first. All your GCC problems could be (are) related to previous errors.


Yes I did solve the glibc problem.

I didnt solve other one 6.9.1

I thought they were expected errors.


But am stuck with the original problem as at the top of this thread.

please please please help..

Last edited by aahiqmir; 10-30-2009 at 02:37 PM.
 
Old 10-30-2009, 02:51 PM   #12
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

It is probably me but if you did not solve the glibc issue (chap. 6.9), you cannot continue......
What is the point of trying to solve an issue with a package (gcc) that is done later (chap. 6.15), while there are still other issues?

Glibc and binutils (and gcc itself) are marked as critical packages, you have to make sure these are done correctly before continuing. Just about everything else you do later depends on these three in one way or another.
 
Old 10-30-2009, 03:03 PM   #13
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
So What should i do?

i have posted everything above please help me

Last edited by aahiqmir; 10-30-2009 at 03:14 PM.
 
Old 11-23-2009, 09:59 PM   #14
skeeters
LQ Newbie
 
Registered: Mar 2008
Posts: 19

Rep: Reputation: 0
Try installing bison and flex on your host system and see if it works.
 
Old 11-24-2009, 12:01 PM   #15
aahiqmir
Member
 
Registered: Apr 2008
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by skeeters View Post
Try installing bison and flex on your host system and see if it works.


Thanks for your suggestion.

I tried to install these packages but it says that they are alraedy installed.
further, I have started building LFS from the begining 3rd time but i face the same problem..

after: make -k check
i tried : ../gcc-4.4.1/contrib/test_summary
to get the summary about test result, But it shows nothing att all.

please help...

Last edited by aahiqmir; 11-24-2009 at 12:08 PM.
 
  


Reply

Tags
check, gcc, make



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
permission denied lfs6.4 section 5.10 aahiqmir Linux From Scratch 1 03-30-2009 08:47 AM
make problem in section 5.7.1 of lfs6.4 aahiqmir Linux From Scratch 2 03-28-2009 07:45 AM
Section 5.11.1 patching gcc problem feilb Linux From Scratch 3 07-09-2008 12:12 PM
LFS6.1 - 6.14 GCC installation, make check hangs Pugho Linux From Scratch 3 12-01-2005 05:28 PM
gcc-3.3.1 make -k check - make [check] Error 2 BarryM45 Linux From Scratch 1 02-05-2004 08:44 AM

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

All times are GMT -5. The time now is 10:08 AM.

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