gradetwo / idapython

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

Failed to compile 64 bit version of idapython with 6.1 SDK #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Trying to compile idapython from source with IDA Pro SDK 6.1 with 64 bit 
option

What is the expected output? What do you see instead?
g++ -m32 -dynamiclib -o python.pmc64 idaapi.o python.o -L. 
-L../swigsdk-versions/6.1/lib/x86_mac_gcc_64 -framework Python -lida64
ld: warning: directory not found for option 
'-L../swigsdk-versions/6.1/lib/x86_mac_gcc_64'
ld: library not found for -lida64
collect2: ld returned 1 exit status
Traceback (most recent call last):
  File "build.py", line 506, in <module>
    main()
  File "build.py", line 502, in main
    build_binary_package(ea64=True, nukeold=False)
  File "build.py", line 409, in build_binary_package
    build_plugin(platform_string, IDA_SDK, plugin_name, ea64)
  File "build.py", line 374, in build_plugin
    assert res == 0, "Failed to link the plugin binary"
AssertionError: Failed to link the plugin binary

What version of the product are you using? On what operating system?
IDA Pro SDK 6.1, OS X , Idapython rev.356

Please provide any additional information below.
It seems that IDA Pro SDK 6.1 folder have changed for the 64 bit from 
x86_mac_gcc_64 to x64_mac_gcc_64 which makes the build.py script failed.

A small fix of either renaming the SDK x64_mac_gcc_64 folder or editing the 
build.py script would fix it

Original issue reported on code.google.com by fairuzan...@gmail.com on 31 May 2011 at 3:32