[OpenAFS] pr_Initialize() and AFSCONF_CLIENTNAME
Chaskiel M Grundman
cg2v@andrew.cmu.edu
Fri, 09 Aug 2002 12:54:14 -0400
--On Friday, August 09, 2002 12:15:48 -0400 "Matthew A. Bacchi"
<mbacchi@btv.ibm.com> wrote:
> code = pr_Initialize(0, AFSCONF_CLIENTNAME, 0, 0);
>
> the error:
>
> "AFSInt.C", line 141.27: 1540-013: (S) Identifier "AFSCONF_CLIENTNAME"
> is undefined.
This changed in IBM AFS 3.6, and for some reason, a compatibility #define
was never introduced. You need to
#include <afs/dirpath.h> in your file, and use AFSDIR_CLIENT_ETC_DIRPATH
instead of AFSCONF_CLIENTNAME