Re: [gem5-users] Question about compile after adding global funcs

2019-11-07 Thread Ciro Santilli
On 11/7/19 2:28 PM, yuan wrote: > Hi, All, > > I suffered one problem of multiple definition when compiling, what I did > is adding some new functions I need in a file name my_func.hh under > src/mem/, and in the file cache.cc where I need these functions I use > #include “mem/my_func.hh”, bu

Re: [gem5-users] Question about compile after adding global funcs

2019-11-07 Thread Shougang Yuan
viado:* quinta-feira, 7 de novembro de 2019 11:28 > *Para:* gem5 users mailing list > *Assunto:* [gem5-users] Question about compile after adding global funcs > > > Hi, All, > > > > I suffered one problem of multiple definition when compiling, what I did > is add

Re: [gem5-users] Question about compile after adding global funcs

2019-11-07 Thread Francisco Carlos
De: gem5-users em nome de yuan Enviado: quinta-feira, 7 de novembro de 2019 11:28 Para: gem5 users mailing list Assunto: [gem5-users] Question about compile after adding global funcs Hi, All, I suffered one problem of multiple definition when compiling, what

[gem5-users] Question about compile after adding global funcs

2019-11-07 Thread yuan
Hi, All, I suffered one problem of multiple definition when compiling, what I did is adding some new functions I need in a file name my_func.hh under src/mem/, and in the file cache.cc where I need these functions I use #include “mem/my_func.hh”, but when I re-compile the gem5, it always shows