Problem compiling krbafs 1.2

Pierre pierre42d at 9online.fr
Fri Jan 30 06:16:26 EST 2004


# gmake
gcc -c  -DHAVE_CONFIG_H -DLIBDIR='"/usr/local/lib"' -I. -I. -s -O3 
-march=i686 -fpic afskrb.c
In file included from afskrb.c:34:
krbafs_locl.h:158: error: parse error before "CREDENTIALS"
krbafs_locl.h:172: error: parse error before "CREDENTIALS"
afskrb.c:44: error: parse error before "CREDENTIALS"
afskrb.c: In function `get_cred':
afskrb.c:46: error: `KTEXT_ST' undeclared (first use in this function)
afskrb.c:46: error: (Each undeclared identifier is reported only once
afskrb.c:46: error: for each function it appears in.)
afskrb.c:46: error: parse error before "tkt"
afskrb.c:47: error: `name' undeclared (first use in this function)
afskrb.c:47: error: `inst' undeclared (first use in this function)
afskrb.c:47: error: `realm' undeclared (first use in this function)
afskrb.c:47: error: `c' undeclared (first use in this function)
afskrb.c:50: error: `tkt' undeclared (first use in this function)
afskrb.c:51: error: `KSUCCESS' undeclared (first use in this function)
afskrb.c: In function `afslog_uid_int':
afskrb.c:65: error: `CREDENTIALS' undeclared (first use in this function)
afskrb.c:65: error: parse error before "c"
afskrb.c:66: error: `ANAME_SZ' undeclared (first use in this function)
afskrb.c:67: error: `INST_SZ' undeclared (first use in this function)
afskrb.c:68: error: `REALM_SZ' undeclared (first use in this function)
afskrb.c:75: error: `KSUCCESS' undeclared (first use in this function)
afskrb.c:78: error: `c' undeclared (first use in this function)
afskrb.c: In function `get_realm':
afskrb.c:88: warning: initialization makes pointer from integer without 
a cast
gmake: *** [afskrb.o] Error 1


More information about the Kerberos mailing list