编译busybox
修改一下
fang@fang-virtual-machine:~/soft/build/busybox-1.20.2$ vi include/libbb.h
添加一行
-
#include "sys/resource.h"
-
要不会出现如下错误:
-
loginutils/passwd.c: In function ‘passwd_main’:
-
loginutils/passwd.c:104:16: error: storage size of ‘rlimit_fsize’ isn’t known
-
loginutils/passwd.c:188:2: warning: implicit declaration of function ‘setrlimit’ [-Wimplicit-function-declaration]
-
loginutils/passwd.c:188:12: error: ‘RLIMIT_FSIZE’ undeclared (first use in this function)
-
loginutils/passwd.c:188:12: note: each undeclared identifier is reported> each function it appears in
-
loginutils/passwd.c:104:16: warning: unused variable ‘rlimit_fsize’ [-Wunused-variable]
阅读(5525) | 评论(1) | 转发(1) |