[Linux-cluster] can't compile cluster-2.03.07

Fabio M. Di Nitto fdinitto at redhat.com
Mon Oct 6 18:54:57 UTC 2008


On Fri, 3 Oct 2008, ÷ÁÓÉÌÅà äÍÉÔÒÉÊ wrote:

> I try compile cluster-2.03.07 with kernel 2.6.26-5
> how i can fix that ?
> every time report
> make[2]: Entering directory `/usr/src/kernels/linux-2.6.26.5'
>
>  WARNING: Symbol version
> dump /usr/src/kernels/linux-2.6.26.5/Module.symvers
>           is missing; modules will have no dependencies and
> modversions.
>
>  Building modules, stage 2.
>  MODPOST 1 modules
> /bin/sh: scripts/mod/modpost: No such file or directory
> make[3]: *** [__modpost] Error 127
> make[2]: *** [modules] Error 2
> make[2]: Leaving directory `/usr/src/kernels/linux-2.6.26.5'
> make[1]: *** [gnbd.ko] Error 2
> make[1]: Leaving directory `/root/gfs/cluster/gnbd-kernel/src'
> make: *** [gnbd-kernel/src] Error 2

These messages are spawn for different reasons. You either need to:

- install the kernel headers for the running kernel (depending on the 
distribution it might change)
- if you are using a custom kernel, you need to configure it and prepare 
the tree.
- configure --kernel_src and --kernel_build to point to the right 
locations.

Fabio

--
I'm going to make him an offer he can't refuse.


More information about the Linux-cluster mailing list