Hi Yao, please copy text into emails and don't use screenshots. What SCons is doing is that it's trying to compile a small program which includes sys/mman.h, links against either no additional library or the "rt" library, and includes a call to shm_open().
https://gem5.googlesource.com/public/gem5/+/refs/heads/develop/src/mem/SConsopts#35 If that does not compile for some reason, then gem5 will print that message. You can find a log of the output of when gem5 tried to compile that program in your build directory in build/scons_config.log where you can check for any error messages. I'm not sure exactly what you mean by adding it to your path variable, but if you mean PATH, that's not how include files are found. Since this also potentially tries tries to link against librt, it could be that it finds the header just fine but can't link against the library for some reason. In any case, if you look at that log file, it should give you an error message which will help you get started figuring this out. Gabe On Thu, Jan 6, 2022 at 2:27 AM yaogang via gem5-users <gem5-users@gem5.org> wrote: > Hi, > > > > My gem5 used to work fine but suddenly can not build due to the following > warning I think( it will complain shm_open not finding the library) > > > > > > > > I set the /usr/include into my path variable and it should be there . I > saw there is a jira ticket on it but it doesn’t seem to solve the issue > https://gem5-review.googlesource.com/c/public/gem5/+/47659/7..8 > > > > Regards > > Yao > > > > > > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s