WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][TOOLS] ioemu: build fix

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][TOOLS] ioemu: build fix
From: "Christoph Egger" <Christoph.Egger@xxxxxxx>
Date: Thu, 22 Nov 2007 11:38:53 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 22 Nov 2007 02:39:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3638897.18923%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C3638897.18923%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
Revision 1.217 in qemu looks promising, though I haven't tested it:
http://cvs.savannah.nongnu.org/viewvc/qemu/Makefile.target?root=qemu&r1=1.216&r2=1.217

Christoph

On Friday 16 November 2007 18:49:11 Keir Fraser wrote:
> It seems that libossaudio is a bsd-specific ossaudio compat library. Either
> 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" <Christoph.Egger@xxxxxxx> 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 BSD
> > 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" <Christoph.Egger@xxxxxxx> 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 <Christoph.Egger@xxxxxxx>
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@xxxxxxxxxxxxxxxxxxx
> >> http://lists.xensource.com/xen-devel



-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel