Menu

#5 make difficulty on RH 7.2

open
nobody
None
5
2002-02-18
2002-02-18
Anonymous
No

I had some difficulty during the 'make' of prcs-1.3.1
(the two files config.out and make.out are available if
needed)

./configure 2>&1 | tee config.out

and from

make 2>&1 | tee make.out

The last few lines of make.out are:

make[3]: Entering directory `/usr/local/src/prcs-1.3.1/
src'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -O2 -
Wall -fno-implicit-template
s -c prcs.cc
In file included from include/prcs.h:44,
from prcs.cc:27:
/usr/include/g++-3/iostream.h:97: `ostream::operator<<
(char)' has
already been declared in `ostream'
/usr/include/g++-3/iostream.h:217: `istream::operator>>
(char &)' has
already been declared in `istream'
make[3]: *** [prcs.o] Error 1
make[3]: Leaving directory `/usr/local/src/prcs-1.3.1/
src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/prcs-1.3.1/
src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/prcs-1.3.1'
make: *** [all-recursive-am] Error 2
[root@hoho0 prcs-1.3.1]#

Discussion

  • Bob Gustafson

    Bob Gustafson - 2002-02-20

    Logged In: YES
    user_id=462564

    20-Feb-2002
    I thought it might be a problem with the compiler, so I
    downloaded and installed gcc-3.0.3 and reconfigure, etc prcs
    (files expanded fresh from tar.gz).

    It still won't make. Last bit of the make.out file is given
    below ( make 2>&1 | tee make.out).

    ...
    make[3]: Entering directory `/usr/local/src/prcs-1.3.1/src'
    c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -O2 -Wall -
    fno-implicit-template
    s -c prcs.cc
    In file included from include/typedefs.h:125,
    from include/prcs.h:53,
    from prcs.cc:27:
    include/prcserror.h:30:25: stdiostream.h: No such file or
    directory
    In file included from include/typedefs.h:125,
    from include/prcs.h:53,
    from prcs.cc:27:
    include/prcserror.h:455: type specifier omitted for parameter
    include/prcserror.h:455: parse error before `*' token
    include/prcserror.h:479: syntax error before `*' token
    include/prcserror.h:447: base `PrettyOstream' with only non-
    default constructor
    in class without a constructor
    include/prcserror.h:509: parse error before `char'
    include/prcserror.h:512: parse error before `char'
    include/prcserror.h:515: parse error before `char'
    include/prcserror.h:518: parse error before `char'
    include/prcserror.h:521: parse error before `char'
    include/prcserror.h:530: parse error before `char'
    include/prcserror.h:533: parse error before `char'
    include/prcserror.h:536: parse error before `,' token
    include/prcserror.h:537: parse error before `,' token
    include/prcserror.h:538: parse error before `)' token
    include/prcserror.h:541: parse error before `&' token
    include/prcserror.h:544: parse error before `,' token
    include/prcserror.h:545: parse error before `,' token
    include/prcserror.h:546: parse error before `)' token
    include/prcserror.h:554: parse error before `char'
    include/prcserror.h:555: parse error before `*' token
    include/prcserror.h:556: parse error before `&' token
    include/prcserror.h:570: parse error before `char'
    include/prcserror.h:589: parse error before `*' token
    include/prcserror.h:592: parse error before `*' token
    include/prcserror.h:600: parse error before `)' token
    prcs.cc: In function `PrPrcsExitStatusError
    config_command()':
    prcs.cc:432: `squote' undeclared (first use this function)
    prcs.cc:432: (Each undeclared identifier is reported only
    once for each
    function it appears in.)
    prcs.cc:433: `setcol' undeclared (first use this function)
    prcs.cc: In function `PrPrcsExitStatusError
    invoke_command(PrcsCommand*)':
    prcs.cc:587: `force' undeclared (first use this function)
    prcs.cc:588: `report' undeclared (first use this function)
    prcs.cc:589: `optfail' undeclared (first use this function)
    prcs.cc:590: `defopt' undeclared (first use this function)
    prcs.cc:591: `query' undeclared (first use this function)
    make[3]: *** [prcs.o] Error 1
    make[3]: Leaving directory `/usr/local/src/prcs-1.3.1/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/local/src/prcs-1.3.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/prcs-1.3.1'
    make: *** [all-recursive-am] Error 2
    [root@hoho0 prcs-1.3.1]#

     
  • Bob Gustafson

    Bob Gustafson - 2002-02-20

    Logged In: YES
    user_id=462564

    20-Feb-2002
    I thought it might be a problem with the compiler, so I
    downloaded and installed gcc-3.0.3 and reconfigure, etc prcs
    (files expanded fresh from tar.gz).

    It still won't make. Last bit of the make.out file is given
    below ( make 2>&1 | tee make.out).

    ...
    make[3]: Entering directory `/usr/local/src/prcs-1.3.1/src'
    c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./include -O2 -Wall -
    fno-implicit-template
    s -c prcs.cc
    In file included from include/typedefs.h:125,
    from include/prcs.h:53,
    from prcs.cc:27:
    include/prcserror.h:30:25: stdiostream.h: No such file or
    directory
    In file included from include/typedefs.h:125,
    from include/prcs.h:53,
    from prcs.cc:27:
    include/prcserror.h:455: type specifier omitted for parameter
    include/prcserror.h:455: parse error before `*' token
    include/prcserror.h:479: syntax error before `*' token
    include/prcserror.h:447: base `PrettyOstream' with only non-
    default constructor
    in class without a constructor
    include/prcserror.h:509: parse error before `char'
    include/prcserror.h:512: parse error before `char'
    include/prcserror.h:515: parse error before `char'
    include/prcserror.h:518: parse error before `char'
    include/prcserror.h:521: parse error before `char'
    include/prcserror.h:530: parse error before `char'
    include/prcserror.h:533: parse error before `char'
    include/prcserror.h:536: parse error before `,' token
    include/prcserror.h:537: parse error before `,' token
    include/prcserror.h:538: parse error before `)' token
    include/prcserror.h:541: parse error before `&' token
    include/prcserror.h:544: parse error before `,' token
    include/prcserror.h:545: parse error before `,' token
    include/prcserror.h:546: parse error before `)' token
    include/prcserror.h:554: parse error before `char'
    include/prcserror.h:555: parse error before `*' token
    include/prcserror.h:556: parse error before `&' token
    include/prcserror.h:570: parse error before `char'
    include/prcserror.h:589: parse error before `*' token
    include/prcserror.h:592: parse error before `*' token
    include/prcserror.h:600: parse error before `)' token
    prcs.cc: In function `PrPrcsExitStatusError
    config_command()':
    prcs.cc:432: `squote' undeclared (first use this function)
    prcs.cc:432: (Each undeclared identifier is reported only
    once for each
    function it appears in.)
    prcs.cc:433: `setcol' undeclared (first use this function)
    prcs.cc: In function `PrPrcsExitStatusError
    invoke_command(PrcsCommand*)':
    prcs.cc:587: `force' undeclared (first use this function)
    prcs.cc:588: `report' undeclared (first use this function)
    prcs.cc:589: `optfail' undeclared (first use this function)
    prcs.cc:590: `defopt' undeclared (first use this function)
    prcs.cc:591: `query' undeclared (first use this function)
    make[3]: *** [prcs.o] Error 1
    make[3]: Leaving directory `/usr/local/src/prcs-1.3.1/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/local/src/prcs-1.3.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/prcs-1.3.1'
    make: *** [all-recursive-am] Error 2
    [root@hoho0 prcs-1.3.1]#

     

Log in to post a comment.