Dear All, I found the below errors while compiling through scons for latest gem5 integrated with garnet 2.0 (hg clone http://repo.gem5.org/gem5).
$ scons build/ALPHA/gem5.debug *build/ALPHA/arch/alpha/tru64/tru64.cc:83:23: **error: **use of undeclared identifier* * 'MAP_NONBLOCK'; did you mean 'TGT_MAP_NONBLOCK'?* { TGT_MAP_NONBLOCK, MAP_NONBLOCK }, * ^~~~~~~~~~~~* TGT_MAP_NONBLOCK *build/ALPHA/arch/alpha/tru64/tru64.hh:78:27: note: *'TGT_MAP_NONBLOCK' declared here static const unsigned TGT_MAP_NONBLOCK = 0x10000; * ^* *build/ALPHA/arch/alpha/tru64/tru64.cc:85:23: **error: **use of undeclared identifier* * 'MAP_POPULATE'; did you mean 'TGT_MAP_POPULATE'?* { TGT_MAP_POPULATE, MAP_POPULATE }, * ^~~~~~~~~~~~* TGT_MAP_POPULATE *build/ALPHA/arch/alpha/tru64/tru64.hh:80:27: note: *'TGT_MAP_POPULATE' declared here static const unsigned TGT_MAP_POPULATE = 0x08000; * ^* *build/ALPHA/arch/alpha/tru64/tru64.cc:86:20: **error: **use of undeclared identifier* * 'MAP_STACK'* { TGT_MAP_STACK, MAP_STACK }, * ^* *build/ALPHA/arch/alpha/tru64/tru64.cc:92:15: **error: **invalid application of* * 'sizeof' to an incomplete type 'SyscallFlagTransTable []'* sizeof(AlphaTru64::mmapFlagTable) / * ^~~~~~~~~~~~~~~~~~~~~~~~~~~* 10 errors generated. scons: *** [build/ALPHA/arch/alpha/tru64/tru64.do] Error 1 scons: building terminated because of errors. $ scons build/ALPHA_MOESI_hammer/gem5.debug *build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:85:23: **error: **use of* * undeclared identifier 'MAP_POPULATE'; did you mean 'TGT_MAP_POPULATE'?* { TGT_MAP_POPULATE, MAP_POPULATE }, * ^~~~~~~~~~~~* TGT_MAP_POPULATE *build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.hh:80:27: note: * 'TGT_MAP_POPULATE' declared here static const unsigned TGT_MAP_POPULATE = 0x08000; * ^* *build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:86:20: **error: **use of* * undeclared identifier 'MAP_STACK'* { TGT_MAP_STACK, MAP_STACK }, * ^* *build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.cc:92:15: **error: * *invalid* * application of 'sizeof' to an incomplete type 'SyscallFlagTransTable []'* sizeof(AlphaTru64::mmapFlagTable) / * ^~~~~~~~~~~~~~~~~~~~~~~~~~~* 10 errors generated. scons: *** [build/ALPHA_MOESI_hammer/arch/alpha/tru64/tru64.do] Error 1 scons: building terminated because of errors. Thanks for earliest reply. Best regards, F. A. Faisal
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users