gpt4 book ai didi

c++ - 从 peter fillmore 编译 proxmark3 fork 时出错

转载 作者:太空宇宙 更新时间:2023-11-04 13:10:19 25 4
gpt4 key购买 nike

我拼命尝试编译Peter Fillmore's fork from github .

其他分支在同一机器/操作系统上编译良好,但无法通过比较 Makefile 等找到错误。其他人也有类似的问题,但也找不到答案。

我编译了 FW,但客户端编译给我这个错误:

in file included from proxmark3.h:16:0, from proxmark3.c:20:
/usr/arm-linux-gnueabi/include/inttypes.h:290:8: error: unknown type name ‘intmax_t’
extern intmax_t imaxabs (intmax_t __n) __THROW __attribute__ ((__const__));
^~~~~~~~
/usr/arm-linux-gnueabi/include/inttypes.h:290:26: error: unknown type name ‘intmax_t’
extern intmax_t imaxabs (intmax_t __n) __THROW __attribute__ ((__const__));
^~~~~~~~
/usr/arm-linux-gnueabi/include/inttypes.h:293:27: error: unknown type name ‘intmax_t’
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
^~~~~~~~
/usr/arm-linux-gnueabi/include/inttypes.h:293:45: error: unknown type name ‘intmax_t’
extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
^~~~~~~~
/usr/arm-linux-gnueabi/include/inttypes.h:297:8: error: unknown type name ‘intmax_t’
extern intmax_t strtoimax (const char *__restrict __nptr,
^~~~~~~~
/usr/arm-linux-gnueabi/include/inttypes.h:301:8: error: unknown type name ‘uintmax_t’
extern uintmax_t strtoumax (const char *__restrict __nptr,
^~~~~~~~~
/usr/arm-linux-gnueabi/include/inttypes.h:305:8: error: unknown type name ‘intmax_t’
extern intmax_t wcstoimax (const __gwchar_t *__restrict __nptr,
^~~~~~~~
/usr/arm-linux-gnueabi/include/inttypes.h:310:8: error: unknown type name ‘uintmax_t’
extern uintmax_t wcstoumax (const __gwchar_t *__restrict __nptr,

我已经尝试了很多东西,但我无法让它工作。

更具体地说:我在不同的操作系统上尝试过,即 Kali liniux (debian) 和 Win8/10。都给了我同样的错误。

我也在这里发布了问题:http://proxmark.org/forum/viewtopic.php?id=3898 .

我试图指向另一个 <inttypes.h>但得到类似的错误。如果我删除它,我会收到此错误

In file included from /usr/include/newlib/sys/types.h:63:0, from /usr/include/newlib/stdio.h:48, from optimized_cipher.c:64: /usr/include/newlib/sys/_stdint.h:31:19: error: conflicting types for 'int32_t' typedef __int32_t int32_t ;

等等

最佳答案

一个解决方案似乎是从/include 目录中删除 stdint.h。之后必须更正一些格式错误,然后编译。

关于c++ - 从 peter fillmore 编译 proxmark3 fork 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40261228/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com