On Sunday 29 June 2008 05:57, Poly-p man wrote:
> I just checked out the svn tree from earlier today... this bug has been
> present for quite a while, though.
> 
> I have a toolchain for i486-linux-uclibc- set up and working (thanks to
> buildroot). When I manually (with the cross-compiler config option set
> correctly) compile, with fdisk set to build, I get an error on make:
> 
> util-linux/fdisk.c: In function 'seek_sector':
> util-linux/fdisk.c:693: warning: implicit declaration of function 'lseek64'
> util-linux/fdisk.c:693: error: 'off64_t' undeclared (first use in this 
> function)
> util-linux/fdisk.c:693: error: (Each undeclared identifier is reported only 
> once
> util-linux/fdisk.c:693: error: for each function it appears in.)
> util-linux/fdisk.c:693: error: expected ')' before 'secno'
> make[1]: *** [util-linux/fdisk.o] Error 1
> make: *** [util-linux] Error 2
> 
> Offending line: 
>         if (lseek64(dev_fd, (off64_t)secno, SEEK_SET) == (off64_t) -1)
> 
> I don't have large file support enabled anywhere - including busybox.

Liar. :) You have this in your .config:

CONFIG_FDISK_SUPPORT_LARGE_DISKS=y
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to