/linux/usr/include/asm-generic/socket.h:123:5: 警告:“__BITS_PER_LONG”未定义,计算结果为 0 [-Wundef]

问题描述

我只能尝试为 uClibc-ng 和 x86_64 构建自己的 gnu 工具链,为此我尝试了各种工具:buildroot、crosstool-ng。我什至试过自己滚动。对于我尝试的每个工具,在使用阶段 1 gcc 编译器 (10.2.0) 编译 uClibc-ng (rel 1.0.36) 期间,我收到很多错误 /linux/usr/include/asm-generic/socket.h:123:5: warning: "__BITS_PER_LONG" is not defined,evaluates to 0 [-Wundef] linux 头文件来自 5.9.1。我尝试了不同版本的编译器和 uClibc-ng,错误没有改变。有人有什么建议吗?

我也愿意获得一个预先构建的工具链,但 uClibc-ng 有太多选择,事实证明很难找到符合我需求的工具链。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...