在使用ubuntu22编译openwrt 19时报错:c-stack.c:55:26: error: missing binary operator before token "(" 55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
解决办法:(使用补丁)
在openwrt目录下:
cd tools/m4/patches
wget https://raw.githubusercontent.com/keyfour/openwrt/2722d51c5cf6a296b8ecf7ae09e46690403a6c3d/tools/m4/patches/011-fix-sigstksz.patch
解决Ubuntu22编译OpenWRT19时的c-stack.c错误
在使用Ubuntu22操作系统编译OpenWRT19固件时遇到了一个错误,具体是关于文件c-stack.c中的行55,错误提示缺少二进制操作符。为了解决这个问题,可以应用一个补丁。用户需要进入openwrt的tools/m4/patches目录,然后从GitHub下载011-fix-sigstksz.patch这个补丁文件,该补丁用于修复SIGSTKSZ小于16384时的编译问题。
558

被折叠的 条评论
为什么被折叠?



