[Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure

Peter Seiderer ps.report at gmx.net
Fri Mar 21 19:42:57 UTC 2014


Hello Baruch,

> Gesendet: Freitag, 21. März 2014 um 05:16 Uhr
> Von: "Baruch Siach" <baruch at tkos.co.il>
> An: "Peter Seiderer" <ps.report at gmx.net>
> Cc: buildroot at busybox.net
> Betreff: Re: [Buildroot] ARC/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316 compile failure
>
> Hi Peter,
> 
> On Thu, Mar 20, 2014 at 11:56:38PM +0100, Peter Seiderer wrote:
> > with latest buildroot from git I get the following uclib compile failure.
> > 
> > Buildroot defconfig:
> > 
> > BR2_arceb=y
> > 
> > Build log:
> > ...
> >   CC libc/sysdeps/linux/common/getpgid.os
> >   CC libc/sysdeps/linux/common/modify_ldt.os
> >   CC libc/sysdeps/linux/common/posix_fadvise.os
> > libc/sysdeps/linux/common/posix_fadvise.c:26:29: error: unknown type name 'off64_t'
> >  int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
> >                              ^
> > libc/sysdeps/linux/common/posix_fadvise.c:26:45: error: unknown type name 'off64_t'
> >  int posix_fadvise64(int fd, off64_t offset, off64_t len, int advice);
> >                                              ^
> > libc/sysdeps/linux/common/posix_fadvise.c: In function 'posix_fadvise':
> > libc/sysdeps/linux/common/posix_fadvise.c:32:2: warning: implicit declaration of function 'posix_fadvise64' [-Wimplicit-function-declaration]
> >   return posix_fadvise64(fd, offset, len, advice);
> >   ^
> > make[2]: *** [libc/sysdeps/linux/common/posix_fadvise.os] Error 1
> > make[1]: *** [/home/seiderer/Work/zeiss/freescale-imx6/build_arc/build/uclibc-f37101d94284c692ee9b23bc72ef38b9473cd316/.stamp_built] Error 2
> > make: *** [_all] Error 2
> 
> Do you have LFS support disabled? If so this is a known issue. You may try the 
> patch at http://thread.gmane.org/gmane.comp.lib.uclibc.general/23714 .
> 

Thank you very much for the suggested patch, fixed the compile for me, will send
a patch for buildroot soon...

Peter

> baruch
> 
> -- 
>      http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>    - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>



More information about the buildroot mailing list