[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-discuss] error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in
Re: [Qemu-discuss] error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
Tue, 19 May 2015 08:26:25 +0100
On 19 May 2015 at 03:01, qiaojianfeng <address@hidden> wrote:
> I’m not sure whether I post the issue in the right place, if not correct,
> sorry for noise and please help me route this email to the right place.
I've cc'd qemu-devel and the block maintainer.
> I’m running into an error while I build the lastest qemu source code. The
> error messages are as follows,
> block/raw-posix.c: In function ‘xfs_write_zeroes’:
> block/raw-posix.c:1025: error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in
> this function)
> block/raw-posix.c:1025: error: (Each undeclared identifier is reported only
> block/raw-posix.c:1025: error: for each function it appears in.)
> make: *** [block/raw-posix.o] Error 1
What system are you building this on? It looks like we think we have
XFS support but your system's xfs.h doesn't have the definition of that
ioctl, which is a bit odd because it's been around for years.