[netatalk-admins] AFS/KERBEROS Support on Solaris 2.5.1 with netatalk-1.4b2+asun2.0a13


Subject: [netatalk-admins] AFS/KERBEROS Support on Solaris 2.5.1 with netatalk-1.4b2+asun2.0a13
From: Mario L. Gonzales (mario@oit.duke.edu)
Date: Thu Aug 07 1997 - 14:12:28 EDT


Hi Folks,

I am having a horrible time getting AFS and Kerberos to work with
netatalk-1.4b2+asun2.0a13.

I have Kerberos 4a10, and am using afs-3.4a.516.

I can --finally-- *yea* get netatalk-1.4b2+asun2.0a13 to compile on my
Solaris 2.5.1 box (Sparc 5) with Kerberos and AFS support disabled --
and it works just fine. actually before this last mod by Sun -- that was
impossible.

I am not the greatest compiler and I know just enough C to be dangerous :)

So if anyone has been able to get AFS and Kerberos Support to work with
Sun's TCP/IP mods to netatalk-1.4b2+asun2.0a13 I would be very interested
in chatting with you as soon as possible. :)

Just in case someone can see what is going wrong -- (I think it might
actually be an error in the code itself but I am not quite sure)....

Here is the last bits of output before the complie dies...

if [ x"/usr/afsws" != x ]; then \
    AFSLIBS="-lkauth -lprot -lubik -lauth -lsys -lrxkad -lrx -laudit \
        -llwp -lcmd -lcom_err /usr/afsws/lib/afs/util.a -ldes"; \
    AFSLIBDIRS="-L/usr/afsws/lib -L/usr/afsws/lib/afs"; \
    AFSINCPATH="-I/usr/afsws/include"; \
    AFSDEFS="-DAFS"; \
fi; \
make CC="gcc" ADDLIBS="-lsocket -lnsl" DEFS="-I../../sys/solaris
-D__svr4__ -DSOLARIS" \
    OPTOPTS="-O" DESTDIR="/spare/atalk" \
    SBINDIR="/spare/atalk/etc" BINDIR="/spare/atalk/bin"
RESDIR="/spare/atalk/etc" \
    ETCDIR="/spare/atalk/etc" LIBDIR="/spare/atalk/lib"
INCDIR="/spare/atalk/include" \
    KRBLIBS="${KRBLIBS}" KRBLIBDIRS="${KRBLIBDIRS}" \
    KRBINCPATH="${KRBINCPATH}" KRBDEFS="${KRBDEFS}" \
    AFSLIBS="${AFSLIBS}" AFSLIBDIRS="${AFSLIBDIRS}" \
    AFSINCPATH="${AFSINCPATH}" AFSDEFS="${AFSDEFS}" \
    afpd
gcc -I../../sys/solaris -D__svr4__ -DSOLARIS -DAFS -DKRB -O
-I../../include -I/usr/afsws/include -I/usr/pkg/krb4-10a/include
-DAPPLCNAME -DCRLF -c afs.c
afs.c:40: warning: `min' redefined
/usr/afsws/include/afs/stds.h:197: warning: this is the location of the
previous definition
afs.c:62: parse error before `AFPObj'
afs.c:62: warning: data definition has no type or storage class
afs.c:65: parse error before `{'
afs.c:73: parse error before `+='
afs.c:74: parse error before `&'
afs.c:81: parse error before `&'
afs.c:104: `vi' undeclared here (not in a function)
afs.c:104: warning: initialization makes pointer from integer without a
cast
afs.c:104: initializer element is not constant
afs.c:104: warning: data definition has no type or storage class
afs.c:105: parse error before `return'
afs.c:167: parse error before `AFPObj'
afs.c:167: warning: data definition has no type or storage class
afs.c:170: parse error before `{'
afs.c:178: redefinition of `rbuflen'
afs.c:104: `rbuflen' previously defined here
afs.c:178: warning: data definition has no type or storage class
afs.c:179: conflicting types for `iend'
afs.c:174: previous declaration of `iend'
afs.c:179: warning: initialization makes integer from pointer without a
cast
afs.c:179: initializer element is not constant
afs.c:179: warning: data definition has no type or storage class
afs.c:180: parse error before `+='
afs.c:181: parse error before `&'
afs.c:188: parse error before `&'
afs.c:216: parse error before string constant
*** Error code 1
make: Fatal error: Command failed for target `afs.o'
Current working directory /spare/mario/netatalk-1.4b2+asun2.0a13/etc/afpd
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /spare/mario/netatalk-1.4b2+asun2.0a13/etc/afpd
*** Error code 1
make: Fatal error: Command failed for target `afpd'
Current working directory /spare/mario/netatalk-1.4b2+asun2.0a13/etc
*** Error code 1
make: Fatal error: Command failed for target `../../etc'
Current working directory
/spare/mario/netatalk-1.4b2+asun2.0a13/sys/solaris
*** Error code 1
make: Fatal error: Command failed for target `all'

---------------------------------------------------------------------------
                            | Systems Administration Group, O.I.T.
  phone://919.660.7037/ | Duke University, 412 North Building
    fax://919.660.7029/ | Durham, NC 27708
 mailto:mario@oit.duke.edu | http://www.oit.duke.edu/~mario/
---------------------------------------------------------------------------
    FOR MY PGP PUBLIC KEY: "finger -m mario@acpub.duke.edu | pgp -fka"



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:26:02 EST