mxmssh / idapython

Automatically exported from code.google.com/p/idapython
Other
0 stars 0 forks source link

Building idapython crashes #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. patch --verbose -p0 <idapython/patches/ida51.patch
2. cd idapython; python build.py (attached log file)
3.

What is the expected output? What do you see instead?
Expected idaPython to build sucessful, get error instead:
"../swigsdk-versions/5.1/include/typeinf.hpp:446: Error. Non-optional 
argument 'type' follows an optional argument.
../swigsdk-versions/5.1/include/typeinf.hpp:447: Error. Non-optional 
argument 'size' follows an optional argument."

What version of the product are you using? On what operating system?
gcc version: 4.2.2
python version: 2.3.4
idaadv <IDA pro 5.1 sdk>
Linux #4 SMP Mon May 29 17:23:00 BST 2006 x86_64 x86_64 x86_64 GNU/Linux
Dual Opteron machine

Please provide any additional information below.

Original issue reported on code.google.com by Chal...@googlemail.com on 20 Mar 2008 at 2:39

Attachments:

GoogleCodeExporter commented 9 years ago
Couple of questions:

1, Which version of SWIG did you use to build?
2, What distro do you use?

The plugin has not been tested on x86_64, but I suppose it should work in 
32-bit mode.

Original comment by gergely.erdelyi on 21 Mar 2008 at 8:27

GoogleCodeExporter commented 9 years ago

Original comment by gergely.erdelyi on 21 Mar 2008 at 8:30

GoogleCodeExporter commented 9 years ago
Hi, seems some confusion about version numbers:
gcc version: 3.4.5
python version: 2.3.4
swig version: 1.3.2.1
idaPython version: 0.9.55

many thanks

Original comment by Chal...@googlemail.com on 22 Mar 2008 at 5:55

GoogleCodeExporter commented 9 years ago
SWIG version 1.3.21 is really old, I have some memory that the problem you are 
seeing was 
fixed in a later version. Please install a newer version, preferrably at least 
1.3.31.
The latest version, 1.3.34, has not been tested yet, but most likely it will 
work. If the problem
persists, please let me know.

Original comment by gergely.erdelyi on 22 Mar 2008 at 8:19

GoogleCodeExporter commented 9 years ago
Hi tried the following versions:
gcc version 4.2.2
python version: 2.5.2
swig version: 1.3.34
idaPython: 0.9.55

It gives a different error this time
idaapi.cpp: In function "PyObject* _wrap_IDB_Callback(PyObject*, PyObject*):
idaapi.cpp:17075: error: invalid array assignment

Any Ideas? many thanks

Original comment by Chal...@googlemail.com on 24 Mar 2008 at 3:41

Attachments:

GoogleCodeExporter commented 9 years ago
If this problem still persist, please open a new issue.

Original comment by gergely.erdelyi on 22 Mar 2009 at 3:32