Problem compiling krb5 1.3.1

Pierre pierre42d at 9online.fr
Mon Oct 27 04:07:54 EST 2003


pierre42d at 9online.fr wrote:
> Hi,
> 
> I try to compile krb5-1.3.1 on my GNU/Linux system
> with gcc-3.2
> there was no problem with the configure, but for the
> make I got this :
> 
> [...]
> making all in lib/kdb...
> gmake[2]: Entering directory `/tmp/krb5-1.3.1/src/lib/kdb'
> gcc -s -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DKRB5_KRB4_COMPAT=1 -DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1
> -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP_REALM=1 -DKRB5_DNS_LOOKUP=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/k
>  rb5 
> A-I/usr/local/BerkeleyDB.4.1/include -O3 -march=i686 -c kdb_db2.c
> kdb_db2.c: In function `k5db2_dbopen':
> kdb_db2.c:207: `BTREEINFO' undeclared (first use in this function)
> kdb_db2.c:207: (Each undeclared identifier is reported only once
> kdb_db2.c:207: for each function it appears in.)
> kdb_db2.c:207: parse error before "bti"
> kdb_db2.c:208: `HASHINFO' undeclared (first use in this function)
> kdb_db2.c:210: `bti' undeclared (first use in this function)
> kdb_db2.c:218: `hashi' undeclared (first use in this function)
> 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: too few arguments to function
> kdb_db2.c: In function `krb5_db_unlock':
> kdb_db2.c:585: too few arguments to function
> kdb_db2.c: In function `krb5_db_create':
> kdb_db2.c:632
>  : too few
>  arguments to function
> kdb_db2.c: In function `krb5_db_rename':
> kdb_db2.c:813: 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: 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: 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: 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: too few arguments to function
> kdb_db2.c:1110: warning: passing arg 2 of pointer to function from
> incompatible point
>  er typeD
> kdb_db2.c:1110: too few arguments to function
> kdb_db2.c: In function `krb5_db_iterate_ext':
> kdb_db2.c:1154: structure has no member named `seq'
> kdb_db2.c:1155: `R_LAST' undeclared (first use in this function)
> kdb_db2.c:1155: `R_FIRST' undeclared (first use in this function)
> kdb_db2.c:1176: structure has no member named `seq'
> kdb_db2.c:1177: `R_PREV' undeclared (first use in this function)
> kdb_db2.c:1177: `R_NEXT' undeclared (first use in this function)
> gmake[2]: *** [kdb_db2.o] Error 1
> gmake[2]: Leaving directory `/tmp/krb5-1.3.1/src/lib/kdb'
> gmake[1]: *** [all-recurse] Error 1
> gmake[1]: Leaving directory `/tmp/krb5-1.3.1/src/lib'
> gmake: *** [all-recurse] Error 1
> 

Ok I finally succeed to solve this.
An external Berkely db library cannot be included (but it would be great 
if it could!)

-- 
Pierre.





More information about the Kerberos mailing list