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-users

Re: [Xen-users] basic question on how to compile 2.4 xen

To: Ernst Bachmann <e.bachmann@xxxxxxxx>
Subject: Re: [Xen-users] basic question on how to compile 2.4 xen
From: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Date: Thu, 21 Jul 2005 13:15:44 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 21 Jul 2005 12:14:52 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AuIn0f76HlSvm9EEiTY0f0JlOguC2/Lc+3uHYG57VGVsCJ4TwrdsPrgX/LOawQoFjM0ulsu0+oc48RkrZd30p6AV11cgiwV4Bk3ryj1M1aGjdDI12FxE9yo7GObyRFLKNMUgmLIilD+UuH+t5WUix1smvdhrquFFhP62vCks26Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200507211356.12331.e.bachmann@xxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <36967cc905072104395f8b2978@xxxxxxxxxxxxxx> <200507211356.12331.e.bachmann@xxxxxxxx>
Reply-to: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 7/21/05, Ernst Bachmann <e.bachmann@xxxxxxxx> wrote:
> Hi,
> 
> > Basically it keeps failing because it needs the genksyms
> > package, which is provided in the modutils package from redhat, but
> > obviously this isn't presetn on the 2.6 kernel.
> 
> Have a look at:
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=162195
> 
> Basically, they moved genksyms to the "kernel-devel" package, and the file is
> in "/lib/modules/$(uname -r)/build/scripts/genksyms" now... symlinking it
> from there into the $PATH might fix the xen kernel makefiles.
> 

Excellent.

Thanks for that, it really helped. 

Now that I've tried compiling it I get the following errors:, any
ideas what this could be?

make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/netif'
make -C  arch/xen/drivers/usbif CFLAGS="-D__KERNEL__
-I/root/xen/xen-unstable/linux-2.4.30-xenU/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modversions.h"
MAKING_MODULES=1 modules
make: *** arch/xen/drivers/usbif: No such file or directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown
directorymake[3]: *** [_mod_arch/xen/drivers/usbif] Error 2
make[3]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU'
make[3]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU'
make -C  kernel modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/kernel'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/kernel'
make -C  drivers modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/drivers'
make -C block modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/block'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/block'
make -C cdrom modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/cdrom'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/cdrom'
make -C char modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/char'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/char'
make -C hotplug modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/hotplug'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/hotplug'
make -C media modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/media'
make -C radio modules_install
make[6]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/media/radio'
make[6]: Nothing to be done for `modules_install'.
make[6]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/media/radio'
make -C video modules_install
make[6]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/media/video'
make[6]: Nothing to be done for `modules_install'.
make[6]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/media/video'
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/media'
make -C misc modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/misc'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/misc'
make -C net modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/net'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/net'
make -C parport modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/parport'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/parport'
make -C scsi modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/scsi'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/scsi'
make -C sound modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/sound'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/drivers/sound'
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/drivers'
make -C  mm modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/mm'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/mm'
make -C  fs modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/fs'
make -C nls modules_install
make[5]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/fs/nls'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/fs/nls'
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/fs'
make -C  net modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net'
make -C 802 modules_install
make[5]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/802'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/802'
make -C core modules_install
make[5]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/core'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/core'
make -C ipv4 modules_install
make[5]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/ipv4'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/ipv4'
make -C ipv4/netfilter modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/net/ipv4/netfilter'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/net/ipv4/netfilter'
make -C netlink modules_install
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/net/netlink'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/net/netlink'
make -C sched modules_install
make[5]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/sched'
make[5]: Nothing to be done for `modules_install'.
make[5]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net/sched'
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/net'
make -C  ipc modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/ipc'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/ipc'
make -C  lib modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/lib'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/lib'
make -C  crypto modules_install
make[4]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/crypto'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/crypto'
make -C  arch/xen/kernel modules_install
make[4]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/kernel'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/kernel'
make -C  arch/xen/mm modules_install
make[4]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/mm'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/mm'
make -C  arch/xen/lib modules_install
make[4]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/lib'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/lib'
make -C  arch/xen/drivers/console modules_install
make[4]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/console'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/console'
make -C  arch/xen/drivers/evtchn modules_install
make[4]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/evtchn'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/evtchn'
make -C  arch/xen/drivers/blkif modules_install
make[4]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/blkif'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/blkif'
make -C  arch/xen/drivers/netif modules_install
make[4]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/netif'
make[4]: Nothing to be done for `modules_install'.
make[4]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/drivers/netif'
make -C  arch/xen/drivers/usbif modules_install
make: *** arch/xen/drivers/usbif: No such file or directory.  Stop.
make: Entering an unknown directorymake: Leaving an unknown
directorymake[3]: *** [_modinst_arch/xen/drivers/usbif] Error 2
make[3]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/root/xen/xen-unstable'
make[1]: *** [linux-2.4-xenU-build] Error 2
make[1]: Leaving directory `/root/xen/xen-unstable'
make: *** [kernels] Error 1

Thanks a lot 
Shaz

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