Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8549) alsa compile error
Home

[Freeciv-Dev] Re: (PR#8549) alsa compile error

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#8549) alsa compile error
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Wed, 21 Apr 2004 18:48:15 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8549 >

On Wed, 21 Apr 2004, Per I. Mathisen wrote:

>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8549 >
>
> On Mon, 19 Apr 2004, Mike Kaufman wrote:
> > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./include -I../common
> > -I../common/aicore -I../intl -I./agents     -g -O2 -Wall -Wpointer-arith
> > -Wcast-align -Wmissing-prototypes -Wmissing-declarations -MT audio_alsa.o
> > -MD -MP -MF ".deps/audio_alsa.Tpo" \
> > -c -o audio_alsa.o `test -f 'audio_alsa.c' || echo './'`audio_alsa.c; \
> > then mv -f ".deps/audio_alsa.Tpo" ".deps/audio_alsa.Po"; \
> > else rm -f ".deps/audio_alsa.Tpo"; exit 1; \
> > fi
> > audio_alsa.c: In function `set_hw_params':
> > audio_alsa.c:127: warning: passing arg 3 of
> > `snd_pcm_hw_params_set_rate_near' makes integer from pointer without a cast
> > audio_alsa.c:136: warning: passing arg 3 of
> > `snd_pcm_hw_params_set_period_time_near' makes integer from pointer without
> > a cast
> > audio_alsa.c:137: warning: passing arg 2 of
> > `snd_pcm_hw_params_get_period_size' from incompatible pointer type
> > audio_alsa.c:137: error: too many arguments to function
> > `snd_pcm_hw_params_get_period_size'
> > make[3]: *** [audio_alsa.o] Error 1
>
> No clue. What version of ALSA do you have?

It works fine here on Fedora Core 2 test 2. I guess it is some sort of
ALSA API change.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa






[Prev in Thread] Current Thread [Next in Thread]