[OpenAFS-devel] Fwd: compiling openafs 1.4.7 on PPC64

Derrick Brashear shadow@gmail.com
Thu, 7 May 2009 09:31:57 -0400


On Wed, Apr 8, 2009 at 3:01 PM, prashant sodhiya <psodhiya@gmail.com> wrote=
:
> Hi,
>
> I want to generate 64 bit server binaries of my openAFS(1.4.7) server
> on a PPC64 (POWER5) machine on =A0RHEL5.2.
>
> # file root.server/usr/afs/bin/fileserver
> root.server/usr/afs/bin/fileserver: ELF 32-bit MSB executable, PowerPC
> or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically
> linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
>
> I tried export CFLAGS=3D -m64 before ./configure and make, but still my
> fileserver bins are 32 bit binaries.

It's almost certainly not going to work, but you'd want to edit
src/cf/osconf.m4 in the appropriate block for ppc64, run regen.sh at
the top level and then try (no need to modify CFLAGS to configure)