I think that file is only created when you compile the kernel, or at
least configure it.
Just try a make menuconfig, save, then check if it's there. If not try
to compile the kernel.
Ilkka Aberg wrote:
Hi,
Could somebody give me hint what I'm doing wrong? I try to compile saru
for active-active, but I get error complaining that version.h is missing
from kernel source.
loadbalancer1:/usr/local/src/saru-0.0.1# ./configure
--prefix=/usr/local/saru --with-ha-config=/etc/ha.d/ha.cf
--with-kernel-src=/usr/src/linux
gives:
.
.
.
checking for vanessa_socket_daemon_inetd_process in -lvanessa_socket... yes
checking which glib config exists... "using /usr/bin/glib-config"
checking ipt (libiptc/libiptc.h) include path... /usr/include
checking for /usr/src/linux/include/linux/version.h... no
configure: error: ""
"********************************************************************"
"* KERNEL-SRC/include/linux/version.h not found! "
"* Please use --with-kernel-src"
"********************************************************************"
My /usr/src folder:
lrwxrwxrwx 1 root src 12 Jun 9 13:07 linux ->
linux-2.4.22
drwxr-xr-x 15 573 573 4096 Aug 25 2003 linux-2.4.22
loadbalancer1:/usr/src#
Well I tried to find /usr/src/linux/include/linux/version.h, but could
not find it. I downloaded kernel source 2.4.22 (for Ultra Monkey 2.0.1).
Am I somehow missing that file??
thanks for any hints..
Ilkka
|