[OpenAFS] Compile Problems

Christof Hanke hanke@rzg.mpg.de
Thu, 4 Nov 2004 10:50:10 +0100 (NFT)


Hi,

On Wed, 3 Nov 2004, Horst Birthelmer wrote:

> > make[5]: Entering directory `/usr/src/linux-2.6.8-24'
> > Makefile:465: .config: No such file or directory
> >
>
> You need the appropriate configured kernel sources.
> As you can see above you don't have a ".config" file which tells you
> haven't configured your kernel.
> We cannot build a kernel module against an unknown kernel ;-)
>
> Horst
>

With SuSE, you have the actual kernel-configuration stored in
 /proc/config.gz
I suppose you have the kernel-source rpm of the running kernel installed (since the directory exists), if not do so first.

Then, I suggest you do :

cd /usr/src/linux-2.6.8-24 (or the appropriate directory from the new kernel-source rpm)
zcat /proc/config.gz > .config
make menuconfig
 --exit it immediately
make dep

and then try to compile the client again.
I don't know if there are some redundant steps in the procedure up there,
but at least it works for me.

Christof Hanke