[OpenAFS] Building a kernel module under RH7.1/Linux Kernel - Can not find makefile.extradefs

Thomas Cherryhomes thomasc@apogeemm.com
Sat, 16 Jun 2001 12:57:52 -0500

I'm having a problem compiling the kernel module that was installed by 
I am running a win4lin patched kernel (the stock binary module shipped 
with openfs-kernel-1.0.4.i386.rpm works great in the standard 
kernel..however...I need the win4lin patched kernel to work!

I go to compile it (I went ahead and made a symlink from linux-2.4.2 to 
linux-2.4.2-2win4lin as shown by uname -r).. .and I get the following 

[root@thomas openafs-kernel-1.0.4]# make build-it
cd src; make all LINUX_SRCDIR=/usr/src/linux-`uname -r` 
LINUX_VERS=`uname -r`
make[1]: Entering directory `/usr/src/openafs-kernel-1.0.4/src'
Makefile:52: Makefile.extradefs: No such file or directory
Makefile:167: warning: overriding commands for target `xdr_int64.o'
Makefile.common:234: warning: ignoring old commands for target `xdr_int64.o'
make[1]: *** No rule to make target `Makefile.extradefs'.  Stop.
make[1]: Leaving directory `/usr/src/openafs-kernel-1.0.4/src'
make: *** [src/COMMON/libafs.o] Error 2
[root@thomas openafs-kernel-1.0.4]#

What gives?

-Thom Cherryhomes