Re: [Gems-users] (no subject)


Date: Mon, 27 Nov 2006 16:54:02 +0100
From: nikolaos@xxxxxxxxxx
Subject: Re: [Gems-users] (no subject)
The "make ruby" command from 
$GEMS/simics/x86-linux/lib
fails with the same error message:

=== Building module "ruby" using the 2.0 API ===
ls:
/home/nikolas/gems/programs/sparc/simics/../ruby/x86-linux/generated//obj/*.o:
No such file or directory
make: *** [ruby] Error 2

I have tried both with
SIMICS_VERSION := -DSIMICS_2_2
and
SIMICS_VERSION += -DSIMICS_2_2

Could this be a compatibility problem with gcc-3.3 ?

Nikolas



Quoting Dan Gibson <degibson@xxxxxxxx>:
> 
> 
> The latest version of GEMS handles Simics versions a little
> differently, by changing Makefile.simics_version. Don't use the append
> operator in Makefile.simics_version in GEMS 1.2+... that could break
> several #ifdefs in various places. Use := instead of += if you're
> defining the Simics version.
> 
> 
> 
> Regards,
> 
> Dan Gibson
> 
> 
> 
> Javier Merino wrote:
> 
>   Check that you have the correct simics version in
> $GEMS/common/Makefile.common, around line 46:
> 
> SIMICS_VERSION += -DSIMICS_2_2
> 
> Good luck,
> Javi
> 
> Nikolaos wrote:
>   
>   
>     Yes, about 4 times...
> 
> I am using
> 
> ./configure CC=/usr/lib/gcc-3.3
> 
> and I am using g++-3.3 in the GEMS Makefiles
> 
> Nikolas
> 
> 
> Quoting Dan Gibson <degibson@xxxxxxxx>:
> 
>     
>     
>       Have your run the Simics configure step?
> cd $GEMS/simics/x86-linux
> ../configure
> 
> Regards,
> Dan Gibson
> 
> nikolaos@xxxxxxxxxx wrote:
> 
>       
>       
>         Hello again,
> 
> I had to format my PC and I changed my linux distribution to Ubuntu. I am
>         
>       
>       trying
>       
>       
>         to setup GEMS again but I am having some problems that I haven't been
> able
>         
>       
>       to 
>       
>       
>         solve. From what I understand something goes wrong during the
> linking
>         
>       
>       process.
>       
>       
>         I am using gcc 3.3, Simics 2.2.17 and GEMS 1.2
> 
> The output I am getting from the 2 modules is:
> 
> >From Ruby:
> 
> Template closure done
> Made module
> make[1]: Leaving directory `/media/gems/programs/sparc/ruby'
> Ruby: Linking simics module
> cd ../simics/x86-linux/lib; make ruby
> make[1]: Entering directory
> `/media/gems/programs/sparc/simics-2.2.17/x86-linux/lib'
> === Building module "ruby" using the 2.0 API ===
> make[1]: *** [ruby] Error 2
> make[1]: Leaving directory
> `/media/gems/programs/sparc/simics-2.2.17/x86-linux/lib'
> make: *** [all] Error 2
> 
> 
> >From Opal:
> 
> Made module
> make[1]: Leaving directory `/media/gems/programs/sparc/opal'
> Opal: Linking simics module
> cd ../simics/x86-linux/lib; make opal
> make[1]: Entering directory
> `/media/gems/programs/sparc/simics-2.2.17/x86-linux/lib'
> === Building module "opal" using the 2.0 API ===
> gmake[2]: Circular
>         
>       
>      
>
/home/nikolas/gems/programs/sparc/simics/x86-linux/obj/include/simics/module_id.c
>       
>       
>         <-
>         
>       
>      
>
/home/nikolas/gems/programs/sparc/simics/x86-linux/obj/include/simics/module_id.c
>       
>       
>         dependency dropped.
> Linking opal.so
> /media/gems/programs/sparc/simics-2.2.17/x86-linux/lib/opal.so:
> /media/gems/programs/sparc/simics-2.2.17/x86-linux/lib/opal.so: undefined
> symbol: _Z20initvar_dispatch_setPvP11conf_objectP10attr_valueS3_
> gmake[2]: ***
>         
>       
>       [/media/gems/programs/sparc/simics-2.2.17/x86-linux/lib/opal.so]
>       
>       
>         Error 1
> gmake[2]: *** Deleting file
> `/media/gems/programs/sparc/simics-2.2.17/x86-linux/lib/opal.so'
> make[1]: *** [opal] Error 2
> make[1]: Leaving directory
> `/media/gems/programs/sparc/simics-2.2.17/x86-linux/lib'
> make: *** [module] Error 2
> 
> I have tried recopying my library files, cleaning up previous makes etc. to
>         
>       
>       no
>       
>       
>         avail. Any suggestions?
> 
> Thanks in advance,
> 
> Nikolas
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
>         
>       
>       "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
>       
>       
>         
>  
> 
>         
>       
>       _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
> 
>       
>     
>     
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
> 
>     
>   
>   
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding
> "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.
> 
> 
>   
> 
> 
> 
> 


[← Prev in Thread] Current Thread [Next in Thread→]