[Gems-users] Ruby Compile Error


Date: Wed, 9 Mar 2005 12:14:16 +0000
From: manhee@xxxxxxxxxxx
Subject: [Gems-users] Ruby Compile Error
Hi,

I am a newbie to GEMS and Simics. I have a problem from the very beginning.
When I tried to compile Ruby, I got the following error message.

>make PROTOCOL=MOSI_SMP_bcast DESTINATION=MOSI_SMP_bcast

.............
/usr/bin/g++ -o x86-linux/generated/MOSI_SMP_bcast/obj/interface.o -c
simics/interface.C -DIS_RUBY -DTARGET_SPARC_V9 -DTARGET_VA_BITS=64
-DTARGET_PA_BITS=64 -Wall -W -Wwrite-strings -Woverloaded-virtual -Wno-unused 
-march=i686 -g -ggdb -g3 -O2 -finline-functions -DNO_VECTOR_BOUNDS_CHECKS
-DMULTIFACET_NO_OPT_WARN  -DRUBY_DEBUG=false  -Inetwork/simple -I. -I../common
-I../common/gzstream -Ibuffers -Icommon -Islicc_interface -Iprofiler -Iconfig
-Ieventqueue -Isystem -Iinterfaces -Isimics -Itester -Irecorder
-Igenerated/MOSI_SMP_bcast -I../common/ioutil -Inetwork
-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
simics/interface.C: In function `void SIMICS_install_exception_callback()':
simics/interface.C:155: error: `SIM_hap_register_callback' undeclared (first use
this function)
simics/interface.C:155: error: (Each undeclared identifier is reported only once
for each function it appears in.)
simics/interface.C: In function `void SIMICS_remove_exception_callback()':
simics/interface.C:163: error: `SIM_hap_remove_callback' undeclared (first use
this function)
make[1]: *** [x86-linux/generated/MOSI_SMP_bcast/obj/interface.o] Error 1
make[1]: Leaving directory `/home/mhlee/ruby'
make: *** [all] Error 2


Did anybody have the same problem?

host: Redhat Enterprise 3 on Intel Xeon
simics: 2.2.7
gcc: 3.4.3

Thanks,
Manhee
[← Prev in Thread] Current Thread [Next in Thread→]