[OpenAFS] problem compiling OpenAFS under AIX 5.1

Yang, Haichuan haiyang@indiana.edu
Tue, 20 May 2003 09:39:20 -0500


When compiling openAFS 1.2.9 source for AIX 5.1, I ran into various =
problems and would like to post it here to see if there is any fix. Your =
help is much appreciated.

First when running:

configure --prefix=3D/usr/openafs --enable-transarc-paths

it gave error like:

checking your AFS sysname... configure: error: An AFS sysname is =
required

So I tried to provide a sysname with:

configure --with-afs-sysname=3Drs_aix51 --enable-transarc-paths

and it gave error:

configure: error: no source file src/config/Makefile.rs_aix51.in

Well, I'm not sure how to provide such a file, so I copied three files =
under src/config:

cp Makefile.rs_aix42.in Makefile.rs_aix51.in
cp param.rs_aix42.h param.rs_aix51.h
cp param.rs_aix42_usr.h param.rs_aix51_usr.h

After that, configure finished successfully. However when I type "make", =
it gave such errors at "ranlib libutil.a":

ld: 0711-317 ERROR: Undefined symbol: .odm_initialize
ld: 0711-317 ERROR: Undefined symbol: CuDv_CLASS
ld: 0711-317 ERROR: Undefined symbol: .odm_get_list
ld: 0711-317 ERROR: Undefined symbol: .odm_free_list
ld: 0711-317 ERROR: Undefined symbol: .getattr
ld: 0711-317 ERROR: Undefined symbol: .odm_terminate
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more =
information.
make: 1254-004 The error code from the last command is 8.

I'm not sure what to do at this point. Is there anything I can try to =
get it compiled under AIX 5.1?

Thanks much.
Haichuan Yang