Can you try recompiling with gcc instead of g++? I think it's a
compiler issue.
Luke
On Sat, 9 Sep 2006, Kyueun Yi wrote:
> Hi all,
>
> I installed simics 2.2 and am trying to install GEMS 1.3 on Linux-x86.
> I successfully installed RUBY. But I got OPAL compilation errors such as followings:
>
> /usr/bin/g++ -o x86-linux/obj/dx.o -c system/dx.C -DGEMS_32_BIT -DSIMICS_2_2 -DTARGET_SPARC_V9 -DTARGET_ULTRA -DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -DYY_NO_UNPUT -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused -march=i686 -g -ggdb -g3 -O0 -w -DSIMICS -DIS_OPAL -DVERIFY_SIMICS -DRETIRE_ZERO_TOLERANCE -DREDECODE_EACH -Icommon -Ifetch -Isparc -Isystem -Imodule -Itrace -Itester -I../common/ioutil -Igenerated -I../simics/x86-linux/obj/include/ -I../simics/x86-linux/obj/include/simics -I../simics/x86-linux/obj/include/simics-api-1 -I../simics/x86-linux/config -Ibenchmark/tester
> system/dx.i: In function 'void dx_add()':
> system/dx.i:526: error: 'getSourceReg' was not declared in this scope
> system/dx.i:526: error: 'getStaticInst' was not declared in this scope
> system/dx.i:530: error: 'getDestReg' was not declared in this scope
> system/dx.i: In function ?void dx_addcc()?:
>
> I used gcc version 4.1.1
>
> Thanks in advance.
>
> Kyueun Yi
>
>
>
|