[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Christoph Egger <Christoph.Egger@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Fri, 16 Nov 2007 17:49:11 +0000
  • Delivery-date: Fri, 16 Nov 2007 09:50:06 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcgoeP5wPOah3ZRsEdywRgAX8io7RQ==
  • Thread-topic: [Xen-devel] [PATCH][TOOLS] ioemu: build fix

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
> 
> 



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.