Re: xfsprogs for-next build error on Debian Wheezy / amd64

Dave Chinner
2015-06-10T08:19:19Z

On Wed, Jun 10, 2015 at 12:06:04AM -0700, Christoph Hellwig wrote:
> hch@brick:~/work/xfsprogs$ make
> Building include
> Building libxfs
> [TEST] CRC32
> In file included from crc32.c:61:0:
> crc32table.h:4:1: error: ‘__le32’ undeclared here (not in a
> function)
> crc32table.h:4:1: error: expected expression before ‘__u32’
> crc32table.h:4:20: error: expected expression before ‘__u32’
> crc32table.h:4:39: error: expected expression before ‘__u32’
> crc32table.h:4:58: error: expected expression before ‘__u32’
> crc32table.h:5:1: error: expected expression before ‘__u32’
> crc32table.h:5:20: error: expected expression before ‘__u32’
> crc32table.h:5:39: error: expected expression before ‘__u32’
> crc32table.h:5:58: error: expected expression before ‘__u32’
>
> ... and so on
>
> Seems like we're not getting the right headers included in this
> generated file, but I'm lost on what exactly is the error.

Does the problem go away after a 'make distclean'?

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com