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

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




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


 


Rackspace

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