Re: [Gems-users] compile error


Date: Tue, 29 Mar 2005 15:55:29 -0600 (CST)
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] compile error
Remove the CHECK_COHERENCE flag in ruby/Makefile.  I should have been more
clear in the comments that this flag is only supported by one protocol and
hasn't really been tested in a long time.

This should solve the problem below, however keep the "-DRUBY_DEBUG=true"
flag which enables the majority of Ruby debugging.

--Mike

> Hi,
> When I tried to compile ruby with DEBUG option I got the error below.
> What should I do to compile it?
>
> Thanks in advance,
> Ayse.
>
> make PROTOCOL=MOESI_SMP_directory DESTINATION=MOESI_SMP_directory
> Ruby: Building protocol: MOESI_SMP_directory
> Ruby: Making slicc
> cd ../slicc; make
> make[1]: Entering directory `/local/disk2/rsgt/gems/slicc'
> SLICC: Running flex and bison
> make generated/generated
> make[2]: Entering directory `/local/disk2/rsgt/gems/slicc'
> make[2]: `generated/generated' is up to date.
> make[2]: Leaving directory `/local/disk2/rsgt/gems/slicc'
> SLICC: Building slicc executable
> make amd64-linux/bin/slicc.exec
> make[2]: Entering directory `/local/disk2/rsgt/gems/slicc'
> make[2]: `amd64-linux/bin/slicc.exec' is up to date.
> make[2]: Leaving directory `/local/disk2/rsgt/gems/slicc'
> make[1]: Leaving directory `/local/disk2/rsgt/gems/slicc'
> Ruby: Running slicc
> make generated/MOESI_SMP_directory/generated
> make[1]: Entering directory `/local/disk2/rsgt/gems/ruby'
> make[1]: `generated/MOESI_SMP_directory/generated' is up to date.
> make[1]: Leaving directory `/local/disk2/rsgt/gems/ruby'
> Ruby: Generating ruby objects
> make amd64-linux/generated/MOESI_SMP_directory/bin/tester.exec
> make[1]: Entering directory `/local/disk2/rsgt/gems/ruby'
> /usr/bin/g++ -o amd64-linux/generated/MOESI_SMP_directory/obj/Chip.o -c
> generated/MOESI_SMP_directory/Chip.C -DIS_RUBY -DTARGET_SPARC_V9
> -DTARGET_VA_BITS=64 -DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings
> -Woverloaded-virtual -Wno-unused  -m64 -march=opteron -fPIC -g -ggdb -g3 -O2
> -finline-functions -DNO_VECTOR_BOUNDS_CHECKS -DMULTIFACET_NO_OPT_WARN
> -DRUBY_DEBUG=true -DCHECK_COHERENCE -Inetwork/simple -I. -I../common
> -I../common/gzstream -Ibuffers -Icommon -Islicc_interface -Iprofiler -Iconfig
> -Ieventqueue -Isystem -Iinterfaces -Isimics -Itester -Irecorder
> -Igenerated/MOESI_SMP_directory -I../common/ioutil -Inetwork
> -I../simics/amd64-linux/obj/include/ -I../simics/amd64-linux/obj/include/simics
> -I../simics/amd64-linux/obj/include/simics-api-1 -I../simics/amd64-linux/config
>
> generated/MOESI_SMP_directory/Chip.C: In member function `virtual bool
>    Chip::isBlockShared(const Address&) const':
> generated/MOESI_SMP_directory/Chip.C:284: no matching function for call to `
>    L1Cache_Controller::L1Cache_isBlockShared(const Address&)'
> generated/MOESI_SMP_directory/Chip.C:289: no matching function for call to `
>    Directory_Controller::Directory_isBlockShared(const Address&)'
> generated/MOESI_SMP_directory/Chip.C: In member function `virtual bool
>    Chip::isBlockExclusive(const Address&) const':
> generated/MOESI_SMP_directory/Chip.C:300: no matching function for call to `
>    L1Cache_Controller::L1Cache_isBlockExclusive(const Address&)'
> generated/MOESI_SMP_directory/Chip.C:305: no matching function for call to `
>    Directory_Controller::Directory_isBlockExclusive(const Address&)'
> make[1]: *** [amd64-linux/generated/MOESI_SMP_directory/obj/Chip.o] Error 1
> make[1]: Leaving directory `/local/disk2/rsgt/gems/ruby'
> make: *** [all] Error 2
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
[← Prev in Thread] Current Thread [Next in Thread→]