All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christoph Egger" <Christoph.Egger@amd.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH][TOOLS] ioemu: build fix
Date: Thu, 15 Nov 2007 15:00:07 +0100	[thread overview]
Message-ID: <200711151500.07413.Christoph.Egger@amd.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1199 bytes --]


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@amd.com>


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

[-- Attachment #2: tools_ioemu.diff --]
[-- Type: text/plain, Size: 330 bytes --]

diff -r ba69fe2dce91 tools/ioemu/Makefile.target
--- a/tools/ioemu/Makefile.target	Tue Nov 13 20:13:50 2007 +0000
+++ b/tools/ioemu/Makefile.target	Thu Nov 15 17:01:41 2007 +0100
@@ -365,6 +365,7 @@ endif
 endif
 ifdef CONFIG_OSS
 AUDIODRV += ossaudio.o
+LIBS += -lossaudio
 endif
 ifdef CONFIG_COREAUDIO
 AUDIODRV += coreaudio.o

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

             reply	other threads:[~2007-11-15 14:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-15 14:00 Christoph Egger [this message]
2007-11-16 16:41 ` [PATCH][TOOLS] ioemu: build fix Keir Fraser
2007-11-16 17:22   ` Christoph Egger
2007-11-16 17:49     ` Keir Fraser
2007-11-22 10:38       ` Christoph Egger
2007-11-22 10:43         ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711151500.07413.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.