qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-cvs-2007-5-2 compile error
@ 2007-05-01 23:54 Hwang YunSong(황윤성)
  2007-05-02  1:30 ` Thiemo Seufer
  2007-05-02  8:48 ` Sunil Amitkumar Janki
  0 siblings, 2 replies; 4+ messages in thread
From: Hwang YunSong(황윤성) @ 2007-05-01 23:54 UTC (permalink / raw)
  To: qemu-devel

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'


-------------------------------------------------
Your Life on the Net
DreamWiz Free Mail @ http://www.dreamwiz.com/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] qemu-cvs-2007-5-2 compile error
  2007-05-01 23:54 [Qemu-devel] qemu-cvs-2007-5-2 compile error Hwang YunSong(황윤성)
@ 2007-05-02  1:30 ` Thiemo Seufer
  2007-05-02  8:48 ` Sunil Amitkumar Janki
  1 sibling, 0 replies; 4+ messages in thread
From: Thiemo Seufer @ 2007-05-02  1:30 UTC (permalink / raw)
  To: Hwang YunSong(??????); +Cc: qemu-devel

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'

You probably neeed to re-run ./configure.


Thiemo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] qemu-cvs-2007-5-2 compile error
  2007-05-01 23:54 [Qemu-devel] qemu-cvs-2007-5-2 compile error Hwang YunSong(황윤성)
  2007-05-02  1:30 ` Thiemo Seufer
@ 2007-05-02  8:48 ` Sunil Amitkumar Janki
  2007-05-02 17:31   ` andrzej zaborowski
  1 sibling, 1 reply; 4+ messages in thread
From: Sunil Amitkumar Janki @ 2007-05-02  8:48 UTC (permalink / raw)
  To: qemu-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] qemu-cvs-2007-5-2 compile error
  2007-05-02  8:48 ` Sunil Amitkumar Janki
@ 2007-05-02 17:31   ` andrzej zaborowski
  0 siblings, 0 replies; 4+ messages in thread
From: andrzej zaborowski @ 2007-05-02 17:31 UTC (permalink / raw)
  To: qemu-devel

Hi,

On 02/05/07, Sunil Amitkumar Janki <psychicistnonconformist@gmail.com> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-05-02 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-01 23:54 [Qemu-devel] qemu-cvs-2007-5-2 compile error Hwang YunSong(황윤성)
2007-05-02  1:30 ` Thiemo Seufer
2007-05-02  8:48 ` Sunil Amitkumar Janki
2007-05-02 17:31   ` andrzej zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).