From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Christoph Egger" Subject: [PATCH][TOOLS] ioemu: build fix Date: Thu, 15 Nov 2007 15:00:07 +0100 Message-ID: <200711151500.07413.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_nDFPHnu6q0Uhyjl" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_nDFPHnu6q0Uhyjl Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 `_oss_ioctl' /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:228: undefined reference = to=20 `_oss_ioctl' /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:234: undefined reference = to=20 `_oss_ioctl' /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:239: undefined reference = to=20 `_oss_ioctl' /root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:245: undefined reference = to=20 `_oss_ioctl' ossaudio.o:/root/xen-staging.hg/tools/ioemu/audio/ossaudio.c:251: more=20 undefined references to `_oss_ioctl' follow Signed-off-by: Christoph Egger =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 --Boundary-00=_nDFPHnu6q0Uhyjl Content-Type: text/plain; charset=iso-8859-1; name=tools_ioemu.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=tools_ioemu.diff 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 --Boundary-00=_nDFPHnu6q0Uhyjl Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_nDFPHnu6q0Uhyjl--