[OpenAFS] afs-krb5 problems
Florian Flachmeier
florianflachmeier@gmx.de
Thu, 14 Apr 2005 19:23:51 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steve Devine wrote:
>
> Florian Flachmeier wrote:
>
[...]
>>
> Notice the make errors .. =========================
> afs2k5db.c:39:23: afs/param.h: No such file or directory
> afs2k5db.c:40:28: afs/cellconfig.h: No such file or directory
> afs2k5db.c:41:22: afs/auth.h: No such file or directory
> afs2k5db.c:42:23: afs/kauth.h: No such file or directory
> afs2k5db.c:43:18: ubik.h: No such file or directory
> ========================= You need the afslibs and the kdc libs
> Here is my configure script for building afs-krb5 Your mileage may
> vary. ##################### #!/bin/sh env
> CPPFLAGS='-I/usr/build_src/dest/include
> -I/usr/build_src/dest/include/afs' \
> LDFLAGS='-L/usr/build_src/dest/lib -L/usr/build_src/dest/lib/afs' \
> #THIS is what did it. #And hacking k5-int.h line 1815
> ./configure --with-krb5-src=/usr/build_src/krb5-1.3.4/src
> --with-krb5-config=/usr/local/krb5/bin/krb5-config
> ##############################
> /sd
Sorry, I possibly don't get it. Where do I get the afs libs and the
kdc libs? Aren't they part of the whole package?
> #THIS is what did it. #And hacking k5-int.h line 1815
And what hacked you at that position? When I used that script (with
edited paths) I got this error:
gcc -c -g -O2 -I/usr/local/include
- -I/root/testing/openafs-1.2.11/src/include -DPACKAGE_NAME=\"afs-krb5\"
- -DPACKAGE_TARNAME=\"afs-krb5\" -DPACKAGE_VERSION=\"1.4\"
- -DPACKAGE_STRING=\"afs-krb5\ 1.4\"
- -DPACKAGE_BUGREPORT=\"kenh@cmf.nrl.navy.mil\" -DAFS=1 -DPRE_AFS35=1
- -DAFS_TRY_FULL_PRINC=1 -DHAVE_DAEMON=1 -DSTDC_HEADERS=1
- -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
- -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
- -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
- -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PATHS_H=1
- -DHAVE_MALLOC_H=1 -DHAVE_STRERROR=1 -DRETSIGTYPE=void
- -DALLOW_REGISTER -I/root/testing/krb5-1.3.3/src/include
- -I/root/testing/krb5-1.3.3/src/include/krb5 afs2k5db.c
In file included from /root/testing/krb5-1.3.3/src/include/k5-int.h:125,
from afs2k5db.c:35:
/root/testing/krb5-1.3.3/src/include/krb5/autoconf.h:167:1: warning:
"KRB5_DEPRECATED" redefined
In file included from afs2k5db.c:32:
/root/testing/krb5-1.3.3/src/include/krb5.h:65:1: warning: this is the
location of the previous definition
In file included from /root/testing/krb5-1.3.3/src/include/k5-int.h:125,
from afs2k5db.c:35:
/root/testing/krb5-1.3.3/src/include/krb5/autoconf.h:182:1: warning:
"KRB5_PRIVATE" redefined
In file included from afs2k5db.c:32:
/root/testing/krb5-1.3.3/src/include/krb5.h:69:1: warning: this is the
location of the previous definition
In file included from /root/testing/krb5-1.3.3/src/include/k5-int.h:125,
from afs2k5db.c:35:
/root/testing/krb5-1.3.3/src/include/krb5/autoconf.h:195:1: warning:
"PACKAGE_BUGREPORT" redefined
<command line>:8:1: warning: this is the location of the previous
definition
/root/testing/krb5-1.3.3/src/include/krb5/autoconf.h:198:1: warning:
"PACKAGE_NAME" redefined
<command line>:4:1: warning: this is the location of the previous
definition
/root/testing/krb5-1.3.3/src/include/krb5/autoconf.h:201:1: warning:
"PACKAGE_STRING" redefined
<command line>:7:1: warning: this is the location of the previous
definition
/root/testing/krb5-1.3.3/src/include/krb5/autoconf.h:204:1: warning:
"PACKAGE_TARNAME" redefined
<command line>:5:1: warning: this is the location of the previous
definition
/root/testing/krb5-1.3.3/src/include/krb5/autoconf.h:207:1: warning:
"PACKAGE_VERSION" redefined
<command line>:6:1: warning: this is the location of the previous
definition
In file included from afs2k5db.c:35:
/root/testing/krb5-1.3.3/src/include/k5-int.h:1816: error: syntax
error before "krb5_donot_replay"
afs2k5db.c:39:23: afs/param.h: No such file or directory
afs2k5db.c:40:28: afs/cellconfig.h: No such file or directory
afs2k5db.c:41:22: afs/auth.h: No such file or directory
afs2k5db.c:42:23: afs/kauth.h: No such file or directory
afs2k5db.c:43:18: ubik.h: No such file or directory
afs2k5db.c:63: error: field `stats' has incomplete type
afs2k5db.c:83: error: syntax error before "Date"
afs2k5db.c:83: warning: no semicolon at end of struct or union
afs2k5db.c:84: warning: data definition has no type or storage class
afs2k5db.c:86: error: syntax error before "change_password_time"
afs2k5db.c:86: warning: data definition has no type or storage class
afs2k5db.c:106: error: `kaident' undeclared here (not in a function)
afs2k5db.c:106: error: invalid application of `sizeof' to an
incomplete type
afs2k5db.c:107: error: syntax error before '}' token
afs2k5db.c:128: error: syntax error before "Date"
afs2k5db.c: In function `main':
afs2k5db.c:152: error: storage size of `uheader' isn't known
afs2k5db.c:154: error: storage size of `dbentry' isn't known
afs2k5db.c:280: error: invalid application of `sizeof' to an
incomplete type
afs2k5db.c:282: error: invalid application of `sizeof' to an
incomplete type
afs2k5db.c:286: error: invalid application of `sizeof' to an
incomplete type
afs2k5db.c:331: error: invalid application of `sizeof' to an
incomplete type
afs2k5db.c:334: error: invalid application of `sizeof' to an
incomplete type
afs2k5db.c: At top level:
afs2k5db.c:104: error: storage size of `userID' isn't known
afs2k5db.c:105: error: storage size of `key' isn't known
make: *** [afs2k5db.o] Error 1
It is different from my earlier errors, but even when I remove
afs2k5db from the PROGS variable at the Makefile again, I get an error
at compiling... :(
Any hints?
flow
- --
Florian Flachmeier Diepholz,
florianflachmeier@gmx.de Germany
- --
My GnuPG Key:
http://ffla.dyndns.org/~florian/public-key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCXqcnq0IILoh1gTsRAh+CAJ4kPZdKUvLOliwzZoEgBJZVfdRKEQCeJwwi
tHpWNNisCV+5OnCc/1e11YU=
=MYJQ
-----END PGP SIGNATURE-----