[Buildroot] Using external toolchain

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Dec 23 19:49:49 UTC 2014


Dear Charles Krinke,

On Tue, 23 Dec 2014 10:32:11 -0800, Charles Krinke wrote:

> loginutils/passwd.c: In function 'passwd_main':
> loginutils/passwd.c:93:16: error: storage size of 'rlimit_fsize' isn't known
>   struct rlimit rlimit_fsize;
>                 ^
> loginutils/passwd.c:180:2: warning: implicit declaration of function
> 'setrlimit' [-Wimplicit-function-declaration]
>   setrlimit(RLIMIT_FSIZE, &rlimit_fsize);
>   ^
> loginutils/passwd.c:180:12: error: 'RLIMIT_FSIZE' undeclared (first use in
> this function)

Too old Busybox. Please make sure you have a version that has at least
http://git.buildroot.net/busybox/commit/loginutils/passwd.c?id=c5fe9f7b723f949457263ef8e22ab807d5b549ce.

You should *really* consider updating. By using a 3 years old
Buildroot, with 3 years old upstream software, you are going to face
zillions of issues that have already been fixed since 2+ years, like
this passwd.c build problem. This very problem is an excellent
illustration of why sticking with such old versions is a bad decision.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list