openwrt 编译遇到的问题

zlib.h: No such file or directory
apt-get install libz-dev 或者
apt-get install zlib1g-dev

fatal error: linux/compiler-gcc6.h: No such file or directory
解决:网上说需要降gcc 版本

ubuntu 安装多套 gcc 和版本切换
https://blog.csdn.net/lzy0168/article/details/78276167

fatal error: openssl/evp.h: No such file or directory
apt-get install libssl-dev

rsa-sign.c:279:21: error: dereferencing pointer to incomplete type
apt install libssl1.0-dev

*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
apt install gettext

你可能感兴趣的:(OpenWrt)