[alsa-devel] alsa-lib 1.0.27 incorrect definition of __kernel_off_t?

Kevin Groeneveld kgroeneveld at gmail.com
Mon Jul 22 23:22:12 CEST 2013

I tried doing a cross compile of alsa-lib today and ended up with
the following error:

error: conflicting types for 'off_t'

Commit 9b5beef1 adds the following line to local.h:

#define __kernel_off_t        off_t

Not only is __kernel_off_t already defined elsewhere in my header files,
the above line tries to define __kernel_off_t (which I think should be 32
bit on my platform) to off_t which is 64 bit.

I just deleted the line and everything seems to be working so far.


More information about the Alsa-devel mailing list