This looks like a g++ problem. Try to download the gcc source, build it and
install on your machine (usually install in /usr/local/). Then specify in
the Makefile that you are using that gcc. I used 3.4.6 and it worked just
fine.
Lei
----- Original Message -----
From: "WANG,DEXIANG" <camelwdx@xxxxxxx>
To: <gems-users@xxxxxxxxxxx>
Sent: Monday, March 26, 2007 1:23 PM
Subject: [Gems-users] Opal.so linking (undefined symbo
_ZN22generic_cache_templateI21generic_cache_block_tE6AccessEP6miss_t)
Dear all:
I have passed Ruby compilation but got trapped again in Opan
compiling. My g++ version is 4.0.3 and I got following linking
error:
=== Building module "opal" using the 2.0 API ===
make[2]: Circular
/home/camelwdx/Desktop/TEST/simics/x86-linux/obj/include/simics/module_id.c
<-
/home/camelwdx/Desktop/TEST/simics/x86-linux/obj/include/simics/module_id.c
dependency dropped.
Linking opal.so
/home/camelwdx/Desktop/TEST/simics-2.2.19/x86-linux/lib/opal.so:
/home/camelwdx/Desktop/TEST/simics-2.2.19/x86-linux/lib/opal.so:
undefined symbol:
_ZN22generic_cache_templateI21generic_cache_block_tE6AccessEP6miss_t
I browsed last year's mailing list question and found there was
one similar question to mine, but it seems not to be solved. Maybe
it's due to compiler's compatibility issue, but I cannot find a
method to downgrade my g++ version (I'm using Ubuntu 6.06). Is
there any other bypass method that I can take to overcome such
"undefined symbor" error?
Thanks,
Dexiang Wang
_______________________________________________
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.
|