4 messages in com.xensource.lists.xen-devel[Xen-devel] bk bug? 3.0 in 2.0
FromSent OnAttachments
David Becker30 Dec 2004 10:26 
Keir Fraser30 Dec 2004 10:35 
Steven Hand30 Dec 2004 10:39 
Keir Fraser30 Dec 2004 16:19 
Subject:[Xen-devel] bk bug? 3.0 in 2.0
From:David Becker (bec@cs.duke.edu)
Date:12/30/2004 10:26:27 AM
List:com.xensource.lists.xen-devel

I did cold clone just now of 2.0 bk clone bk://xen.bkbits.net/xen-2.0.bk

and the xen/Makefile says: # This is the correct place to edit the build version. # All other places this is stored (eg. compile.h) should be # autogenerated. export XEN_VERSION = 3 export XEN_SUBVERSION = 0 export XEN_EXTRAVERSION = "-devel"

That seems .. wrong?

Also 2.4.28-xen0 did not build. Many files fail with this error: xen-2.0.bk/linux-2.4.28-xen0/include/asm/timex.h:10:21: asm/msr.h: No such file
or directory

The 2.6.9-xen0 kernel built fine.

Feature request: add a help target to the top Makefile to print out the list of valid targets (as is done in the main linux Makefile).

Here is a full error from the 2.4.28 build (its not just ebtables; other files fail too): make -C bridge/netfilter modules make[5]: Entering directory `/usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/net/bridge/netfilter' make[5]: Circular
/usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/asm/apic.h
<-
/usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/asm/system.h
dependency dropped. gcc -D__KERNEL__ -I/usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ebtables -DEXPORT_SYMTAB -c ebtables.c In file included from /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/linux/timex.h:152, from /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/linux/sched.h:14, from ebtables.c:19: /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/asm/timex.h:10:21: asm/msr.h: No such file or directory In file included from /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/linux/timex.h:152, from /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/linux/sched.h:14, from ebtables.c:19: /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/asm/timex.h: In function `get_cycles': /usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/include/asm/timex.h:48: warning: implicit declaration of function `rdtscll' make[5]: *** [ebtables.o] Error 1 make[5]: Leaving directory `/usr/research/playground/becker/xen/obj/xen-2.0.bk/linux-2.4.28-xen0/net/bridge/netfilter'