Re: [Gems-users] Compiling Error of OPAL on Linux-x86


Date: Mon, 11 Sep 2006 20:51:58 -0700
From: "Kyueun Yi" <kyueuny@xxxxxxx>
Subject: Re: [Gems-users] Compiling Error of OPAL on Linux-x86
Thanks, I tried g++ again and solved the problems.
But I found following problems.

=== Building module "opal" using the 2.0 API ===
gmake[2]: Circular /home/Kyueun/GEMS/simics/x86-linux/obj/include/simics/module_id.c <- /home/Kyueun/GEMS/simics/x86-linux/obj/include/simics/module_id.c dependency dropped.
Linking opal.so
/home/Kyueun/GEMS/simics-2.2.19/x86-linux/lib/opal.so: /home/Kyueun/GEMS/simics-2.2.19/x86-linux/lib/opal.so: undefined symbol: _ZN22generic_cache_templateI21generic_cache_block_tE6AccessEP6miss_t gmake[2]: *** [/home/Kyueun/GEMS/simics-2.2.19/x86-linux/lib/opal.so] Error 1 gmake[2]: *** Deleting file `/home/Kyueun/GEMS/simics-2.2.19/x86-linux/lib/opal.so'
make[1]: *** [opal] Error 2
make[1]: Leaving directory `/home/Kyueun/GEMS/simics-2.2.19/x86-linux/lib'
make: *** [module] Error 2

I installed simics 2.2  and am trying to install GEMS 1.3 on Linux-x86.
My gcc version is 4.1.1.

Kyueun






----- Original Message ----- From: "Luke Yen" <lyen@xxxxxxxxxxx>
To: "Gems Users" <gems-users@xxxxxxxxxxx>
Sent: Monday, September 11, 2006 7:54 AM
Subject: Re: [Gems-users] Compiling Error of OPAL on Linux-x86



 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



_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.


[← Prev in Thread] Current Thread [Next in Thread→]