Public bug reported:
Hi,
openafs-modules-source fails to build on my ppc with the kernel
linux-headers-2.6.22-14-powerpc on gutsy.
It seems that the openafs configure tries to determine the architecture by
using /bin/arch, which doesn't exist:
checking whether byte order is known at compile time... yes
checking whether byte ordering is bigendian... yes
checking your OS... linux
checking your AFS sysname... configure: line 6114: /bin/arch: No such file or
directory
_linux26
checking if gcc accepts -march=pentium... yes
checking if gcc needs -fno-strength-reduce... yes
checking if gcc needs -fno-strict-aliasing... yes
The build then fails at:
gcc -g -O -I/usr/src/modules/openafs/include -I. -g -O -c ./mc.c
gcc -g -O -I/usr/src/modules/openafs/include -I. -g -O -o config config.o mc.o
gcc -g -O -I/usr/src/modules/openafs/include -I. -g -O -o mkvers ./mkvers.c
make[4]: *** No rule to make target `param._linux26.h', needed by
`/usr/src/modules/openafs/include/afs/param.h'. Stop.
make[4]: Leaving directory `/usr/src/modules/openafs/src/config'
make[3]: *** [config] Error 2
make[3]: Leaving directory `/usr/src/modules/openafs'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/usr/src/modules/openafs'
make[1]: *** [only_libafs] Error 2
make[1]: Leaving directory `/usr/src/modules/openafs'
make: *** [build-arch-stamp] Error 2
param._linux26.h doesn't exist, while param.ppc_linux26.h does. Copying
this file to the new name fixes the problem for me.
Bye,
Martin
** Affects: openafs (Ubuntu)
Importance: Undecided
Status: New
--
openafs-modules-source fails to build, appearently because /bin/arch missing
https://bugs.launchpad.net/bugs/153652
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs