Win7下使用AndBug

  环境配置:

win7, python2.7.10  类unix操作的cmd

问题1:

C:\MinGW\bin\gcc.exe -mdll -O -Wall -IC:\Python27\include -IC:\Python27\PC -c l
b/jdwp/jdwp.c -o build\temp.win-amd64-2.7\Release\lib\jdwp\jdwp.o
lib/jdwp/jdwp.c: In function '__pyx_f_4jdwp_10JdwpBuffer_ipack':
lib/jdwp/jdwp.c:1405:3: warning: implicit declaration of function 'jdwp_expand'
[-Wimplicit-function-declaration]
   jdwp_expand((&((struct __pyx_obj_4jdwp_JdwpBuffer *)__pyx_v_self)->buf),__py
_3);
   ^
C:\MinGW\bin\gcc.exe -mdll -O -Wall -IC:\Python27\include -IC:\Python27\PC -c l
b/jdwp/wire.c -o build\temp.win-amd64-2.7\Release\lib\jdwp\wire.o
lib/jdwp/wire.c:19:23: fatal error: arpa/inet.h: No such file or directory
 #include <arpa/inet.h>
                       ^
compilation terminated.
error: command 'C:\\MinGW\\bin\\gcc.exe' failed with exit status 1


问题2:

running build_ext
building 'andbug.jdwp' extension
gcc -mno-cygwin -mdll -O -Wall -IC:\Python27\include -IC:\Python27\PC -c lib/jdw
p/jdwp.c -o build\temp.win32-2.7\Release\lib\jdwp\jdwp.o
error: command 'gcc' failed: No such file or directory

问题3:

 error: arpa/inet.h: No such file or directory  

处理方法:

把#include <arpa/inet>修改为#include winsock2.h


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值