Dave,
I did a quick search and the generic_cache_template is defined in
opal/system/cache.[C h] I would try playing around with these files or
the include paths to see if the compile can recognize this template class.
Luke
On Tue, 14 Mar 2006, Dave wrote:
> Hello All,
>
> I haven't figured out why I'm having problems with opal compilation. As I mentioned before, there is a problem when linking opal.so, an undefined symbol _ZN22generic_cache_templateI21generic_cache_block_tE9TagSearchEybbPPS0_Pj in opal/x86-linux/obj/cache.o which causes problems. I get the following error messages.
>
> make module DESTINATION=MOSI_SMP_bcast
> Opal: building module
> make generated/generated
> make[1]: Entering directory `/home/GEMS/opal'
> make[1]: `generated/generated' is up to date! .
> make[1]: Leaving directory `/home/GEMS/opal'
> make BUILD_FLAGS=-DSIMICS module_go
> make[1]: Entering directory `/home/GEMS/opal'
> Made module
> make[1]: Leaving directory `/home/GEMS/opal'
> Opal: Linking simics module
> cd ../simics/x86-linux/lib; make opal
> make[1]: Entering directory `/home/GEMS/simics-2.2.19/x86-linux/lib'
> === 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.
> Creating dependencies: module_id.c
> Creating dependencies: opal.c
> 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.
> Creating exportmap.elf
> Compiling opal.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> /home/GEMS/simics/src/extensions/opal/opal.c:110: warning: ? defined but not used
> Compiling module_id.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> 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_tE9TagSearchEy
> bbPPS0_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
>
> Any help regarding this matter will be greatly appreciated.
>
> Thanks,
>
> Dave
>
> ---------------------------------
> Yahoo! Mail
> Use Photomail to share photos without annoying attachments.
|