[OpenAFS] pam-afs-session-2.5 and solaris 11 make problem

Renata Maria Dart renata@slac.stanford.edu
Fri, 1 Jun 2012 16:50:15 -0700 (PDT)

Hi, I have been trying to compile pam-afs-session-2.5 on solaris 11.
I have generated krb5 1.6.2, and heimdal 1.5.2 so that I have
libkafs.a and libkafs.la, and I have OpenAFS 1.6.1 running on the
system.  I am using the following configure:

./configure --prefix=/opt/pam --with-krb5=/afs/slac.stanford.edu/package/krb5/1.6.2/sunx86_511 --with-libkafs=/afs/slac.stanford.edu/package/heimdal/sunx86_511/sunx86_511

The make fails:

In file included from kafs/kafs.c:75:0:
./kafs/sys-solaris.c: In function 'k_syscall':
./kafs/sys-solaris.c:80:25: error: storage size of 'syscall_data' isn't known
./kafs/sys-solaris.c:89:15: error: invalid application of 'sizeof' to incomplete type 'struct afssysargs32' 
./kafs/sys-solaris.c:80:25: warning: unused variable 'syscall_data'
./kafs/sys-solaris.c:77:13: warning: unused variable 'code'
*** Error code 1
make: Fatal error: Command failed for target `kafs/kafs.lo'

I also tried --without-libkafs to see if it made any difference,
but the make failed the same way.  

Has anyone else come up against this and know what the fix should be?