siberider / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
0 stars 0 forks source link

Elsim does not compile properly #85

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
android@honeynet:~/androguard/elsim$ sudo make
In file included from /usr/include/c++/4.4/ext/hash_map:60,
                 from formula.h:35,
                 from test.cc:1:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated.
 CC elsign.o
In file included from elsign.cc:21:
elsign.h:24:20: error: Python.h: No such file or directory
In file included from /usr/include/c++/4.4/ext/hash_map:60,
                 from ../formula/formula.h:35,
                 from elsign.h:28,
                 from elsign.cc:21:
/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This 
file includes at least one deprecated or antiquated header which may be removed 
without further notice at a future date. Please use a non-deprecated interface 
with equivalent functionality instead. For a listing of replacement headers and 
interfaces, consult the file backward_warning.h. To disable this warning use 
-Wno-deprecated.
elsign.cc:802: error: ISO C++ forbids declaration of ‘PyObject_HEAD’ with 
no type
elsign.cc: In function ‘void Elsign_dealloc(sign_ElsignObject*)’:
elsign.cc:810: error: ‘struct sign_ElsignObject’ has no member named 
‘ob_type’
elsign.cc:810: error: ‘PyObject’ was not declared in this scope
elsign.cc:810: error: expected primary-expression before ‘)’ token
elsign.cc: At global scope:
elsign.cc:813: error: expected initializer before ‘*’ token
elsign.cc:806: warning: ‘void Elsign_dealloc(sign_ElsignObject*)’ defined 
but not used
make[2]: *** [elsign.o] Error 1
make[1]: *** [LIBS] Error 2
make: *** [LIBS] Error 2

Original issue reported on code.google.com by bemmie5...@gmail.com on 8 Nov 2012 at 11:47

GoogleCodeExporter commented 9 years ago
please install python-dev

Original comment by anthony....@gmail.com on 16 Nov 2012 at 6:51