[OpenAFS-devel] 1.3.80 compilation fails on FC3 linux
William John Murray
w.murray@rl.ac.uk
Tue, 22 Mar 2005 11:56:35 +0000
Hello there,
I have problems compiling 1.3.80 on my FC3 linux machine.
The specific error message is:
Building in directory: MODLOAD-2.6.10-1.770_FC3-SP
make[4]: Entering directory
`/usr/local/src/openafs-1.3.80/src/libafs/MODLOAD-2.6.10-1.770_FC3-SP'
Makefile.common:51: warning: overriding commands for target `.c.o'
/usr/local/src/openafs-1.3.80/src/config/Makefile.config:132: warning:
ignoring old commands for target `.c.o'
env EXTRA_CFLAGS="" ./make_kbuild_makefile.pl MODLOAD-2.6.10-1.770_FC3-
SP libafs.ko /usr/local/src/openafs-1.3.80/src/config/Makefile.config
Makefile.afs Makefile.common
env: ./make_kbuild_makefile.pl: No such file or directory
make[4]: *** [libafs.ko] Error 127
I worked around by changing MakefileProto.LINUX.in to
.FORCE:
libafs.ko: .FORCE
env EXTRA_CFLAGS="${EXTRA_CFLAGS}" ../make_kbuild_makefile.pl ${KDIR}
$@ @TOP_OBJDIR@/src/config/Makefile.config Makefile.afs Makefile.common
env EXTRA_CFLAGS="${EXTRA_CFLAGS}" $(MAKE) -C ${LINUX_KERNEL_PATH}
M=@TOP_OBJDIR@/src/libafs/${KDIR} modules
This used to be ${source}/make_kbuild_makefile.pl
With this change it seems to build OK, and at a first look runs, but I
have no idea if this would cause problems for other systems...
Bill