微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 Apple M1 上构建 OpenWRT 包而不选择 ARM

如何解决在 Apple M1 上构建 OpenWRT 包而不选择 ARM

尝试在 M1 cpu 上构建 openWRT 包时,无法确定位数。

checking whether to install,and ... yes
checking for working const... yes
checking for off_t... yes
checking for size_t... yes
checking size of short... 0
checking size of int... 0
checking size of long... 0
checking size of long long... 0
checking size of __int64... 0
checking for 64-bit integer... no
checking for 32-bit integer... no
configure: error: neither int nor long is 32-bit
make[2]: *** [/Volumes/OpenWrt/openwrt/build_dir/host/libelf-0.8.13/.configured] Error 1
make[2]: Leaving directory `/Volumes/OpenWrt/openwrt/tools/libelf'
time: tools/libelf/compile#0.36#0.35#0.97
make[1]: *** [tools/libelf/compile] Error 2
make[1]: Leaving directory `/Volumes/OpenWrt/openwrt'
make: *** [tools/install] Error 2

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。