23 Jul
2013
23 Jul
'13
2:55 p.m.
Date 22.7.2013 23:22, Kevin Groeneveld wrote:
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.
I tried to fix this issue using <linux/types.h>. Please, check:
http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=b3b53a1bec47aaa2b...
Jaroslav
--
Jaroslav Kysela perex@perex.cz
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.