When building with the --with-afs option the make bombs out when building sshconnect1.c, claiming an undefined function k_hasafs(). I googled a little and found that this function (and others like it) are in either AIX or perhaps *BSD kernels. They are not part of Solaris. When I commented out that check, then I get a different error in the same module about krb_time_to_life (sic). It appears to me that the 3.1p1 afs portion has not been ported.
It is up to the system to provide compatible AFS libs
Mass change of RESOLVED bugs to CLOSED