- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我无法安装,控制台中的所有代码都无法编译!! s.o 在 centos 6 32 位 - 运行和更高版本,我有依赖 python 与 python-dev,工具等。但我不知道,如果你还缺一个
皮里特
python setup.py 构建
svn: '.' is not a working copy
running build
running build_py
running build_ext
building 'cpyrit._cpyrit_cpu' extension
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.6 -c cpyrit/_cpyrit_cpu.c -o build/temp.linux-i686-2.6/cpyrit/_cpyrit_cpu.o -Wall -fno-strict-aliasing -DVERSION="0.4.0"
Assembler messages:
Fatal error: can't create build/temp.linux-i686-2.6/cpyrit/_cpyrit_cpu.o: Permission denied
cpyrit/_cpyrit_cpu.c:35:26: error: openssl/hmac.h: No such file or directory
cpyrit/_cpyrit_cpu.c:36:25: error: openssl/sha.h: No such file or directory
cpyrit/_cpyrit_cpu.c:37:18: error: pcap.h: No such file or directory
cpyrit/_cpyrit_cpu.c:58: error: expected specifier-qualifier-list before ‘SHA_CTX’
cpyrit/_cpyrit_cpu.c:98: error: expected specifier-qualifier-list before ‘pcap_t’
cpyrit/_cpyrit_cpu.c:210: error: expected declaration specifiers or ‘...’ before ‘SHA_CTX’
cpyrit/_cpyrit_cpu.c: In function ‘padlock_xsha1_prepare’:
cpyrit/_cpyrit_cpu.c:238: error: ‘output’ undeclared (first use in this function)
cpyrit/_cpyrit_cpu.c:238: error: (Each undeclared identifier is reported only once
cpyrit/_cpyrit_cpu.c:238: error: for each function it appears in.)
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:249: error: expected ‘)’ before ‘*’ token
cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_padlock’:
cpyrit/_cpyrit_cpu.c:286: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:286: error: too many arguments to function ‘padlock_xsha1_prepare’
cpyrit/_cpyrit_cpu.c:289: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
cpyrit/_cpyrit_cpu.c:289: error: too many arguments to function ‘padlock_xsha1_prepare’
cpyrit/_cpyrit_cpu.c:292: warning: implicit declaration of function ‘HMAC’
cpyrit/_cpyrit_cpu.c:292: warning: implicit declaration of function ‘EVP_sha1’
cpyrit/_cpyrit_cpu.c:292: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:295: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_padlock’:
cpyrit/_cpyrit_cpu.c:304: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:305: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c:308: warning: implicit declaration of function ‘padlock_xsha1_finalize’
cpyrit/_cpyrit_cpu.c:308: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:309: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
cpyrit/_cpyrit_cpu.c:311: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:313: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:314: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
cpyrit/_cpyrit_cpu.c:316: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_sse2’:
cpyrit/_cpyrit_cpu.c:352: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:353: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
.............................. ... and more ................
cpyrit/_cpyrit_cpu.c:368: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:369: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c:396: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:397: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘prepare_pmk_openssl’:
cpyrit/_cpyrit_cpu.c:422: warning: implicit declaration of function ‘SHA1_Init’
cpyrit/_cpyrit_cpu.c:422: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:423: warning: implicit declaration of function ‘SHA1_Update’
cpyrit/_cpyrit_cpu.c:423: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:430: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:433: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘finalize_pmk_openssl’:
cpyrit/_cpyrit_cpu.c:440: error: ‘SHA_CTX’ undeclared (first use in this function)
cpyrit/_cpyrit_cpu.c:440: error: expected ‘;’ before ‘ctx’
cpyrit/_cpyrit_cpu.c:443: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:444: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c:447: error: ‘ctx’ undeclared (first use in this function)
cpyrit/_cpyrit_cpu.c:447: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:449: warning: implicit declaration of function ‘SHA1_Final’
cpyrit/_cpyrit_cpu.c:451: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
cpyrit/_cpyrit_cpu.c:456: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c:458: error: ‘struct pmk_ctr’ has no member named ‘ctx_ipad’
cpyrit/_cpyrit_cpu.c:462: error: ‘struct pmk_ctr’ has no member named ‘ctx_opad’
cpyrit/_cpyrit_cpu.c:467: error: ‘struct pmk_ctr’ has no member named ‘e2’
cpyrit/_cpyrit_cpu.c: In function ‘CPUDevice_solve’:
cpyrit/_cpyrit_cpu.c:543: error: ‘struct pmk_ctr’ has no member named ‘e1’
cpyrit/_cpyrit_cpu.c: In function ‘fourwise_md5hmac_openssl’:
cpyrit/_cpyrit_cpu.c:834: warning: implicit declaration of function ‘EVP_md5’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_init’:
cpyrit/_cpyrit_cpu.c:1384: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1385: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1385: error: ‘PcapDevice’ has no member named ‘datalink’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_dealloc’:
cpyrit/_cpyrit_cpu.c:1396: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1396: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1397: warning: implicit declaration of function ‘pcap_close’
cpyrit/_cpyrit_cpu.c:1397: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_close’:
cpyrit/_cpyrit_cpu.c:1407: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1408: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1409: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_setup’:
cpyrit/_cpyrit_cpu.c:1420: error: ‘PcapDevice’ has no member named ‘datalink’
cpyrit/_cpyrit_cpu.c:1420: warning: implicit declaration of function ‘pcap_datalink’
cpyrit/_cpyrit_cpu.c:1420: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1422: warning: implicit declaration of function ‘pcap_datalink_val_to_name’
cpyrit/_cpyrit_cpu.c:1422: error: ‘PcapDevice’ has no member named ‘datalink’
cpyrit/_cpyrit_cpu.c:1450: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_open_live’:
cpyrit/_cpyrit_cpu.c:1461: error: ‘PCAP_ERRBUF_SIZE’ undeclared (first use in this function)
cpyrit/_cpyrit_cpu.c:1467: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1473: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1473: warning: implicit declaration of function ‘pcap_open_live’
cpyrit/_cpyrit_cpu.c:1474: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1461: warning: unused variable ‘errbuf’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_open_offline’:
cpyrit/_cpyrit_cpu.c:1493: error: ‘PCAP_ERRBUF_SIZE’ undeclared (first use in this function)
cpyrit/_cpyrit_cpu.c:1499: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1505: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1505: warning: implicit declaration of function ‘pcap_open_offline’
cpyrit/_cpyrit_cpu.c:1506: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1493: warning: unused variable ‘errbuf’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_read’:
cpyrit/_cpyrit_cpu.c:1530: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1539: warning: implicit declaration of function ‘pcap_next_ex’
cpyrit/_cpyrit_cpu.c:1539: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1549: error: dereferencing pointer to incomplete type
cpyrit/_cpyrit_cpu.c:1559: error: dereferencing pointer to incomplete type
cpyrit/_cpyrit_cpu.c:1560: error: dereferencing pointer to incomplete type
cpyrit/_cpyrit_cpu.c:1578: warning: implicit declaration of function ‘pcap_geterr’
cpyrit/_cpyrit_cpu.c:1578: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_send’:
cpyrit/_cpyrit_cpu.c:1598: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1620: warning: implicit declaration of function ‘pcap_sendpacket’
cpyrit/_cpyrit_cpu.c:1620: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1622: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c: In function ‘PcapDevice_set_filter’:
cpyrit/_cpyrit_cpu.c:1639: error: storage size of ‘fp’ isn’t known
cpyrit/_cpyrit_cpu.c:1645: error: ‘PcapDevice’ has no member named ‘status’
cpyrit/_cpyrit_cpu.c:1651: warning: implicit declaration of function ‘pcap_compile’
cpyrit/_cpyrit_cpu.c:1651: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1653: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1657: warning: implicit declaration of function ‘pcap_setfilter’
cpyrit/_cpyrit_cpu.c:1657: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1659: error: ‘PcapDevice’ has no member named ‘p’
cpyrit/_cpyrit_cpu.c:1660: warning: implicit declaration of function ‘pcap_freecode’
cpyrit/_cpyrit_cpu.c:1639: warning: unused variable ‘fp’
cpyrit/_cpyrit_cpu.c: At top level:
cpyrit/_cpyrit_cpu.c:1957: error: ‘PcapDevice’ has no member named ‘datalink’
cpyrit/_cpyrit_cpu.c:2179: fatal error: error closing -: Broken pipe
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
error: command 'gcc' failed with exit status 1
有什么想法吗?感谢您的帮助。
最佳答案
您缺少 openssl-devel
和 libpcap-devel
包;使用 yum
安装它们。此外,在重试之前删除 build/temp.linux-i686-2.6/
。
关于Python安装pyrit报错,CentOS下命令gcc,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11998805/
我正在尝试在 Conda 环境中编译一些代码,在那里我 之前安装的编译包gcc_linux-64 . 然而,即使在停用和重新激活环境之后,gcc还在/usr/bin/gcc . 我该怎么做才能让 Co
关闭。这个问题是opinion-based .它目前不接受答案。 想要改进这个问题? 更新问题,以便 editing this post 可以用事实和引用来回答它. 关闭 7 年前。 Improve
这其实是两个问题: 1 - 在我的 debian amd64 系统上,我似乎无法构建与 gmp/mpfr/mpc 动态链接的交叉 GCC。即使我删除 --disable-shared,它也总是静态链接
研究ELF格式的结果,可以看到目标文件中有一个符号对应每个函数,对应的符号表项的值为st_size,表示大小的功能。 问题是,即使我更改了目标文件中特定函数的 st_size 并链接了它,但可执行文件
海湾合作委员会的 documentation for #line directives说他们是这样的: #line "myfile.cpp" 123 但是当我用 g++ 5.1 检查输出时,它们实际上
我正在使用 as 和 gcc 来汇编和创建 ARM 汇编程序的可执行文件,正如 this 所推荐的那样教程,如下: 给定一个汇编源文件,program.s,我运行: as -o program.o p
long long x; double n; x=long long(n); 这不起作用。什么是正确的方法? 最佳答案 显而易见的: x = (long long) n; 关于gcc - 转换为长长
我想知道用于 gcc 的原子内置函数的头文件是什么? 我想使用这 2 个函数为我当前创建的线程库实现互斥锁。 bool __sync_bool_compare_and_swap (type *ptr,
它出现在 another question :gcc调用的程序和部件是什么? (特别是在编译 C 或 C++ 时)以便有人可以设计一些拦截和更改流程的方案以用于各种自定义编码目的? 最佳答案 编译器二
可能吗?我想使用 gcc喜欢 assembler并在将其编译为 ubuntu 上的可执行文件后。 我尝试过这个: gcc a.asm -o out.o 来自 out.o文件编译成.out可执行文件。
我写了一个简单的 C 程序 test.c : #include #include int add(int a, int b); int main() { int i=5,j=10;
即。所以如果你使用任何八进制文字,它会给你一个警告。 微软编译器的同样问题。 如果没有,是否有任何其他工具可以检测八进制文字。 (vim 似乎有一个很酷的技巧,它突出了第一个领先的将不同的颜色归零,但
我在旧线程中搜索。但没有找到任何线程回答我的问题。 gcc 是否像 vc++ 一样支持函数级链接? 如果是,我应该提供什么选项来链接目标文件和库? 最佳答案 看起来 gcc 不直接支持函数级链接。您可
也许标题并没有把问题说得那么准确:我知道当我运行 gcc foo.c 时,GCC 会调用其他为它完成所有工作的子程序,从而生成主 gcc 程序只是一个界面。但这究竟是如何完成的呢? 它是否使用syst
我听说最近版本的 gcc 非常擅长将通过函数指针的调用转换为直接调用。但是,我在网上或快速浏览 gcc 的源代码上找不到任何关于它的信息。有谁知道这是否真的是真的,如果是这样,它使用什么算法来做到这一
gcc/g++ 链接器选项“-Map”生成的“.map”文件用于什么? 以及如何阅读它们? 最佳答案 我建议为您投入生产的任何软件生成一个映射文件并保留一份副本。 它可用于破译崩溃报告。根据系统的不同
gcc信息文件在有关x86-64特定标志的部分中说 其他事情: There is no `-march=generic' option because `-march' ind
我想知道 gcc 链接器选项(例如:-Wl,options)是否可以更改编译后的可执行文件中的汇编指令,因为如果您使用某些 gcc 优化选项会发生这种情况? 当您比较编译后的二进制文件(例如比较签名)
是否有GCC编译指示会停止,暂停或中止编译过程? 我正在使用gcc 4.1,但也希望在gcc 3.x版本上也可以使用该编译指示。 最佳答案 您可能需要#error: edd@ron:/tmp$ g++
当我使用gcc编译C程序时我通常使用 -g 将一些调试信息放入 elf 文件中这样 gdb 就可以在需要时帮助我。 但是,我注意到有些程序使用 -ggdb,因为它应该使调试信息对 gdb 更加友好。
我是一名优秀的程序员,十分优秀!