[24060] in Kerberos

home help back first fref pref prev next nref lref last post

Error in building Kerberos on Slackware 10.1

daemon@ATHENA.MIT.EDU (Madhusudan Singh)
Sun Jun 12 04:42:36 2005

Message-ID: <42abaa15$0$18645$14726298@news.sunsite.dk>
From: Madhusudan Singh <spammers-go-here@spam.invalid>
Date: Sat, 11 Jun 2005 23:22:26 -0400
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

Hi

        I am trying to build MIT Kerberos 5 on a Slackware server which will act as
an OpenAFS server (and a Kerberos application-server client).

        (I need only the client, but to be certain that I do not miss any include
files, I executed the build in the src/ and not the src/clients directory -
please let me know if this is unnecessary).

        Configure step :

        ./configure --prefix=/usr/local/kerberos5 --without-krb4 --with-system-db
--with-tcl=/usr/include/ --enable-athena 

        Build :

        make : 

        ...
        ...
        ...

        gcc -fPIC -DSHARED -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1
-DKRB5_DNS_LOOKUP=1 -DHAVE_LIBRESOLV=1 -DHAVE_RES_NSEARCH=1
-DHAVE_RES_SEARCH=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_PRAGMA_WEAK_REF=1
-DDELAY_INITIALIZER=1 -DCONSTRUCTOR_ATTR_WORKS=1 -DDESTRUCTOR_ATTR_WORKS=1
-DENABLE_THREADS=1 -DHAVE_PTHREAD=1
-DHAVE_PTHREAD_RWLOCK_INIT_IN_THREAD_LIB=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_SRAND48=1
-DHAVE_SRAND=1 -DHAVE_SRANDOM=1 -DHAVE_UMASK=1 -DHAVE_REGCOMP=1  
-I../../include -I./../../include -I../../include/krb5
-I./../../include/krb5   -g -O2 -Wall -Wmissing-prototypes -Wcast-qual 
-Wcast-align -Wconversion -Wshadow -pedantic -pthread -c kdb_db2.c -o
kdb_db2.so.o && mv -f kdb_db2.so.o kdb_db2.so
kdb_db2.c: In function `k5db2_dbopen':
kdb_db2.c:207: error: `BTREEINFO' undeclared (first use in this function)
kdb_db2.c:207: error: (Each undeclared identifier is reported only once
kdb_db2.c:207: error: for each function it appears in.)
kdb_db2.c:207: error: parse error before "bti"
kdb_db2.c:208: error: `HASHINFO' undeclared (first use in this function)
kdb_db2.c:210: error: `bti' undeclared (first use in this function)
kdb_db2.c:218: error: `hashi' undeclared (first use in this function)
kdb_db2.c:225: warning: implicit declaration of function `dbopen'
kdb_db2.c:227: warning: assignment makes pointer from integer without a cast
kdb_db2.c:237: warning: assignment makes pointer from integer without a cast
kdb_db2.c: In function `krb5_db_set_name':
kdb_db2.c:421: error: too few arguments to function
kdb_db2.c: In function `krb5_db_unlock':
kdb_db2.c:585: error: too few arguments to function
kdb_db2.c: In function `krb5_db_create':
kdb_db2.c:632: error: too few arguments to function
kdb_db2.c: In function `krb5_db_rename':
kdb_db2.c:813: error: too few arguments to function
kdb_db2.c: In function `krb5_db_get_principal':
kdb_db2.c:926: warning: passing arg 2 of pointer to function from
incompatible pointer type
kdb_db2.c:926: error: too few arguments to function
kdb_db2.c: In function `krb5_db_put_principal':
kdb_db2.c:1018: warning: passing arg 2 of pointer to function from
incompatible pointer type
kdb_db2.c:1018: error: too few arguments to function
kdb_db2.c: In function `krb5_db_delete_principal':
kdb_db2.c:1070: warning: passing arg 2 of pointer to function from
incompatible pointer type
kdb_db2.c:1070: error: too few arguments to function
kdb_db2.c:1105: warning: passing arg 2 of pointer to function from
incompatible pointer type
kdb_db2.c:1105: error: too few arguments to function
kdb_db2.c:1110: warning: passing arg 2 of pointer to function from
incompatible pointer type
kdb_db2.c:1110: error: too few arguments to function
kdb_db2.c: In function `krb5_db_iterate_ext':
kdb_db2.c:1154: error: structure has no member named `seq'
kdb_db2.c:1155: error: `R_LAST' undeclared (first use in this function)
kdb_db2.c:1155: error: `R_FIRST' undeclared (first use in this function)
kdb_db2.c:1176: error: structure has no member named `seq'
kdb_db2.c:1177: error: `R_PREV' undeclared (first use in this function)
kdb_db2.c:1177: error: `R_NEXT' undeclared (first use in this function)
make[2]: *** [kdb_db2.so] Error 1
make[2]: Leaving directory `/usr/local/src/krb5-1.4.1/src/lib/kdb'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/usr/local/src/krb5-1.4.1/src/lib'
make: *** [all-recurse] Error 1


        Two questions :

        1. Is my attempt to build everything in src/ (instead of just src/clients)
an overkill ?

        2. What is going wrong above ?

Thanks.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post