[OpenAFS-devel] Compile problem on PowerPC64 (No rule to make target: osi_flush.o)

Markus Rothe markus@unixforces.net
Sun, 25 Mar 2007 12:50:00 +0000


--Sig_MIEl1KXYAE2KcV0wd8aAokL
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

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/MODLOA=
D-2.6.20.3-MP/libafs.o'.  Stop.
make[5]: *** [_module_/root/openafs-1.4.4/src/libafs/MODLOAD-2.6.20.3-MP] E=
rror 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.

--Sig_MIEl1KXYAE2KcV0wd8aAokL
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGBm/9x15fTQSr/HcRAgmeAJsFOvEcbFxrLP1kcKrGCBxm/R1cFACfSSM/
1drNzKD6Qc8wUKeYrH2Ax1g=
=MM0T
-----END PGP SIGNATURE-----

--Sig_MIEl1KXYAE2KcV0wd8aAokL--