Re: Re: [Gems-users] Ruby Compile Error


Date: Thu, 10 Mar 2005 07:21:34 +0000
From: manhee@xxxxxxxxxxx
Subject: Re: Re: [Gems-users] Ruby Compile Error
I can find related simics header files in
$GEMS/simics/x86-linux/obj/include/simics &
$GEMS/simics/x86-linux/obj/include/simics-api-1.
Symlinks are OK.

I got the following warning message while configuring simics.
Do you think this warnings are related to Ruby compile errors?

The following errors/warnings were encountered during the configuration phase.
==============================================================================
*Warning*: could not find GTK/GNOME packages, the GTK/GNOME frontend will not be
built
*Warning*: Could not find library for LIBELF=-lelf
==============================================================================

But, actually GTK/GNOME is installed and libelf.so.1 can be found in /usr/lib.

Thanks,
Manhee
--------------------------------------------------------------
Also make sure the symlinks are created correctly.

Please see the "Setup" section of the GEMS documentation:

http://www.cs.wisc.edu/gems/doc/wiki/moin.cgi/Setup

--Mike



[Hide Quoted Text]
> manhee,
>
> What simics version are you using? Make sure you have header files
> from simics that is required to build GEMS.
>
> -Min
>
> On Wed, 09 Mar 2005 manhee@xxxxxxxxxxx wrote :
> > 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

[Hide Quoted Text]
> > 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
> > _______________________________________________
> > Gems-users mailing list
> > Gems-users@xxxxxxxxxxx
> > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
[← Prev in Thread] Current Thread [Next in Thread→]