From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] [vnet] Fix compilation
Date: Tue, 27 Nov 2007 16:37:54 +0000 [thread overview]
Message-ID: <20071127163754.GA18148@implementation.uk.xensource.com> (raw)
Update vnet compilation.
Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
diff -r 6fd17d0dcbcd tools/vnet/libxutil/Makefile
--- a/tools/vnet/libxutil/Makefile Tue Nov 27 12:49:16 2007 +0000
+++ b/tools/vnet/libxutil/Makefile Tue Nov 27 16:31:55 2007 +0000
@@ -24,7 +24,7 @@ LIB_OBJS := $(LIB_SRCS:.c=.o)
LIB_OBJS := $(LIB_SRCS:.c=.o)
PIC_OBJS := $(LIB_SRCS:.c=.opic)
-CFLAGS += -Werror -fno-strict-aliasing
+CFLAGS += -Werror -fno-strict-aliasing $(call cc-option,$(CC),-fgnu89-inline,)
CFLAGS += -O3
#CFLAGS += -g
diff -r 6fd17d0dcbcd tools/vnet/vnet-module/Makefile.ver
--- a/tools/vnet/vnet-module/Makefile.ver Tue Nov 27 12:49:16 2007 +0000
+++ b/tools/vnet/vnet-module/Makefile.ver Tue Nov 27 16:31:55 2007 +0000
@@ -20,14 +20,14 @@
LINUX_SERIES?=2.6
-LINUX_VERSION?=$(shell (/bin/ls -d $(XEN_ROOT)/pristine-linux-$(LINUX_SERIES).* 2>/dev/null) | \
- sed -e 's!^.*linux-\(.\+\)!\1!' )
+LINUX_VERSION?=$(shell (/bin/ls -d $(XEN_ROOT)/linux-$(LINUX_SERIES).* 2>/dev/null) | \
+ sed -e 's!^.*linux-\(.\+\).hg!\1!' )
ifeq ($(LINUX_VERSION),)
$(error Kernel source for linux $(LINUX_SERIES) not found)
endif
-KERNEL_VERSION?=$(shell (/bin/ls -d $(XEN_ROOT)/build-linux-$(LINUX_VERSION)-xen* 2>/dev/null) | \
+KERNEL_VERSION?=$(shell (/bin/ls -d $(XEN_ROOT)/build-linux-$(LINUX_VERSION)* 2>/dev/null) | \
grep -v -m 1 -e '-xenU' | \
sed -e 's!^.*linux-\(.\+\)!\1!' )
diff -r 6fd17d0dcbcd tools/vnet/vnet-module/sa.c
--- a/tools/vnet/vnet-module/sa.c Tue Nov 27 12:49:16 2007 +0000
+++ b/tools/vnet/vnet-module/sa.c Tue Nov 27 16:31:55 2007 +0000
@@ -16,7 +16,6 @@
* 59 Temple Place, suite 330, Boston, MA 02111-1307 USA
*
*/
-#include <linux/config.h>
#include <linux/kernel.h>
#include <tunnel.h>
reply other threads:[~2007-11-27 16:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20071127163754.GA18148@implementation.uk.xensource.com \
--to=samuel.thibault@eu.citrix.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.