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

[Xen-users] Unstable kernel build fails - please help

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Unstable kernel build fails - please help
From: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Date: Wed, 20 Jul 2005 10:27:54 +0100
Delivery-date: Wed, 20 Jul 2005 09:27:27 +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:mime-version:content-type:content-transfer-encoding:content-disposition; b=GhJyyCld0Ki4VipmwpLaBRIz+IxQPuMPSyxs9pdk8bFQ/hzkGQzkd8s+HyDEX7GF2IHVb4b98/XoEofMdDNonCpKq5mlGVLPFZUAxQZ+CFaTmklyN/+AEJW0FWAo4RPlb8/EUiW8qsah6UpZpnLVhW9RXs94+asb2Z5N0/ThJuE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Reply-to: Shahzad Chohan <shahzad.chohan@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi 

I'm hoping one of you pro's can help me.

Basically I tried compiling the xen unstable kernel by doing the following:

1) Download xen-unstable
2) Untar xen-unstabel
3) cd xen-unstable
4) Copy kernel config from redhat kernel: cp
/usr/src/redhat/SOURCES/kernel-2.6.9-i686.config
/root/xen/xen-unstable/linux-2.6-xen-sparse/.config
5) KERNELS=*2.4* make dist

Then I get the following error:

make[5]: Entering directory `/root/xen/xen-unstable/linux-2.4.30-xenU/crypto'
gcc -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  -nostdinc -iwithprefix include -E
-D__GENKSYMS__ api.c
| /sbin/genksyms  -k 2.4.30 >
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/api.ver.tmp
/bin/sh: /sbin/genksyms: No such file or directory
mv /root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/api.ver.tmp
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/api.ver
gcc -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  -nostdinc -iwithprefix include -E
-D__GENKSYMS__ hmac.c
| /sbin/genksyms  -k 2.4.30 >
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/hmac.ver.tmp
/bin/sh: /sbin/genksyms: No such file or directory
In file included from
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/spinlock.h:6,
                 from
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/module.h:12,
                 from
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/crypto.h:19,
                 from hmac.c:17:
/root/xen/xen-unstable/linux-2.4.30-xenU/include/asm/system.h:8:30:
asm/synch_bitops.h: No such file or directory
mv /root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/hmac.ver.tmp
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/hmac.ver
/root/xen/xen-unstable/linux-2.4.30-xenU/scripts/mkdep -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  -nostdinc -iwithprefix include --
aes.c anubis.c api.c arc4.c autoload.c blowfish.c cast5.c cast6.c
cipher.c compress.c crypto_null.c deflate.c des.c digest.c hmac.c
internal.h khazad.c md4.c md5.c michael_mic.c proc.c scatterwalk.c
scatterwalk.h serpent.c sha1.c sha256.c sha512.c tcrypt.c tcrypt.h
tea.c twofish.c wp512.c > .depend
make[5]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU/crypto'
make -C arch/xen/kernel fastdep
make[5]: Entering directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/kernel'
gcc -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  -nostdinc -iwithprefix include -E
-D__GENKSYMS__ i386_ksyms.c
| /sbin/genksyms  -k 2.4.30 >
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/i386_ksyms.ver.tmp
In file included from
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/spinlock.h:6,
                 from
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/module.h:12,
                 from i386_ksyms.c:2:
/root/xen/xen-unstable/linux-2.4.30-xenU/include/asm/system.h:8:30:
asm/synch_bitops.h: No such file or directory
/bin/sh: /sbin/genksyms: No such file or directory
/root/xen/xen-unstable/linux-2.4.30-xenU/include/asm/system.h:10:28:
asm/hypervisor.h: No such file or directory
/root/xen/xen-unstable/linux-2.4.30-xenU/include/asm/system.h:11:24:
asm/evtchn.h: No such file or directory
mv 
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/i386_ksyms.ver.tmp
/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/i386_ksyms.ver
make[5]: *** No rule to make target `gnttab.c', needed by
`/root/xen/xen-unstable/linux-2.4.30-xenU/include/linux/modules/gnttab.ver'.
 Stop.
make[5]: Leaving directory
`/root/xen/xen-unstable/linux-2.4.30-xenU/arch/xen/kernel'
make[4]: *** [_sfdep_arch/xen/kernel] Error 2
make[4]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU'
make[3]: *** [dep-files] Error 2
make[3]: Leaving directory `/root/xen/xen-unstable/linux-2.4.30-xenU'
make[2]: *** [linux-2.4.30-xenU/include/linux/autoconf.h] 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


Anyone Have any ideas how I can fix this?

Thanks in advance
Shaz

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