This is the mail archive of the
mailing list for the SID project.
Re: Building SID
Michael Ambrus wrote:
I've got the files thanx. They seem broken however....Compiles fine for me using
The following is the first place where it breaks (I noticed that the
build system will not respect neither 'make -S' nor 'export
MAKEFLAGS="-S" && make' - it seems that the recursive build is using
'make -k' no matter what I do).
'sh_common_model' was not declared in this scope
../../../../src/sid/component/cgen-cpu/sh/sh2.h:16: error: wrong
number of template arguments (8, should be 5)
>> gcc --version
gcc (GCC) 4.1.2 20060612 (prerelease) (GNUPro 06r1)
I can't tell for sure, because I don't know which file you were
compiling at the time, but it looks to me like sh_common_model is in the
global namespace, so I'm not sure why it can't be found. Perhaps a
'using namespace ::'
is needed before the declaration of sh2_cpu?
This forward declaration is intentional. Any idea why it would not be
Which leads to this:
forward declaration of 'class sh4_nofpu::sh4_nofpu_cpu'
gcc used is the native one for my system which is i486-linux-gnu
(version 4.0). Note that the standard for forward declarations to
templates has changed (in case you're using an older compiler).