Compile error using gcc-3.4.3 on Linux (FC2)

"Richard Forrest" <[email protected]>
Newsgroups gmane.comp.emulators.sid.devel
Organization Forrest IT
Message-ID <[email protected]>

I am totally new to SID and am trying to build it from snapshot-20050129  
and have run into a number of compile errors in the components.

The first one that occurs is in cgen_engine.h

c++ -DPACKAGE=\"sidcomp\" -DVERSION=\"0.1\" -I.  
-I../../../../../src/sid/component/cgen-cpu/arm7t  
-I../../../../../src/sid/component/cgen-cpu/arm7t  
-I../../../../../src/sid/component/cgen-cpu/arm7t/.. -I../../../include  
-I../../../../../src/sid/component/cgen-cpu/arm7t/../../../include  
-I../../../../bfd  
-I../../../../../src/sid/component/cgen-cpu/arm7t/../../../../include -g  
-O2 -Wp,-MD,.deps/arm7f.pp -c  -fPIC -DPIC  
../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.cxx -o .libs/arm7f.lo
In file included from  
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-cpu.h:24,
                  from  
../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.h:14,
                  from  
../../../../../src/sid/component/cgen-cpu/arm7t/arm7f.cxx:9:
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-engine.h: In  
member function `void cgen::pbb_engine<cpu_class,  
scache_record>::set_pbb_engine()':
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-engine.h:236:  
error: `VIRTUAL_INSN_BEGIN' is not a member of `cgen'
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-engine.h:237:  
error: `VIRTUAL_INSN_COND' is not a member of `cgen'
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-engine.h:238:  
error: `VIRTUAL_INSN_CHAIN' is not a member of `cgen'
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-engine.h:239:  
error: `VIRTUAL_INSN_CTI_CHAIN' is not a member of `cgen'
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-engine.h:240:  
error: `VIRTUAL_INSN_BEFORE' is not a member of `cgen'
../../../../../src/sid/component/cgen-cpu/arm7t/../cgen-engine.h:241:  
error: `VIRTUAL_INSN_AFTER' is not a member of `cgen'
make[6]: *** [arm7f.lo] Error 1

I am using gcc-3.4.3 on Fedora Core 2 and have also tried a number of  
other versions back to gcc-2.95.2 with the same results.

Any help would be very much appreciated,

Thanks, Richard


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.