打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
busybox-1.20.2 编译不过解决
 vim include/libbb.h 

在头文件里加一句 
 #include <sys/resource.h>
 
最后如下:
#include <sys/poll.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/resource.h>      //add this file
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/time.h>


  1. 要不会出现如下错误:
  2. loginutils/passwd.c: In function ‘passwd_main’:
  3. loginutils/passwd.c:104:16: error: storage size of ‘rlimit_fsize’ isn’t known
  4. loginutils/passwd.c:188:2: warning: implicit declaration of function ‘setrlimit’ [-Wimplicit-function-declaration]
  5. loginutils/passwd.c:188:12: error: ‘RLIMIT_FSIZE’ undeclared (first use in this function)
  6. loginutils/passwd.c:188:12: note: each undeclared identifier is reported>for each function it appears in
  7. loginutils/passwd.c:104:16: warning: unused variable ‘rlimit_fsize’ [-Wunused-variable]
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
《时间态定义、分类及特征的哲学研究》
什么是本科?什么是专科?
手机垃圾最大贼窝,两步才能彻底干掉!第一步,首先进行表层干掉,打
爱做饭的人一定要收藏(厨房小知识)
俏皮话(3073)
英语16种时态手绘图
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服