[OpenAFS-devel] failed to build OpenAFS 1.3.79 for 2.6.10 kernel on 2.4.xx
Vitaly
cvv@email.zp.ua
Wed, 9 Mar 2005 12:25:49 +0200 (EET)
error detect:
Building in directory: MODLOAD-2.6.10-mxm-SP
make[4]: Entering directory `/opt/home/cvv/tmp/openafs-1.3.79/src/libafs/MODLOAD-2.6.10-mxm-SP'
Makefile.common:51: предупреждение: переопределение команд для цели `.c.o'
/opt/home/cvv/tmp/openafs-1.3.79/src/config/Makefile.config:133: предупреждение: старые команды для цели `.c.o' игнорируются
env EXTRA_CFLAGS="" ..//opt/home/cvv/tmp/openafs-1.3.79/src/libafs/make_kbuild_makefile.pl MODLOAD-2.6.10-mxm-SP libafs.ko /opt/home/cvv/tmp/opena
fs-1.3.79/src/config/Makefile.config Makefile.afs Makefile.common
env: ..//opt/home/cvv/tmp/openafs-1.3.79/src/libafs/make_kbuild_makefile.pl: Нет такого файла или каталога
make[4]: *** [libafs.ko] Ошибка 127
make[4]: Leaving directory `/opt/home/cvv/tmp/openafs-1.3.79/src/libafs/MODLOAD-2.6.10-mxm-SP'
make[3]: *** [linux_compdirs] Ошибка 2
make[3]: Leaving directory `/opt/home/cvv/tmp/openafs-1.3.79/src/libafs'
make[2]: *** [libafs] Ошибка 2
make[2]: Leaving directory `/opt/home/cvv/tmp/openafs-1.3.79'
make[1]: *** [build] Ошибка 2
make[1]: Leaving directory `/opt/home/cvv/tmp/openafs-1.3.79'
make: *** [all] Ошибка 2
Solution:
in file openafs-1.3.79/src/libafs/MakefileProto.LINUX.in
need to change line
env EXTRA_CFLAGS="${EXTRA_CFLAGS}" ..//$(srcdir)/make_kbuild_makefile.pl ${KDIR} $@ @TOP_OBJDIR@/src/config/Makefile.config Makefile.afs Makef
ile.common
to
env EXTRA_CFLAGS="${EXTRA_CFLAGS}" $(srcdir)/make_kbuild_makefile.pl ${KDIR} $@ @TOP_OBJDIR@/src/config/Makefile.config Makefile.afs Makef
ile.common
________________________________________________________________
GET INTERNET ACCESS FROM BCS! http://www.bcs.zp.ua
Join BCS today! For your FREE webmail, visit: http://email.zp.ua/