William John Murray schrieb:

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}
[EMAIL PROTECTED]@/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

_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel


hello,
set 'srcdir=.' in 'src/libafs/MakefileProto.LINUX' to 'srcdir=..' should also help.
rene


_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to