[Gems-users] Errors in compiling Opal


Date: Wed, 14 Sep 2005 16:20:27 -0500 (CDT)
From: Sreekala Puduru <kala@xxxxxxxxxxxx>
Subject: [Gems-users] Errors in compiling Opal
We have finished compiling ruby. When we continue to compile Opal, we
came upon the errors shown below.

cc1: warning: ignoring command line option '-Woverloaded-virtual'
cc1: warning: (it is valid for C++ but not the selected language)
In file included from sparc/ccops.c:66:
common/hfa.h:58: syntax error before "namespace"
common/hfa.h:58: warning: type defaults to `int' in declaration of
`std'
common/hfa.h:58: warning: data definition has no type or storage class
In file included from sparc/ccops.c:66:
common/hfa.h:68:18: string: No such file or directory
common/hfa.h:69:15: map: No such file or directory
common/hfa.h:70:15: set: No such file or directory
common/hfa.h:71:16: list: No such file or directory
common/hfa.h:72:19: fstream: No such file or directory
common/hfa.h:73:20: iostream: No such file or directory
In file included from
../simics/x86-linux/obj/include/simics/breakpoints_api.h:27,
                 from ../simics/x86-linux/obj/include/simics/api.h:36,
                 from common/hfatypes.h:78,
                 from common/hfa.h:89,
                 from sparc/ccops.c:66:
../simics/x86-linux/obj/include/simics/memory_api.h:365: syntax error
before "mop"
In file included from sparc/ccops.c:66:
common/hfa.h:95: syntax error before "dynamic_inst_t"
common/hfa.h:95: warning: type defaults to `int' in declaration of
`dynamic_inst_t'
common/hfa.h:95: warning: data definition has no type or storage class
common/hfa.h:96: syntax error before "memory_inst_t"
....

In file included from sparc/ccops.c:66:
common/hfa.h:204: initializer element is not constant
In file included from common/hfa.h:256,
                 from sparc/ccops.c:66:
common/debugio.h:83: syntax error before "out_intf_t"
common/debugio.h:83: syntax error before '{' token

...

In file included from sparc/ccops.c:67:
common/bitlib.h: In function `log_base_two':
common/bitlib.h:277: syntax error before ':' token
make[1]: *** [x86-linux/obj/ccops.o] Error 1
make[1]: Leaving directory `/home/ee/h/hxw042000/Research/gems/opal'
make: *** [module] Error 2

how do we go about fixing this?
Thanks.

Sreekala and Hui



[← Prev in Thread] Current Thread [Next in Thread→]