[Prev][Next][Index]

sparse and g++ 2.7.2 on Solaris 2.5




Sparse does not build with g++ 2.7.2 on Solaris 2.5 (Sage++ was built
using gcc/g++).  I get interesting warnings from pc++ and then fatal
errors from g++.  During 'make install':

../../bin/solaris2/pc++    -w \
        -o temp.C -I. -I../../tulip/include -I../../pcxxrts/include \
        -D__SOLARIS2__ -DUNIPROC cgsparse.pc
Warning :  not a symbol node in replaceSymbInExpression
Warning :  not a symbol node in replaceSymbInExpression
Warning :  not a symbol node in replaceSymbInExpression
	[same error many times, deleted]
Warning :  not a symbol node in replaceSymbInExpressionSameName
Warning :  not a symbol node in replaceSymbInExpressionSameName
Warning :  not a symbol node in replaceSymbInExpressionSameName
Warning :  not a symbol node in replaceSymbInExpressionSameName
Warning :  not a symbol node in replaceSymbInExpressionSameName
	[same error many times, deleted]
Warning : Null String in BufPutString
Warning : Null String in BufPutString
There were 354 warnings
g++  -g -I. -I../../tulip/include -I../../pcxxrts/include \
        -D__SOLARIS2__ -DUNIPROC  -c temp.C
In file included from temp.C:38:
../../pcxxrts/include/runtime.h:7: warning: abstract declarator used as declaration
temp.C:43: parse error before `;'
temp.C:291: warning: abstract declarator used as declaration
temp.C:379: syntax error before `*'
temp.C: In method `SuperKernel__Vector::SuperKernel__Vector(Distribution *, Align *)':
temp.C:1820: `class Vector' has no member named `ThisCollection'
temp.C:1839: `class Vector' has no member named `ThisCollection'
temp.C: In method `class Vector * Vector::Self(int)':
temp.C:1930: `ThisCollection' undeclared (first use this function)
temp.C:1930: (Each undeclared identifier is reported only once
temp.C:1930: for each function it appears in.)
temp.C:1930: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `temp.o'
Current working directory /nfs/research/paraducks1/lth/sage/TestSuite/Sparse
*** Error code 1
make: Fatal error: Command failed for target `uniproc'
Current working directory /nfs/research/paraducks1/lth/sage/TestSuite
*** Error code 1
make: Fatal error: Command failed for target `install'

I've had no problem with SunPro cc/CC, nor with SGI cc/CC.  Haven't
tried any others.  Has anyone else had this problem?

--lars