[Prev][Next][Index]

installation problem on rs6000



I'm trying to install the Sage++1.7 on rs6000 model 550.

"make install" gives me:
-----------------------------------------------------------------
*** COMPILING Sage++ DIRECTORY
        xlC -I./h -I../h -I../lib/include -g -c   libSage++.C
*** COMPILING extentions DIRECTORY
        xlC -I../../h -I../../lib/include -g -c  sgCallGraph.C
        xlC -I../../h -I../../lib/include -g -c  sgClassHierarchy.C
"../../lib/include/sage++classhierarchy.h", line 139.16: 1540-293: (W)
"classHierarchy::print(int)" hides the virtual function
"brk_basePtr::print(int,FILE*)".
"../../lib/include/sage++classhierarchy.h", line 212.16: 1540-293: (W)
"classMember::print()" hides the virtual function
"brk_basePtr::print(int,FILE*)".
        xlC -I../../h -I../../lib/include -g -c  baseClasses.C
        /bin/rm -f ../libSage++.a
        ar qc ../libSage++.a ../libSage++.o sgCallGraph.o sgClassHierarchy.o
baseClasses.o
        /bin/cp ../libSage++.a ../../lib/rs6000
---------------------------------------------------
Then I go to the demo array_decl, change the g++ to xlC (as advised by Prof Gannon)
in the Makefile. Then "make" generates:
---------------------------------------------------
        xlC -I../../../lib/include -I../../../h -g  -c main.C
"main.C", line 47.26: 1540-058: (S) Operand of "&" operator must be an lvalue.
make: 1254-004 The error code from the last command is 1.

Make Quitting.
---------------------------------------------------
I also tried demo new_file. It did not work, too. Any idea ?