|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Unstable kernel build fails - please help
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] Unstable kernel build fails - please help,
Shahzad Chohan <=
|
|
|
|
|