Just out of curiosity, what distro are you compiling on? Also AMD64 or i386
architecture?

2010/7/17 Sungchan Kim <[email protected]>

> All,
>
>
>
> When building MARSS, I got the following error messages as captured below.
>
> Can anyone help to resolve this problem?
>
> Thanks in advance and have a great weekend :-)
>
>
>
> Chan
>
>
>
>
> ===================================================================================
>
> yn...@eslab:~/work/marss$ scons -Q
>
> running with -j4
>
> g++ -g3 -O3 -march=native -mtune=native -DDISABLE_LOGGING
> -fno-trapping-math -fno-stack-protector -fno-exceptions -fno-rtti
> -funroll-loops -fno-strict-aliasing -DNUM_SIM_CORES=1
> -DSINGLE_CORE_MEM_CONFIG -DNEED_CPU_H -D__STDC_FORMAT_MACROS -DMARSS_QEMU
> -DMONGO_HAVE_STDINT -I/home/ynwie/work/marss/ptlsim/cache
> -I/home/ynwie/work/marss/ptlsim/core -I/home/ynwie/work/marss/ptlsim/lib
> -I/home/ynwie/work/marss/ptlsim/sim -I/home/ynwie/work/marss/ptlsim/stats
> -I/home/ynwie/work/marss/ptlsim/tools -I/home/ynwie/work/marss/ptlsim/x86
> -I/home/ynwie/work/marss/qemu -I/home/ynwie/work/marss/qemu/target-i386
> -I/home/ynwie/work/marss/qemu/fpu
> -I/home/ynwie/work/marss/qemu/x86_64-softmmu -E -C ptlsim/stats/stats.h >
> ptlsim/build/stats.i
>
> Compiling ==> ptlsim/build/cache/bus.cpp
>
> Compiling ==> ptlsim/build/cache/cacheController.cpp
>
> Compiling ==> ptlsim/build/cache/cpuController.cpp
>
> In file included from /home/ynwie/work/marss/qemu/target-i386/cpu.h:22,
>
>                  from /home/ynwie/work/marss/ptlsim/x86/ptlhwdef.h:16,
>
>                  from /home/ynwie/work/marss/ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/stats/stats.h:15:
>
> /home/ynwie/work/marss/qemu/config.h:2:27: error: config-target.h: No such
> file or directory
>
> In file included from qemu/target-i386/cpu.h:22,
>
>                  from ptlsim/x86/ptlhwdef.h:16,
>
>                  from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/bus.cpp:31:
>
> qemu/config.h:2:27: error: config-target.h: No such file or directory
>
> scons: *** [ptlsim/build/stats.i] Error 1
>
> In file included from qemu/target-i386/cpu.h:22,
>
>                  from ptlsim/x86/ptlhwdef.h:16,
>
>                  from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/cacheController.cpp:31:
>
> qemu/config.h:2:27: error: config-target.h: No such file or directory
>
> In file included from qemu/target-i386/cpu.h:22,
>
>                  from ptlsim/x86/ptlhwdef.h:16,
>
>                  from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/cpuController.cpp:31:
>
> qemu/config.h:2:27: error: config-target.h: No such file or directory
>
> In file included from ptlsim/sim/ptlsim.h:14,
>
>                  from ptlsim/build/cache/cacheController.cpp:31:
>
> ptlsim/sim/globals.h:431: error: explicit template specialization cannot
> have a storage class
>
> In file included from ptlsim/sim/ptlsim.h:14,
>
>                  from ptlsim/build/cache/bus.cpp:31:
>
> ptlsim/sim/globals.h:431: error: explicit template specialization cannot
> have a storage class
>
> In file included from ptlsim/sim/ptlsim.h:14,
>
>                  from ptlsim/build/cache/cpuController.cpp:31:
>
> ptlsim/sim/globals.h:431: error: explicit template specialization cannot
> have a storage class
>
> In file included from qemu/target-i386/cpu.h:46,
>
>                  from ptlsim/x86/ptlhwdef.h:16,
>
>                  from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/cpuController.cpp:31:
>
> qemu/cpu-defs.h:100: error: ‘target_phys_addr_t’ does not name a type
>
> qemu/cpu-defs.h:105: error: ‘target_phys_addr_t’ was not declared in this
> scope
>
> qemu/cpu-defs.h:106: error: ‘target_phys_addr_t’ was not declared in this
> scope
>
> In file included from ptlsim/x86/ptlhwdef.h:16,
>
>                  from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/cpuController.cpp:31:
>
> qemu/target-i386/cpu.h:678: error: ‘target_phys_addr_t’ does not name a
> type
>
> In file included from qemu/cpu-all.h:23,
>
>                  from qemu/target-i386/cpu.h:921,
>
>                  from ptlsim/x86/ptlhwdef.h:16,
>
>                  from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/cpuController.cpp:31:
>
> qemu/cpu-common.h:17: error: ‘target_phys_addr_t’ has not been declared
>
> qemu/cpu-common.h:18: error: ‘target_phys_addr_t’ has not been declared
>
> ….
>
> …
>
> ….
>
> qemu/softmmu_header.h: In function ‘uint64_t ldq_data(target_ulong)’:
>
> qemu/softmmu_header.h:97: error: ‘struct CPUTLBEntry’ has no member named
> ‘addend’
>
> qemu/softmmu_header.h: In function ‘void stq_data(target_ulong, uint64_t)’
> :
>
> qemu/softmmu_header.h:143: error: ‘struct CPUTLBEntry’ has no member named
> ‘addend’
>
> In file included from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/cacheController.cpp:31:
>
> ptlsim/x86/ptlhwdef.h: In member function ‘bool
> Context::smc_isdirty(Waddr)’:
>
> ptlsim/x86/ptlhwdef.h:937: error: ‘struct CPUTLBEntry’ has no member named
> ‘addend’
>
> ptlsim/x86/ptlhwdef.h: In member function ‘void
> Context::smc_setdirty(Waddr)’:
>
> ptlsim/x86/ptlhwdef.h:961: error: ‘struct CPUTLBEntry’ has no member named
> ‘addend’
>
> In file included from ptlsim/sim/ptlsim.h:15,
>
>                  from ptlsim/build/cache/bus.cpp:31:
>
> ptlsim/x86/ptlhwdef.h: In member function ‘bool
> Context::smc_isdirty(Waddr)’:
>
> ptlsim/x86/ptlhwdef.h:937: error: ‘struct CPUTLBEntry’ has no member named
> ‘addend’
>
> ptlsim/x86/ptlhwdef.h: In member function ‘void
> Context::smc_setdirty(Waddr)’:
>
> ptlsim/x86/ptlhwdef.h:961: error: ‘struct CPUTLBEntry’ has no member named
> ‘addend’
>
> scons: *** [ptlsim/build/cache/cpuController.o] Error 1
>
> scons: *** [ptlsim/build/cache/bus.o] Error 1
>
> scons: *** [ptlsim/build/cache/cacheController.o] Error 1
>
> yn...@eslab:~/work/marss$
>
> _______________________________________________
> http://www.marss86.org
> Marss86-Devel mailing list
> [email protected]
> https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
>
>
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to