![](https://secure.gravatar.com/avatar/0980c11092e1063a3d8d14494d593e79.jpg?s=120&d=mm&r=g)
22 Jul
2013
22 Jul
'13
11:22 p.m.
I tried doing a cross compile of alsa-lib 1.0.27.2 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.
Kevin