[OpenAFS-devel] Compiling Modules on Redhat 7.1 with Kernel 2.4.4

Jon Gans gans@star.physics.yale.edu
Mon, 7 May 2001 18:55:05 -0400 (EDT)


Please excuse my stupidity, I have Redhat 7.1 running with 2.4.4. I cannot
get the kernel modules to compile.

I install the AFS packages (openafs-*1.0.4-24.1.i386.rpm) and then go to
/usr/src/openafs-kernel-1.0.4
make build-it

Get this error:
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

Then I comment out src/MakeFile:52 (#include Makefile.extradefs) and get
this:
; \
		sh ./redhat.sh /usr/src/linux-2.4.4$v
${KDIR}/Makefile.extradefs; \
	done \
done
./redhat.sh: ./redhat.sh: No such file or directory
./redhat.sh: ./redhat.sh: No such file or directory
make[1]: *** [setup] Error 127
make[1]: Leaving directory `/usr/src/openafs-kernel-1.0.4/src'
make: *** [src/COMMON/libafs.o] Error 2

What am I doing wrong? Do I just have to wait for a new release? Are
there other packages I need to install? I can use the Redhat 7.1 2.4.2-2
stock kernel, but would like to get this going.
Thanks alot,
   Jon

______________________________________________________________________________

Jonathan Gans		                            
Yale University                        
Physics Department                     
PO BOX 208120                                        
New Haven, CT 06520-8120     	                     http://www.jongans.com