LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-05-2004, 05:04 AM   #1
BarryM45
LQ Newbie
 
Registered: Jan 2004
Location: UK, South East
Distribution: slackware, SUSE
Posts: 24

Rep: Reputation: 15
gcc-3.3.1 make -k check - make [check] Error 2


All,

i am currently working on chapter 6 of the LFS 5 manual. I am checking my build pre install and have come across an error i cannot seem to resolve.
any pointers in this regard would be very much appreciated.

I supply the screen output below:

> === g++ tests ===
>
> Schedule of variations:
> unix
>
> Running target unix
> Using /tools/share/dejagnu/baseboards/unix.exp as board description file for target.
> Using /tools/share/dejagnu/config/unix.exp as generic interface file for target.Using /build/gcc-3.3.1/gcc/testsuite/config/default.exp as tool-and-target-specific interface file.
> Running /build/gcc-3.3.1/gcc/testsuite/g++.dg/bprob/bprob.exp ...
> /testsuite_flags: /testsuite_flags: No such file or directory
> while executing
> "exec sh ${odir_v3}/testsuite_flags --build-includes"
> (procedure "g++_include_flags" line 21)
> invoked from within
> "g++_include_flags [get_multilibs] "
> invoked from within
> "if [info exists TOOL_OPTIONS] {
> lappend ALWAYS_CXXFLAGS "additional_flags=[g++_include_flags [get_multilibs ${TOOL_OPTIONS}] ]";
> lappend ALW..."
> invoked from within
> "if ![is_remote host] {
bash: ![is_remote: event not found
> if [info exists TOOL_OPTIONS] {
> lappend ALWAYS_CXXFLAGS "additional_flags=[g++_include_flags [get_
multilibs ${TOOL_OPTION..."
> (procedure "g++_init" line 58)
> invoked from within
> "${tool}_init $test_file_name"
> invoked from within
> "if [info exists tool] {
> if { [info procs "${tool}_init"] != "" } {
> ${tool}_init $test_file_name;
> }
bash: syntax error near unexpected token `}'
root:/build/gcc-build# }"
> invoked from within
> "if [file exists $test_file_name] {
bash: }
invoked from within
if: command not found
root:/build/gcc-build# set timestart [timestamp];
root:/build/gcc-build#
root:/build/gcc-build# if [info exists tool] {
> if { [info procs "${tool}_init"] != "" } {
> ${tool}_ini..."
> (procedure "runtest" line 14)
> invoked from within
> "runtest $test_name"
> ("foreach" body line 42)
> invoked from within
> "foreach test_name [lsort [find ${dir} *.exp]] {
> if { ${test_name} == "" } {
> continue
> }
> # Ignore this one if asked to.
> if { ${ignore..."
> ("foreach" body line 54)
> invoked from within
> "foreach dir "${test_top_dirs}" {
> if { ${dir} != ${srcdir} } {
> # Ignore this directory if is a directory to be
> # ignored.
> if {[info..."
> ("foreach" body line 121)
> invoked from within
> "foreach pass $multipass {
>
> # multipass_name is set for `record_test' to use (see framework.exp).
> if { [lindex $pass 0] != "" } {
> set multipass_..."
> ("foreach" body line 51)
> invoked from within
> "foreach current_target $target_list {
> verbose "target is $current_target";
> set current_target_name $current_target;
> set tlist [split $curr..."
> (file "/tools/share/dejagnu/runtest.exp" line 1625)
> make[2]: [check-g++] Error 1 (ignored)
> make[2]: Leaving directory `/build/gcc-build/gcc'
> make[1]: Target `do-check' not remade because of errors.
> make[1]: Leaving directory `/build/gcc-build'
> make: *** [check] Error 2

best
Barry
 
Old 02-05-2004, 08:44 AM   #2
BarryM45
LQ Newbie
 
Registered: Jan 2004
Location: UK, South East
Distribution: slackware, SUSE
Posts: 24

Original Poster
Rep: Reputation: 15
I looked at the error again, the test that gave the error seemed to go much quicker than the 2nd pass in chapter 5 so i decided to run through the "installing GCC-3.3.1" documentation and retrack my steps. i then unpacked the files into the /sources/gcc-3.3.1 rather than copy it to a build directory i had created of the root. I then very carefully issued the /configure command again and then the make command and then the make -k check. This time the tests have gone ok other then the listed errors suggested in the book. So what did i do wrong the first time? I am leaning towards not issuing the make command between /configure and make -k check. it imay also be possible that moving the files from the source directory may have caused problems. or i may have issued a bad switch command in /configure options. whichever it is it's a user error and hence my apologies yet again. This is a confidence issue with a new OS i shall get better.
 
  


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
Chap 6.14. GCC-3.4.1 fails make -k check ralpha6 Linux From Scratch 5 05-17-2006 03:29 PM
LFS6.1 - 6.14 GCC installation, make check hangs Pugho Linux From Scratch 3 12-01-2005 05:28 PM
gcc-3.4.4 make check unexpected failures jonman364 Linux - Software 0 07-28-2005 03:11 AM
gcc-3.4.3 make -k check stops on error? Yerp Linux From Scratch 1 04-16-2005 03:25 AM
gcc make check results BeauMN Linux From Scratch 5 05-01-2003 02:45 AM

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

All times are GMT -5. The time now is 10:00 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