From: Jaroslav Kysela <perex@perex.cz>
To: Kevin Groeneveld <kgroeneveld@gmail.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: alsa-lib 1.0.27 incorrect definition of __kernel_off_t?
Date: Tue, 23 Jul 2013 14:55:43 +0200 [thread overview]
Message-ID: <51EE7D4F.6040204@perex.cz> (raw)
In-Reply-To: <CABF+-6UXCFt5Oq0yiOkrfiN3kxWtae8zbOkqrdTFmDMm3h07Pw@mail.gmail.com>
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=b3b53a1bec47aaa2baef724cc9e79adadd603caf
Jaroslav
--
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.
next prev parent reply other threads:[~2013-07-23 12:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 21:22 alsa-lib 1.0.27 incorrect definition of __kernel_off_t? Kevin Groeneveld
2013-07-23 12:55 ` Jaroslav Kysela [this message]
2013-07-23 14:58 ` Kevin Groeneveld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51EE7D4F.6040204@perex.cz \
--to=perex@perex.cz \
--cc=alsa-devel@alsa-project.org \
--cc=kgroeneveld@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.