Dave,
The error seems to be related to generic_cache_template not being
instantiated in none of the .C file, but still being called.
Perhaps we have a bug that we may missed an instantiation statement
(this is unlikely because the same code works here), or (more likely)
we have a compiler incompatibility problem.
To further determine the cause of the problem, can you use "nm"
to find our which .o file calls the undefined the symbol?
-Min
On Sun, 12 Mar 2006 Dave wrote :
> Hello All,
>
> I'm trying to compile opal on a x86 Linux machine (make module DESTINATION=MOSI_SMP_bcast). (gems 1.2, simics 2.2.19, gcc 4.0.0). I'm getting some errors with the opal compilation as follows:
>
> === Building module "opal" using the 2.0 API ===
> gmake[2]: Circular /home/GEMS/simics/x86-linux/obj/include/simics/module_id.c <- /home/GEMS/simics/x86-linux/obj/include/simics/module_id.c dependency dropped.
> Linking opal.so
> /home/GEMS/simics-2.2.19/x86-linux/lib/opal.so: /home/GEMS/simics-2.2.19/x86-linux/lib/opal.so: undefined symbol: _ZN22generic_cache_templateI21generic_cache_block_tE9TagSearchEybbPPS0_Pj
> gmake[2]: *** [/home/GEMS/simics-2.2.19/x86-linux/lib/opal.so] Error 1
> gmake[2]: *** Deleting file `/home/GEMS/simics-2.2.19/x86-linux/lib/opal.so'
> make[1]: *** [opal] Error 2
> make[1]: Leaving directory `/home/GEMS/simics-2.2.19/x86-linux/lib'
> make: *** [module] Error 2
>
>
> Thank you for your help!
>
> Dave
>
>
> ---------------------------------
> Yahoo! Mail
> Bring photos to life! New PhotoMail makes sharing a breeze.
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
|