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

[Xen-devel] [PATCH] Fix gdbserver-xen build errors

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix gdbserver-xen build errors
From: "Travis Betak" <travis.betak@xxxxxxx>
Date: Wed, 30 Aug 2006 11:32:57 -0500 (CDT)
Delivery-date: Wed, 30 Aug 2006 09:33:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

This may or may not be the correct place to put this fix but it does fix
the following build error:

In file included from ../../../../../libxc/xenctrl.h:16,
                 from ../../../gdb-6.2.1/gdb/gdbserver/linux-xen-low.c:38:
../../../../../libxc/xen/domctl.h:14:2: #error "domctl operations are intended for 
use by node control tools only"
In file included from ../../../../../libxc/xenctrl.h:17,
                 from ../../../gdb-6.2.1/gdb/gdbserver/linux-xen-low.c:38:
../../../../../libxc/xen/sysctl.h:13:2: #error "sysctl operations are intended for 
use by node control tools only"

Signed-off-by: Travis Betak <travis.betak@xxxxxxx>

---

diff -r a39ad4c78850 tools/debugger/gdb/gdbbuild
--- a/tools/debugger/gdb/gdbbuild       Wed Aug 30 13:51:12 2006 +0100
+++ b/tools/debugger/gdb/gdbbuild       Wed Aug 30 11:33:41 2006 -0500
@@ -18,7 +18,7 @@ if [ "$MAKE" ]; then
 if [ "$MAKE" ]; then
     $MAKE
 elif which gmake ; then
-    gmake -j4
+    gmake -j4 CFLAGS=-D__XEN_TOOLS__
 else
-    make -j4
+    make -j4 CFLAGS=-D__XEN_TOOLS__
 fi



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

<Prev in Thread] Current Thread [Next in Thread>