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

Jaroslav Kysela perex at perex.cz
Tue Jul 23 14:55:43 CEST 2013

Date 22.7.2013 23:22, Kevin Groeneveld wrote:
> 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.

I tried to fix this issue using <linux/types.h>. Please, check:



Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.

More information about the Alsa-devel mailing list