[OpenAFS-devel] pam_afs.so in 64 bit version for sparcv9?

Sebastian Hagedorn Hagedorn@uni-koeln.de
Mon, 23 Jul 2001 17:59:35 +0200


--==========277962226==========
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

--On Sunday, July 22, 2001 12:39:18 -0500 Charles Clancy=20
<mgrtcc@cs.rose-hulman.edu> wrote:

> Second, I tried adding '-xarch=3Dv9' to the XCFLAGS line of
> src/config/Makefile.sun4x_58, to compile EVERYTHING as 64-bit.  That
> didn't work either:
>
> -------------------------
> /opt/SUNWspro/bin/cc -g -I.
> -I/afs/cs.rose-hulman.edu/openafs/source/openafs-1.1.1/sun4x_58/dest/inc
> lude -O
> -I/afs/cs.rose-hulman.edu/openafs/source/openafs-1.1.1/src/config -dy
> -Bdynamic -xarch=3Dv9 install.c -o pinstall -lresolv -lsocket -lnsl =
-lintl
> -ldl  ;; \
>         esac
> Undefined                       first referenced
>  symbol                             in file
> sys_errlist                         install.o
> sys_nerr                            install.o
> ld: fatal: Symbol referencing errors. No output written to pinstall
> make[3]: *** [pinstall] Error 1
> make[3]: Leaving directory
> `/afs/cs.rose-hulman.edu/openafs/source/openafs-1.1.1/src/pinstall'
> -------------------------

I'm not sure how to continue. The error above is familiar to me, because=20
sendmail had the same problem. The reason is that those two sysmbols are=20
only in the 32-bit version of Sun's libc, not in the 64-bit version (go=20
figure). Anyway, it was easy enough to fix for sendmail, because the=20
alternative that Sun offers is strerror and sendmail already had support=20
for that, so that I only had to change a #define.

Alas, it looks like OpenAFS pretty much relies on those two calls. Maybe=20
it'd be possible to build the PAM modules without needing them, but it=20
looks like it's going to take a lot of trial and error unless someone with=20
more intimate knowledge of the interdependencies involved tells me/us=20
exactly which libs are needed...

Cheers, Sebastian Hagedorn
--
Sebastian Hagedorn M.A. - RZKR, Zimmer 18
Zentrum f=FCr angewandte Informatik - Unversit=E4tsweiter Service RRZK
Universit=E4t zu K=F6ln / Cologne University - Tel. +49-221-478-5587
--==========277962226==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQE7XEnpGXsGmU0QW0URApIeAJ4xXv+Y7Jf0Vh/E9XF4HYot5nZNEwCg8lWi
R6K91MWobfwhZutsuS0jOaQ=
=NDEH
-----END PGP SIGNATURE-----

--==========277962226==========--