[Pkg-alsa-devel] Bug#591481: libasound2-dev: /usr/include/alsa/global.h:137: error: redefinition of 'struct timeval'
riesebie at lxtec.de
Tue Aug 3 17:53:32 UTC 2010
severity 591481 minor
tags 591481 wontfix
* John Lindgren [100803 13:32 -0400]:
> On 08/03/2010 01:18 PM, Elimar Riesebieter wrote:
> > * John Lindgren [100803 09:22 -0400]:
> >> With -std=c99 and -D_BSD_SOURCE, there is a conflict between time.h and
> >> alsa/global.h.
> >> #include <time.h>
> >> #include <alsa/asoundlib.h>
> >> $ gcc -c -std=c99 -D_BSD_SOURCE -Wall test.c
> >> In file included from /usr/include/alsa/asoundlib.h:44,
> >> from test.c:2:
> >> /usr/include/alsa/global.h:137: error: redefinition of ???struct timeval???
> >> /usr/include/alsa/global.h:142: error: redefinition of ???struct timespec???
> > So what do you expect Debian Alsa maintainers can do at this point?
> Are you telling me not to report bugs that are present in Debian, to
> Debian, or are you honestly asking my opinion? I suggest (1) patching
> the conditional definition of those structures to include a check for
> _BSD_SOURCE, (2) removing the definitions altogether, since they are not
> necessary in Debian, or (3) forwarding the report to upstream ALSA
> maintainers and asking them to deal with it.
Are you telling me to fix that bug, which (1) doesn't belong to the
Debian packages and (2) you should file upstream by your self
because (3) Debian maintainers are not the secretary of lazy users
who want to build the Debian packages for whatever platforms or use?
PS.: Please let us know the bug# of the the ALSA BTS ;-)
/V\ L I N U X
/( )\ >Phear the Penguin<
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the Pkg-alsa-devel