From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christoph Egger" Subject: Re: [PATCH][TOOLS] ioemu: build fix Date: Thu, 22 Nov 2007 11:38:53 +0100 Message-ID: <200711221138.53946.Christoph.Egger@amd.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Revision 1.217 in qemu looks promising, though I haven't tested it: http://cvs.savannah.nongnu.org/viewvc/qemu/Makefile.target?root=3Dqemu&r1= =3D1.216&r2=3D1.217 Christoph On Friday 16 November 2007 18:49:11 Keir Fraser wrote: > It seems that libossaudio is a bsd-specific ossaudio compat library. Eith= er > you need to make extra -lossaudio specific to *bsd, or you need to > auto-detect presence of the library (somehow). Or maybe both. > > -- Keir > > On 16/11/07 17:22, "Christoph Egger" wrote: > > On Friday 16 November 2007 17:41:20 Keir Fraser wrote: > >> That doesn't work so well on non-bsd, where libossaudio appears not to > >> exist. Does upstream qemu have a solution for this we could pull down? > > > > I don't know. I haven't looked at it. I noticed this dependency on my B= SD > > machine, where I don't have SDL installed. On the BSD machine where I > > have SDL installed, SDL is linked against ossaudio and therefore > > inherited _oss_ioctl and I didn't notice this dependency earlier. > > > >> -- Keir > >> > >> On 15/11/07 14:00, "Christoph Egger" wrote: > >>> Hi! > >>> > >>> Attached patch fixes the following linking error which I am seeing on > >>> BSD: > >>> > >>> ossaudio.o: In function `oss_open': > >>> /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:223: undefined > >>> reference to `_oss_ioctl' > >>> /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:228: undefined > >>> reference to `_oss_ioctl' > >>> /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:234: undefined > >>> reference to `_oss_ioctl' > >>> /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:239: undefined > >>> reference to `_oss_ioctl' > >>> /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:245: undefined > >>> reference to `_oss_ioctl' > >>> ossaudio.o:/root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:251: more > >>> undefined references to `_oss_ioctl' follow > >>> > >>> Signed-off-by: Christoph Egger > >> > >> _______________________________________________ > >> Xen-devel mailing list > >> Xen-devel@lists.xensource.com > >> http://lists.xensource.com/xen-devel =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy