Thank You.

The issue got resolved.

"USE_KVM" was missing from export_vars in gem5_dir/src/SConscript. Adding
it there, helped the build complete successfully.

Regards
Nidhi

On Thu, Aug 10, 2017 at 4:01 PM, Serhat Gesoglu <
[email protected]> wrote:

> Hello,
> Not sure what could have caused the error. Which patches did you apply if
> I may ask?
>
> The file is supposed to be created by gem5_dir/SConstruct. You can see
> "USE_KVM" there and export_vars in gem5_dir/src/SConscript. It only
> contains one line which, for my case, "#define USE_KVM 0".
>
> https://gem5.googlesource.com/public/gem5/+/master/SConstruct#1295
> https://gem5.googlesource.com/public/gem5/+/master/src/SConscript#361
>
> Cheers
> Serhat Gesoglu
> ________________________________________
> From: gem5-users [[email protected]] on behalf of Nidhi Kamath [
> [email protected]]
> Sent: 09 August 2017 21:33
> To: gem5 users mailing list
> Subject: Re: [gem5-users] use_kvm.hh
>
> Yes,
>
> I am using the latest version gem5 git repository.
>
> I installed it and successfully build it. After which I applied a patch on
> it which is when i am getting the issue.
>
> That is why I wanted to know how exactly is the file generated and from
> where.
>
> Can you explain more about the cleanup?
>
> Regards
> Nidhi
>
> On Aug 9, 2017 10:30 PM, "Serhat Gesoglu" <[email protected]
> <mailto:[email protected]>> wrote:
> Hello,
> The file should be created by scons. I just did a clean clone and build,
> and the aforementioned file was created without any problems. Are you using
> the latest version of gem5? Can you try rebuilding again?
>
> Cheers
> Serhat Gesoglu
> ________________________________________
> From: gem5-users [[email protected]<mailto:gem5-users-bounces@
> gem5.org>] on behalf of Nidhi Kamath [[email protected]<mailto:
> [email protected]>]
> Sent: 09 August 2017 18:55
> To: gem5 users mailing list
> Subject: Re: [gem5-users] use_kvm.hh
>
> Hello,
>
> Yes. But it is not getting generated automatically during build and hence
> the system.cc file throws an error saying it cannot find that file.
>
> Can you tell me what exactly generates this file?
>
> Regards
> Nidhi
>
> On Aug 9, 2017 5:14 PM, "Serhat Gesoglu" <[email protected]
> <mailto:[email protected]><mailto:serha
> [email protected]<mailto:[email protected]>>>
> wrote:
> Hello,
> It is an automatically created file, after building a system you can find
> this file in gem5_dir/build/[arch]/config/
>
> Hope this helps.
>
> Serhat Gesoglu
> ________________________________________
> From: gem5-users [[email protected]<mailto:gem5-users-bounces@
> gem5.org><mailto:[email protected]<mailto:gem5-
> [email protected]>>] on behalf of Nidhi Kamath [
> [email protected]<mailto:[email protected]><mailto:
> [email protected]<mailto:[email protected]>>]
> Sent: 09 August 2017 15:30
> To: gem5 users mailing list
> Subject: [gem5-users] use_kvm.hh
>
> Hello,
>
> In the new gem5 git repository , the file system.cc in src/sim uses the
> file
> #include "config/use_kvm.hh".
>
> I cannot find this file in any location. What does this file and where can
> I find it?
>
> Regards
> Nidhi
> _______________________________________________
> gem5-users mailing list
> [email protected]<mailto:[email protected]><mailto:[email protected]
> <mailto:[email protected]>>
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> _______________________________________________
> gem5-users mailing list
> [email protected]<mailto:[email protected]>
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to