Hello,

I'm trying to compile OpenAFS 1.4.4 on a Apple G5 running Gentoo/PPC64
(64bit kernel + 64bit userland), but it fails (error a few lines down).

Some version information you might need:

Linux Kernel 2.6.20.3
GNU Make 3.81

Don't know what other program versions might be interesting..


Here are the steps I've done ( pretty straight forward ;-) )

$ tar xfj /usr/portage/distfiles/openafs-1.4.4-src.tar.bz2
$ cd openafs-1.4.4/
$ ./configure
[...]
$ make
[...]
make[6]: *** No rule to make target 
`/root/openafs-1.4.4/src/libafs/MODLOAD-2.6.20.3-MP/osi_flush.o', needed by 
`/root/openafs-1.4.4/src/libafs/MODLOAD-2.6.20.3-MP/libafs.o'.  Stop.
make[5]: *** [_module_/root/openafs-1.4.4/src/libafs/MODLOAD-2.6.20.3-MP] Error 
2
make[5]: Leaving directory `/usr/src/linux-2.6.20.3'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory `/root/openafs-1.4.4/src/libafs/MODLOAD-2.6.20.3-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/root/openafs-1.4.4/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/root/openafs-1.4.4'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/openafs-1.4.4'
make: *** [all] Error 2


Running these commands fixed the problem:

$ pwd
/root/openafs-1.4.4
$ cd src/libafs/MODLOAD-2.6.20.3-MP/
$ make osi_flush.o
as   -o osi_flush.o osi_flush.s
$ cd ../../../
$ make


I'm not sure what causes this problem, as the Makefile rule for
osi_flush.o is definetly available. Any hints?

Regards,

Markus Rothe

P.S.: I'm getting the same error with OpenAFS 1.5.15.

Attachment: signature.asc
Description: PGP signature

Reply via email to