[Fedora-xen] kernel name confusion and no config.h in 2.6.18-1.2741 ?
Paul Wouters
paul at xelerance.com
Fri Oct 6 16:43:37 UTC 2006
# ls -l /usr/src/kernels/
total 4
drwxr-xr-x 19 root root 4096 Oct 6 12:06 2.6.18-1.2741.fc6-xen-i686
lrwxrwxrwx 1 root root 26 Oct 6 12:06 2.6.18-1.2741.fc6xen-i686 -> 2.6.18-1.2741.fc6-xen-i686
# uname -a
Linux dnssigner.xelerance.com 2.6.18-1.2741.fc6xen #1 SMP Wed Oct 4 21:01:55 EDT 2006 i686 i686 i386 GNU/Linux
# rpm -ql kernel-headers |grep config.h
And trying to compile a module against this tree fails:
# export KERNELSRC=/lib/modules/2.6.18-1.2741fc6xen/build
[root at dnssigner openswan-2.4.7dr1]# make module
[...]
/usr/src/openswan-2.4.7dr1/modobj26/ipsec_init.c:23:26: error: linux/config.h: No such file or directory
This worked with kernel 2.6.18-1.2726 (2.6.18-1.2726.fc6xen)
Though of course, yum deleted the old kernel (I would REALLY like it to keep the older kernel) and
it is no longer at the development/ repos.
Paul
More information about the Fedora-xen
mailing list