我正在按照说明使用链接安装Sulley,Pcapy等:
https://github.com/OpenRCE/sulley/wiki/Windows-Installation
安装到以下位置。怀疑是由于Python 2.7.16而非2.7.9。但是我无法回复到2.7.9。卸载前仍然无法卸载2.7.16。
MINGW64 / c / sulley_build / pydbg / libdasm / pydasm(主)
$ python setup.py build_ext -c mingw32
运行build_ext
建立'pydasm'扩展名
C:\ mingw \ bin \ gcc.exe -mdll -O -Wall -IC:\ Python27 \ include -IC:\ Python27 \ include -IC:\ Python27 \ PC -c ../libdasm.c -o build \ temp .win-amd64-2.7 \ Release .. \ libdasm.o
C:\ mingw \ bin \ gcc.exe -mdll -O -Wall -IC:\ Python27 \ include -IC:\ Python27 \ include -IC:\ Python27 \ PC -c pydasm.c -o build \ temp.win- amd64-2.7 \ Release \ pydasm.o
pydasm.c:在函数“ fill_inst_structure”中:
pydasm.c:306:警告:从不兼容的指针类型传递“ PyString_AsStringAndSize”的参数3
pydasm.c:在函数“ pydasm_get_instruction”中:
pydasm.c:461:警告:从不兼容的指针类型传递'PyString_AsStringAndSize'的参数3
编写build \ temp.win-amd64-2.7 \ Release .. \ pydasm.def
C:\ mingw \ bin \ gcc.exe-共享-s build \ temp.win-amd64-2.7 \ Release .. \ libdasm.o build \ temp.win-amd64-2.7 \ Release \ pydasm.o build \ temp。 win-amd64-2.7 \ Release .. \ pydasm.def -LC:\ Python27 \ libs -LC:\ Python27 \ PCbuild \ amd64 -LC:\ Python27 \ PC \ VS9.0 \ amd64 -lpython27 -lmsvcr90 -o build \ lib.win-amd64-2.7 \ pydasm.pyd
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x13):对_imp__PyObject_SetAttrString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x53): undefined reference to
_ imp__Py_InitModule4'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x60):对_imp__PyLong_FromLong'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xcf): undefined reference to
_ imp__PyLong_FromLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x108):对_imp__PyLong_FromLong'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x141): undefined reference to
_ imp__PyLong_FromLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x17a):对_imp__PyLong_FromLong'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x1ce): undefined reference to
_ imp__Py_SetProgramName'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x1d4):未定义引用_imp__Py_Initialize'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x1fc): undefined reference to
_ imp__PyErr_Occurred'
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x206):未定义对_imp__PyErr_Print'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x21d): undefined reference to
_ imp__PyDict_New的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x22b):对_imp__PyString_FromString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x23a): undefined reference to
_ imp__PyClass_New的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x2b6):对_imp__PyLong_FromLong'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x42e): undefined reference to
_ imp__PyLong_FromLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x44b):对_imp__PyString_FromString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x4f1): undefined reference to
_ imp__PyLong_FromLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x6d2):未定义对_imp__PyObject_Size'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x6e7): undefined reference to
_ imp__PyExc_TypeError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x6ef):未定义对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x708): undefined reference to
_ imp__PyTuple_GetItem'的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x726):对_imp__PyExc_ValueError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x72e): undefined reference to
_ imp__PyErr_SetString'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x73d):未定义对_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x75b): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x763):未定义对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x770): undefined reference to
_ imp__PyLong_AsLong'的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x78a):对_imp__PyString_AsStringAndSize'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x7ac): undefined reference to
_ imp___Py_NoneStruct'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x7dc):未定义对_imp__PyObject_GetAttrString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x7fa): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x802):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x84b): undefined reference to
_ imp__PyLong_AsLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x9a6):对_imp__PyExc_MemoryError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x9ae): undefined reference to
_ imp__PyErr_SetString'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x9e3):对_imp__PyString_AsStringAndSize'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xba1): undefined reference to
_ imp__PyObject_Size'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xbb6):未定义对_imp__PyExc_TypeError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xbbe): undefined reference to
_ imp__PyErr_SetString'的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xbd4):未定义引用_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xbf2): undefined reference to
_ imp__PyExc_ValueError'
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xbfa):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xc26): undefined reference to
_ imp__PyLong_FromLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xc4e):未定义对_imp__PyObject_Size'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xc63): undefined reference to
_ imp__PyExc_TypeError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xc6b):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xc84): undefined reference to
_ imp__PyTuple_GetItem'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xca2):对_imp__PyExc_ValueError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xcaa): undefined reference to
_ imp__PyErr_SetString'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xcd4):未定义对_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xcf2): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xcfa):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xd07): undefined reference to
_ imp__PyLong_AsLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xd19):未定义对_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xd37): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xd3f):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xd4c): undefined reference to
_ imp__PyLong_AsLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xd5a):未定义对_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xd78): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xd80):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xd8d): undefined reference to
_ imp__PyLong_AsLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xdb4):未定义对_imp__PyExc_MemoryError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xdbc): undefined reference to
_ imp__PyErr_SetString'的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xe03):对_imp___Py_NoneStruct'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xe22): undefined reference to
_ imp__PyString_FromStringAndSize的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xe55):未定义对_imp__PyObject_Size'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xe6a): undefined reference to
_ imp__PyExc_TypeError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xe72):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xe8b): undefined reference to
_ imp__PyTuple_GetItem'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xea9):对_imp__PyExc_ValueError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xeb1): undefined reference to
_ imp__PyErr_SetString'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xed0):未定义对_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xeee): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xef6):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xf03): undefined reference to
_ imp__PyLong_AsLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xf2a):对_imp__PyExc_MemoryError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xf32): undefined reference to
_ imp__PyErr_SetString'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xf68):未定义对_imp__PyString_FromStringAndSize'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xf9b): undefined reference to
_ imp__PyObject_Size的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xfb0):对_imp__PyExc_TypeError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xfb8): undefined reference to
_ imp__PyErr_SetString'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xfd6):未定义对_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0xff4): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0xffc):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x1004): undefined reference to
_ imp___Py_NoneStruct'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x1042):未定义引用_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x1060): undefined reference to
_ imp__PyExc_ValueError'
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x1068):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x1075): undefined reference to
_ imp__PyLong_AsLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x1083):未定义对_imp__PyTuple_GetItem'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x10a1): undefined reference to
_ imp__PyExc_ValueError的引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x10a9):对_imp__PyErr_SetString'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x10b6): undefined reference to
_ imp__PyLong_AsLong'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x10dd):对_imp__PyExc_MemoryError'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x10e5): undefined reference to
_ imp__PyErr_SetString'的未定义引用
build \ temp.win-amd64-2.7 \ Release \ pydasm.o:pydasm.c :(。text + 0x1117):对_imp___Py_NoneStruct'
build\temp.win-amd64-2.7\Release\pydasm.o:pydasm.c:(.text+0x1134): undefined reference to
_ imp__PyString_FromStringAndSize的未定义引用
collect2:ld返回1退出状态
错误:命令'C:\ mingw \ bin \ gcc.exe'失败,退出状态为1
MINGW64 / c / sulley_build / pydbg / libdasm / pydasm(主) $ python setup.py build_ext -c mingw32 运行build_ext 建立'pydasm'扩展名 创建版本 创建build \ temp.win32-2.7 创建build \ temp.win32-2.7 \ Release C:\ mingw \ bin \ gcc.exe -mdll -O -Wall -IC:\ Python27 \ include -IC:\ Python27 \ include-IC:\ Python27 \ PC -c ../libdasm.c -o build \ temp .win32-2.7 \ Release .. \ libdasm.o C:\ mingw \ bin \ gcc.exe -mdll -O -Wall -IC:\ Python27 \ include -IC:\ Python27 \ include-IC:\ Python27 \ PC -c pydasm.c -o build \ temp.win32- 2.7 \ Release \ pydasm.o pydasm.c:在函数“ fill_inst_structure”中: pydasm.c:306:警告:从不兼容的指针类型传递“ PyString_AsStringAndSize”的参数3 pydasm.c:在函数“ pydasm_get_instruction”中: pydasm.c:461:警告:从不兼容的指针类型传递'PyString_AsStringAndSize'的参数3 编写build \ temp.win32-2.7 \ Release .. \ pydasm.def 创建build \ lib.win32-2.7 C:\ mingw \ bin \ gcc.exe-共享的-s build \ temp.win32-2.7 \ Release .. \ libdasm.o build \ temp.win32-2.7 \ Release \ pydasm.o build \ temp.win32-2.7 \版本.. \ pydasm.def -LC:\ Python27 \ libs -LC:\ Python27 \ PCbuild -lpython27 -lmsvcr90 -o build \ lib.win32-2.7 \ pydasm.pyd
WickedWitch @ DESKTOP-G6GVVRL MINGW64 / c / sulley_build / pydbg / libdasm / pydasm(master) $ python setup.py安装 运行安装 运行构建 运行build_ext 运行install_lib 复制build \ lib.win32-2.7 \ pydasm.pyd-> C:\ Python27 \ Lib \ site-packages 运行install_egg_info