[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#203852: busybox-cvs: FTBFS on alpha



On Sat, Aug 02, 2003 at 08:07:53AM +0100, Alastair McKinstry wrote:
> Package: busybox-cvs
> Version: 0.60.99.cvs20030426 (not installed)
> Severity: serious
> 
> 
> Fails to build from source on Alpha:
> 
> 
> gcc -I./include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os
> -fomit-frame-pointer -D_BSD_SOURCE -DNDEBUG    -D_GNU_SOURCE
> -I./modutils/obj/  -c -o util-linux/fdisk.o util-linux/fdisk.c
> util-linux/fdisk.c:860: warning: declaration of `fd' shadows a global
> declaration
> util-linux/fdisk.c:214: warning: shadowed declaration is here
> util-linux/fdisk.c: In function `_llseek':
> util-linux/fdisk.c:862: error: `__NR__llseek' undeclared (first use in
> this function)
> util-linux/fdisk.c:862: error: (Each undeclared identifier is reported
> only once
> util-linux/fdisk.c:862: error: for each function it appears in.)
> util-linux/fdisk.c: In function `my_llseek':
> util-linux/fdisk.c:873: warning: passing arg 4 of `_llseek' from
> incompatible pointer type
> 
> Due to a lacking ___NR_llseek on Alpha. I think defining it as ==
> __NR_lseek should do, as the alpha is 64-bit. 
> 
> This bug is serious as it breaks debian-installer on the Alpha.
> 

Yep. using __NR_lseek instead works fine. Runs here for almost a week
now.

Cheers,

Peter.



Reply to: