Re: qemu-1.1.0 build fails on NetBSD-5.1_STABLE/i386

Ryo ONODERA <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.user,gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
Hi,

From: "John D. Baker" <[email protected]>, Date: Wed, 6 Jun 2012 08:39:18 -0500 (CDT)

> The mailing list is given as "MAINTAINER" even though this is in the
> "wip" sub-project.
> 
> Attempting to build wip/qemu (qemu-1.1.0) on NetBSD-5.1_STABLE/i386
> fails with the following:
> 
> [...]
>   CC    audio/audio.o
> audio/audio.c: In function 'AUD_read':
> audio/audio.c:1173: error: 'struct audio_pcm_ops' has no member named
> '__read_alias'
> gmake: *** [audio/audio.o] Error 1
> *** Error code 2
> 
> Stop.
> make: stopped in /d0/local/pkgsrc/wip/qemu
> *** Error code 1
> 
> Stop.
> make: stopped in /d0/local/pkgsrc/wip/qemu

I have committed patch-audio_audio.c.
It will fix your build.
I have tested on NetBSD/i368 5.1.2.

Thank you.

P.S.
After your confirmation, I will update pkgsrc/emulators/qemu with wip/qemu.

> It builds and runs OK on NetBSD-6.0_BETA2/i386.

-- 
Ryo ONODERA // [email protected]
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.