[OpenAFS-devel] 1.4.2fc4 build failed on aix 5.2

Ernst Jeschek jeschek@wu-wien.ac.at
Mon, 9 Oct 2006 15:38:23 +0200


--3siQDZowHQqNOShm
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I've tried to build 1.4.2fc4 aon aix 5.2 with vac 5.0. It failed
with the following error:

        cc -I. -I.  -I/afs/wu/common/openafs/openafs-1.4.2fc4/src/config -I=
/afs/wu/common/openafs/openafs-1.4.2fc4/include  -K -D_NONSTD_TYPES -D_MBI=
=3Dvoid  -c . /pagsh.c -DAFS_KERBEROS_ENV=20
        cc -I. -I.  -I/afs/wu/common/openafs/openafs-1.4.2fc4/src/config -I=
/afs/wu/common/openafs/openafs-1.4.2fc4/include  -K -D_NONSTD_TYPES -D_MBI=
=3Dvoid  -o pagsh.krb pagsh.o libsys.a /afs/wu/common/openafs/openafs-1.4.2=
fc4/lib/librx.a libsys.a /afs/wu/common/openafs/openafs-1.4.2fc4/lib/liblwp=
=2Ea /afs/wu/common/openafs/openafs-1.4.2fc4/lib/util.a -ldl
ld: 0711-317 ERROR: Undefined symbol: .get_pag

configure arguments: --enable-transarc-paths --enable-tivoli-tsm

Have I done something wrong or is 'get_pag' really not defined (I
did not find it in the source)? The call to this function was
introduced after 1.4.1:

# diff src/sys/pagsh.c  ../openafs-1.4.1/src/sys/pagsh.c=20
14c14
<     ("$Header: /cvs/openafs/src/sys/pagsh.c,v 1.9.2.2 2006/07/20 23:35:44=
 shadow Exp $");
---
>     ("$Header: /cvs/openafs/src/sys/pagsh.c,v 1.9 2003/07/15 23:16:54 sha=
dow Exp $");
18,19d17
< #ifdef AFS_AIX51_ENV
< #include <sys/cred.h>
21d18
< #endif
92,98d88
< #if defined(AFS_AIX51_ENV)
<     afs_int32 pag;
<=20
<     if (get_pag(PAG_AFS, &pag) < 0 || pag =3D=3D 0)
<         pag =3D -1;
<     return pag;
< #else
122d111
< #endif


kind regards,
ernst jeschek

--=20
jeschek@wu-wien.ac.at                    |\      _,,,---,,_
Fax: +43/1/31336/702               ZZZzz /,`.-'`'    -.  ;-;;,_
Zentrum fuer Informatikdienste          |,4-  ) )-,_. ,\ (  `'-'
Wirtschaftsuniversitaet Wien           '---''(_/--'  `-'\_)

--3siQDZowHQqNOShm
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iQCVAwUBRSpQzylSP+9clCpBAQIliwQAslmSEKq2EO/KiZvsdrzElYzEWUg4XgOY
jooaRz0YSZNxeSbHwf3RgHrP4CE8Xsg1V8EDGSU1GnMhkjoIGTI9HtqPufgyNHkG
uXdm2gtaRXs7r+ibCadcBa2fXP0bRqD+LktWa5eoVur3HrUC79PQp2oO+kp9KN8J
4xplFc66OT0=
=Kp4w
-----END PGP SIGNATURE-----

--3siQDZowHQqNOShm--