[OpenAFS] AKLOG build error...

Rodney M Dyer rmdyer@uncc.edu
Thu, 27 Apr 2006 12:48:44 -0400

Hello all,

We are seeing a AKLOG build error when compiling OpenAFS 1.4.1 on Solaris 
9.  We've seen this in the past and thought this problem would be solved in 
1.4.1.  In the past we had to add a patch to make the build work, which we 
can still do, we just thought that everyone interested should know about it.

Here's the error...

Configured with:

./configure \
   --enable-transarc-paths \
   --enable-largefile-fileserver \
   --enable-supergroups \

(MIT Krb5 1.4.3)

Make error:

+ cd src
+ cd aklog
+ gmake all
gmake[3]: Entering directory `/home/test/openafs-1.4.1/src/aklog'
/opt/SUNWspro/bin/cc  -I/usr/local/krb5/include -DALLOW_REGISTER
-I/home/test/openafs-1.4.1/src/config -I. -I.
-I/home/test/openafs-1.4.1/include/rx -I/home/test/openafs-1.4.1
-I/home/test/openafs-1.4.1/src -I/home/test/openafs-1.4.1/src
-dy -Bdynamic  -c aklog_main.c
"/usr/local/krb5/include/kerberosIV/des.h", line 132: warning: macro
redefined: ENCRYPT
"/usr/local/krb5/include/kerberosIV/des.h", line 133: warning: macro
redefined: DECRYPT
"aklog_main.c", line 207: #error: "You must have one of
krb5_524_convert_creds or krb524_convert_creds_kdc available"
cc: acomp failed for aklog_main.c
gmake[3]: *** [aklog_main.o] Error 2
gmake[3]: Leaving directory `/home/test/openafs-1.4.1/src/aklog'
gmake[2]: *** [aklog] Error 2
gmake[2]: Leaving directory `/home/test/openafs-1.4.1'
gmake[1]: *** [build] Error 2
gmake[1]: Leaving directory `/home/test/openafs-1.4.1'
gmake: *** [all] Error 2

And here's the patch that we perform to make the build work...