Re: [Gems-users] Build error - module_id & stdarg.h


Date: Thu, 25 Sep 2008 15:28:43 -0500
From: Dinagar Raghunathan <draghuna@xxxxxxx>
Subject: Re: [Gems-users] Build error - module_id & stdarg.h

Hi all,

 

I resolved the license issue by modifying the file "~/.flexlmrc" and provided the correct path of the license.

 

And for the build issue, I re-did the Simics steps in “setup-2.x” and I worked.

 

However, on loading the module “ruby” & “opal”, it is throwing following error:

simics> load-configuration <<*.check>>

simics> load-module ruby

Error loading module 'ruby': Module 'ruby' not found

 

Can you please let me what could have gone wrong here?? Some help here please!

 

Oh ya .. I even checked “list-module” [ruby and opal missing] and “list-failed-module”[no failed module] as mentioned in other threads. In modules folder, I can see the opal-v9.so and ruby-v9.so file and they are with latest timestamp.

 

Do you think, the below lines are expected on compilation?

 

 

Compiling opal.c

/home/dinagar/dbuild/gems-2.0/simics/src/extensions/opal/opal.c:112: warning: 'mm_id' defined but not used

Compiling module_id.c

Linking opal.so

 

 

Well on the second time compilation of ruby and opal, I am not getting the above message… but still I can see the ruby and opal are not loaded in Simics!

 

 

Cheers!

Dinagar

 

From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On Behalf Of Dinagar Raghunathan
Sent: Tuesday, September 23, 2008 3:58 PM
To: 'Gems Users'
Subject: Re: [Gems-users] Build error - module_id & stdarg.h

 

Hi,

 

Yeah Fuad, I did post my queries in simics forum but generally there is always a quick response with solution or at least some hints been given by gems user group. And I am still waiting for their [simics] response over the query.

 

 

Actually, now I have a small issue in build. It would be a very simple build error for you guys but as I am not that good with unix I am facing tough time here.

 

On building Ruby & Opal I am getting below issue:

 

=== Building module "ruby" ===

gmake[2]: *** No rule to make target `/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h', needed by `module_id.d'.  Stop.

make[1]: *** [ruby] Error 2

make[1]: Leaving directory `/home/dinagar/dbuild/gems-2.0/simics-2.2.19/x86-linux/lib'

make: *** [all] Error 2    

 

=== Building module "opal" ===
gmake[2]: Circular /home/dinagar/dbuild/gems-2.0/simics/x86-linux/obj/include/simics/module_id.c <- /home/dinagar/dbuild/gems-2.0/simics/x86-linux/obj/include/simics/module_id.c dependency dropped.
gmake[2]: *** No rule to make target `/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h', needed by `module_id.d'.  Stop.
make[1]: *** [opal] Error 2
make[1]: Leaving directory `/home/dinagar/dbuild/gems-2.0/simics-2.2.19/x86-linux/lib'
make: *** [module] Error 2

 

Well, the path “/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h” is incorrect. In my current “usr” folder, the file is located only at `/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h’

 

I don’t know how the files are pointing to a wrong location. I thought probably change in the CC path in $GEMS/common/Makefile.common to a local GCC 3.4.4 version location might help. But still I am getting the same error.

 

Help needed!

 

Thanks a lot,

Dinagar

 

-----Original Message-----
From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx] On Behalf Of Fuad Tabba
Sent: Tuesday, September 23, 2008 5:35 AM
To: Gems Users
Subject: Re: [Gems-users] License - Doesnt Match name of current user

 

Hi Dinagar,

 

Licenses and the like are more of a Simics issue than a Gems issue,

the folks at Wisconsin aren't (to the best of my knowledge) affiliated

with Virtutech (the Swedish company behind Simics) and aren't

responsible for issuing licenses. I suggest you try the Simics forum

at https://www.simics.net/ for help on this...

 

Hope this helps.

 

Cheers,

/fuad

 

 

 

On Tue, Sep 23, 2008 at 9:38 PM, Dinagar Raghunathan <draghuna@xxxxxxx> wrote:

> Oh ok .. I will try to get a new license .. But, in that case, how come my

> friend's license which he got b4 OS reinstallation was working. Because, if

> the host id is changed, then the simics should have shown invalid license.

> 

> 

> 

> And how come the system is not taking license for the license folder but

> somehow got registered in to machine?

> 

> 

> 

> Thanks & Regards,

> 

> Dinagar

> 

> 

> 

> From: gems-users-bounces@xxxxxxxxxxx [mailto:gems-users-bounces@xxxxxxxxxxx]

> On Behalf Of llccdd1985

> Sent: Monday, September 22, 2008 8:04 PM

> To: Gems Users

> Subject: Re: [Gems-users] License - Doesnt Match name of current user

> 

> 

> 

> 

> 

>  you reinstall the OS,maybe the hostid have been changed already,you can get

> a  new another licience from simics,

> 

> 

> 

> 

> 

> --

> 

>    B&R

> 

> liuchangding

> 

> 2008-09-23"Dinagar Raghunathan" <draghuna@xxxxxxx> 写道:

> 

> Hi Team,

> 

> 

> 

> The OS of linux machine which I have been using for GEMS was recently

> reinstalled.

> 

> 

> 

> Before running my work folder of GeMS which has my license file, I

> accidently ran my friend's folder. It somehow got set and whenever I am

> trying to run my GEMS work space which has my license file, it is showing

> below message.

> 

> 

> 

> Checking out a license...

> 

> *** User name in license (fzb), does not match name of current user

> (dinagar)

> 

> :

> 

> For further information, refer to the FLEXlm End User Manual,

> 

> available at "www.macrovision.com".

> 

> 

> 

> Can you please let me know how to resolve this??? I would like to know how

> and where this information is stored?? Because, I am running my folder and

> it is still referring to my friends license.

> 

> 

> 

> Thanks,

> 

> Dinagar

> 

> 

> 

> ________________________________

> 

> [广告] 德紫金再次开

> 

> _______________________________________________

> 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→]