neil_1
June 27th, 2012, 07:45 PM
i've been trying to compile this program and have been getting errors.
could someone tell me if i'm missing any dependencies ?
http://www.assembla.com/code/nixcoders/subversion/nodes/qvmkanker/trunk?rev=75 (http://trac.assembla.com/nixcoders/browser/qvmkanker/trunk?rev=8&order=name)
the output i have is
neil@crunchbang:~/qvmkanker/qvmkanker/trunk$ scons qvmdump
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 25, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 27, in <module>
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 86, in <module>
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 93, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build/qvmdump
g++ -o build/qvmdump/qvmdump.o -c -Wall -Werror -O2 -Ibuild/libqvm -Ilibqvm qvmdump/qvmdump.cpp
In file included from libqvm/Qvm.h:28,
from qvmdump/qvmdump.cpp:27:
libqvm/vm.h:32: error: 'uint32_t' does not name a type
libqvm/vm.h:143: error: 'int32_t' does not name a type
In file included from libqvm/Qvm.h:29,
from qvmdump/qvmdump.cpp:27:
libqvm/Opcode.h:33: error: 'qvmOffset' does not name a type
libqvm/Opcode.h:35: error: 'int32_t' does not name a type
In file included from qvmdump/qvmdump.cpp:27:
libqvm/Qvm.h:35: error: 'qvmOffset' was not declared in this scope
libqvm/Qvm.h:35: error: template argument 1 is invalid
libqvm/Qvm.h:35: error: template argument 3 is invalid
libqvm/Qvm.h:35: error: template argument 4 is invalid
libqvm/Qvm.h:35: error: invalid type in declaration before ';' token
qvmdump/qvmdump.cpp: In function 'int main(int, char**)':
qvmdump/qvmdump.cpp:56: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:63: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:66: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:69: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:74: error: 'EXIT_SUCCESS' was not declared in this scope
qvmdump/qvmdump.cpp:87: error: 'EXIT_SUCCESS' was not declared in this scope
qvmdump/qvmdump.cpp: In function 'void showDisasm(Qvm&, bool)':
qvmdump/qvmdump.cpp:122: error: 'class Opcode' has no member named 'offset'
qvmdump/qvmdump.cpp:131: error: 'class Opcode' has no member named 'argValue'
qvmdump/qvmdump.cpp:144: error: wrong number of template arguments (1, should be 2)
/usr/include/c++/4.4/bits/stl_pair.h:67: error: provided for 'template<class _T1, class _T2> struct std::pair'
qvmdump/qvmdump.cpp:144: error: invalid type in declaration before ';' token
qvmdump/qvmdump.cpp:146: error: request for member 'equal_range' in 'qvm->Qvm::infos', which is of non-class type 'info_t'
qvmdump/qvmdump.cpp:146: error: 'class Opcode' has no member named 'offset'
qvmdump/qvmdump.cpp:147: error: expected initializer before 'it'
qvmdump/qvmdump.cpp:147: error: request for member 'second' in 'pit', which is of non-class type 'int'
qvmdump/qvmdump.cpp:148: error: 'class Opcode' has no member named 'second'
scons: *** [build/qvmdump/qvmdump.o] Error 1
scons: building terminated because of errors.
could someone tell me if i'm missing any dependencies ?
http://www.assembla.com/code/nixcoders/subversion/nodes/qvmkanker/trunk?rev=75 (http://trac.assembla.com/nixcoders/browser/qvmkanker/trunk?rev=8&order=name)
the output i have is
neil@crunchbang:~/qvmkanker/qvmkanker/trunk$ scons qvmdump
scons: Reading SConscript files ...
scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 25, in <module>
scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 27, in <module>
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 86, in <module>
scons: warning: The build_dir keyword has been deprecated; use the variant_dir keyword instead.
File "/home/neil/qvmkanker/qvmkanker/trunk/SConstruct", line 93, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build/qvmdump
g++ -o build/qvmdump/qvmdump.o -c -Wall -Werror -O2 -Ibuild/libqvm -Ilibqvm qvmdump/qvmdump.cpp
In file included from libqvm/Qvm.h:28,
from qvmdump/qvmdump.cpp:27:
libqvm/vm.h:32: error: 'uint32_t' does not name a type
libqvm/vm.h:143: error: 'int32_t' does not name a type
In file included from libqvm/Qvm.h:29,
from qvmdump/qvmdump.cpp:27:
libqvm/Opcode.h:33: error: 'qvmOffset' does not name a type
libqvm/Opcode.h:35: error: 'int32_t' does not name a type
In file included from qvmdump/qvmdump.cpp:27:
libqvm/Qvm.h:35: error: 'qvmOffset' was not declared in this scope
libqvm/Qvm.h:35: error: template argument 1 is invalid
libqvm/Qvm.h:35: error: template argument 3 is invalid
libqvm/Qvm.h:35: error: template argument 4 is invalid
libqvm/Qvm.h:35: error: invalid type in declaration before ';' token
qvmdump/qvmdump.cpp: In function 'int main(int, char**)':
qvmdump/qvmdump.cpp:56: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:63: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:66: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:69: error: 'EXIT_FAILURE' was not declared in this scope
qvmdump/qvmdump.cpp:74: error: 'EXIT_SUCCESS' was not declared in this scope
qvmdump/qvmdump.cpp:87: error: 'EXIT_SUCCESS' was not declared in this scope
qvmdump/qvmdump.cpp: In function 'void showDisasm(Qvm&, bool)':
qvmdump/qvmdump.cpp:122: error: 'class Opcode' has no member named 'offset'
qvmdump/qvmdump.cpp:131: error: 'class Opcode' has no member named 'argValue'
qvmdump/qvmdump.cpp:144: error: wrong number of template arguments (1, should be 2)
/usr/include/c++/4.4/bits/stl_pair.h:67: error: provided for 'template<class _T1, class _T2> struct std::pair'
qvmdump/qvmdump.cpp:144: error: invalid type in declaration before ';' token
qvmdump/qvmdump.cpp:146: error: request for member 'equal_range' in 'qvm->Qvm::infos', which is of non-class type 'info_t'
qvmdump/qvmdump.cpp:146: error: 'class Opcode' has no member named 'offset'
qvmdump/qvmdump.cpp:147: error: expected initializer before 'it'
qvmdump/qvmdump.cpp:147: error: request for member 'second' in 'pit', which is of non-class type 'int'
qvmdump/qvmdump.cpp:148: error: 'class Opcode' has no member named 'second'
scons: *** [build/qvmdump/qvmdump.o] Error 1
scons: building terminated because of errors.