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] unmodified_drivers build fails in latest unstable version

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] unmodified_drivers build fails in latest unstable version
From: tam00 <tam00@xxxxxxxxxxx>
Date: Wed, 08 Nov 2006 07:23:17 -0600
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 08 Nov 2006 05:23:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <B30DA1341B0CFA4893EF8A36B40B5C5D5EB0F4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <B30DA1341B0CFA4893EF8A36B40B5C5D5EB0F4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
*unmodified_drivers build fails in latest unstable version downloaded this morning. Here is the output. Any suggestions? *

SLES10x64:/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6 # ./mkbuildtree Defaulting to this machine's architecture, x86_64, for linking.
This may be overridden on the command line (i386,x86_64,ia64).
SLES10x64:/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6 # make -C /lib/modules/2.6.16.29-xen/build M=$PWD modules LD [M] /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/xen-platform-pci.o /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/gnttab.o: In function `gnttab_init':
gnttab.c:(.init.text+0x0): multiple definition of `init_module'
/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/platform-pci.o:platform-pci.c:(.init.text+0x0): first defined here ld: Warning: size of symbol `init_module' changed from 56 in /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/platform-pci.o to 82 in /tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/gnttab.o make[2]: *** [/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci/xen-platform-pci.o] Error 1make[1]: *** [/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6/platform-pci] Error 2 make: *** [_module_/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6] Error 2
make: Leaving directory `/tmp/xen-unstable.hg/linux-2.6.16.29-xen'
SLES10x64:/tmp/xen-unstable.hg/unmodified_drivers/linux-2.6 #

*Does the overrides.mk look correct?*

# Hack: we need to use the config which was used to build the kernel,
# except that that won't have the right headers etc., so duplicate
# some of the mach-xen infrastructure in here.
#
# (i.e. we need the native config for things like -mregparm, but
# a Xen kernel to find the right headers)
EXTRA_CFLAGS += -DCONFIG_VMX -DCONFIG_VMX_GUEST -DCONFIG_X86_XEN
EXTRA_CFLAGS += -DCONFIG_XEN_SHADOW_MODE -DCONFIG_XEN_SHADOW_TRANSLATE
EXTRA_CFLAGS += -DCONFIG_XEN_BLKDEV_GRANT -DXEN_EVTCHN_MASK_OPS
EXTRA_CFLAGS += -DCONFIG_XEN_NETDEV_GRANT_RX -DCONFIG_XEN_NETDEV_GRANT_TX
EXTRA_CFLAGS += -D__XEN_INTERFACE_VERSION__=0x00030202
EXTRA_CFLAGS += -I$(M)/include -I$(M)/compat-include -DHAVE_XEN_PLATFORM_COMPAT_H



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