[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Compilation error crossbuilding tools.
On Mon, 8 Apr 2013, Ian Jackson wrote: > Stefano Stabellini writes ("Re: [Xen-devel] Compilation error crossbuilding > tools."): > > On Sat, 6 Apr 2013, Sander Bogaert wrote: > ... > > > block-qcow2.c: In function 'bdrv_pread': > > > block-qcow2.c:238:4: error: format '%llx' expects argument of type > > > 'long long unsigned int', but argument 5 has type '__off_t' > > > [-Werror=format] > ... > > Reading the error, I think that the appended patch (completely untested) > > should fix the problem: > ... > > +#include <sys/mman.h> > > ??? > > How is that going to help ? The problem seems to be that the return > value from lseek is being passed to printf(PRIx64). I guess we have > FILE_OFFSET_BITS=64 or some such so that the return value from lseek > is 32-bit. Yes, you are right. Rather than reading the error I should have written misreading the error :) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |