qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu-cvs-2007-5-2 compile error


From: andrzej zaborowski
Subject: Re: [Qemu-devel] qemu-cvs-2007-5-2 compile error
Date: Wed, 2 May 2007 19:31:51 +0200

Hi,

On 02/05/07, Sunil Amitkumar Janki <address@hidden> wrote:
Hwang YunSong(황윤성) wrote:
> make[1]: Entering directory `/home/hys545/qemu/arm-softmmu'
> gcc33 -Wall -O2 -g -fno-strict-aliasing -I. -I.. 
-I/usr/src/Haansoft/BUILD/qemu/target-arm -I/usr/src/Haansoft/BUILD/qemu 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/usr/src/Haansoft/BUILD/qemu/fpu -DHAS_AUDIO -DHIGH_LATENCY 
-I/usr/src/Haansoft/BUILD/qemu/slirp    -c -o alsaaudio.o 
/usr/src/Haansoft/BUILD/qemu/audio/alsaaudio.c
> /usr/src/Haansoft/BUILD/qemu/audio/alsaaudio.c: In function `alsa_open':
> /usr/src/Haansoft/BUILD/qemu/audio/alsaaudio.c:359: error: 
`DEFAULT_BUFFER_SIZE' undeclared (first use in this function)
> /usr/src/Haansoft/BUILD/qemu/audio/alsaaudio.c:359: error: (Each undeclared 
identifier is reported only once
> /usr/src/Haansoft/BUILD/qemu/audio/alsaaudio.c:359: error: for each function 
it appears in.)
> /usr/src/Haansoft/BUILD/qemu/audio/alsaaudio.c:360: error: 
`DEFAULT_PERIOD_SIZE' undeclared (first use in this function)
> make[1]: *** [alsaaudio.o] 오류 1
> make[1]: Leaving directory `/home/hys545/qemu/arm-softmmu'
>
I had the same error 3 days ago but I don't know what it is caused by.
I also looked for DEFAULT_BUFFER_SIZE and DEFAULT_PERIOD_SIZE
in /usr/include but couldn't find them. Maybe someone knows what this error
message is about, e.g. newer ALSA headers necessary.

Sorry, this was caused by adding audio in qemu-system-arm and adding
-DHIGH_LATENCY (which in turn triggered a problem in alsaaudio.c). Now
I removed the HIGH_LATENCY definition, but also changed alsaaudio.c to
compile with HIGH_LATENCY.

Andrzej

reply via email to

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