[OpenAFS-devel] Compiling Modules on Redhat 7.1 with Kernel 2.4.4
Derek Atkins
warlord@MIT.EDU
08 May 2001 13:39:51 -0400
Ok, this is a packaging bug and is my fault. My apologies for not
testing the new packages well enough. I've got a fixed SPEC-file so I
can build a new set of packages. However, I can only build new RH 6.2
RPMs, Derrick will have to build new RPMs for RH 7.1.
-derek
PS: I think you may be able to use the 2.4.2 module with 2.4.4,
but I'm not sure.
Jon Gans <gans@star.physics.yale.edu> writes:
> 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
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo.cgi/openafs-devel
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available