[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] 3.1 build structure... Is there a way to get ONE linux directory? (fwd)
My apologies if this has been asked (and answered) before. The 3.1 tree seems to use a rather strange build tree... which uses a bunch of directories (5?), none of which are a complete linux source tree... (the build-linux-2.6.18-xen_x86_64 directory seems to be the main one, and changes you make there with make menuconfig do take effect.) this is an issue, because some programs expect to be able to find a complete linux source tree ... e.g. this is one of the errors that stops drbd from building:ls: /lib/modules/2.6.18-xen/build/include/linux/sched.h: No such file or directory There are in fact 3 copies of linux/sched.h ... or links or whatever... (*) [root@gt2b /usr/src/xen-3.1.0-src]# find . -path *linux/sched.h ./linux-2.6.18-xen/include/linux/sched.h ./pristine-linux-2.6.18/include/linux/sched.h ./ref-linux-2.6.18/include/linux/sched.h but the /lib/modules link points to build-linux-2.6.18-xen_x86_64 ... and there's no sched.h reference in that directory tree. root@gt2b /usr/src/xen-3.1.0-src]# ls -ld /lib/modules/2.6.18-xen/build lrwxrwxrwx 1 root root 52 Aug 28 07:43 /lib/modules/2.6.18-xen/build -> /usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_64 [root@gt2b /usr/src/xen-3.1.0-src]# du -sc * 249120 build-linux-2.6.18-xen_x86_64 273264 linux-2.6.18-xen 5140 linux-2.6-xen-sparse 7568 pristine-linux-2.6.18 5088 ref-linux-2.6.18 Is there some magic incantation that we can call that will push all these directories together so we have a complete linux source tree that represents the kernel we are using? 3.0.x was _much_ nicer -Tom (*) this is ugly, there are two different linux/sched.h files :( [root@gt2b /usr/src/xen-3.1.0-src]# find . -path *linux/sched.h -ls 2 root root 50777 Aug 28 06:31 ./linux-2.6.18-xen/include/linux/sched.h 1 root root 50633 Sep 19 2006 ./pristine-linux-2.6.18/include/linux/sched.h 2 root root 50777 Aug 28 06:31 ./ref-linux-2.6.18/include/linux/sched.h I suppose that makes sense... pristine is descriptive.... _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |