On 2012-09-17 21:54, malc wrote: > On Mon, 17 Sep 2012, Anthony Liguori wrote: > >> malc <av1...@comtv.ru> writes: >> >>> Some(thing|one) broke compilation with pcspk enabled. >>> Symptoms being: >>> >>> ../libhw32/hw/pcspk.o: In function `pcspk_io_write': >>> /home/malc/x/rcs/git/qemu/hw/pcspk.c:145: undefined reference to >>> `pit_set_gate' >>> ../libhw32/hw/pcspk.o: In function `pcspk_io_read': >>> /home/malc/x/rcs/git/qemu/hw/pcspk.c:130: undefined reference to >>> `pit_get_channel_info' >>> ../libhw32/hw/pcspk.o: In function `pcspk_callback': >>> /home/malc/x/rcs/git/qemu/hw/pcspk.c:81: undefined reference to >>> `pit_get_channel_info' >>> collect2: ld returned 1 exit status >> >> Try cleaning your build directory. >> >> It builds fine for me. >> > > --target-list=xtensa-softmmu --audio-card-list=pcspk
pcspk is not supposed to be specified like this. It's automatically built for those targets that support it. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SDP-DE Corporate Competence Center Embedded Linux