Unable to build 1.4.2 on FreeBSD

Vladimir Terziev vladimir.terziev at sun-fish.com
Thu Aug 11 05:31:38 EDT 2005


	Hi,

	i tryed to build Kerberos 1.4.2 on FreeBSD 4.10, but i failed. The error i got is the following:

[snip]
....
[snip]

making all in lib/gssapi/krb5...
gmake[3]: Entering directory `/var/tmp/krb5-1.4.2/src/lib/gssapi/krb5'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BT_RSEQ=1 
-DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1 
-DKRB5_DNS_LOOKUP=1 -DHAVE_RES_SEARCH=1 -DHAVE_NS_INITPARSE=1 
-DHAVE_NS_NAME_UNCOMPRESS=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_PRAGMA_WEAK_REF=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_UNISTD_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 
-DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4   -I../../../include -I./../../../include -I../../../include/krb5 -I./../../../include/krb5 -I. -I. -I./.. -I../generic -I./../generic  -g -O2 -Wall -Wmissing-prototypes -Wcast-qual  -Wcast-align -Wconversion -Wshadow -pedantic -D_THREAD_SAFE -pthread -c import_name.c
In file included from ../../../include/krb5.h:100,
                 from gssapiP_krb5.h:50,
                 from import_name.c:27:
/usr/include/stdlib.h:111: warning: ANSI C does not support `long long'
/usr/include/stdlib.h:117: warning: ANSI C does not support `long long'
import_name.c: In function `krb5_gss_import_name':
import_name.c:125: `BUFSIZ' undeclared (first use in this function)
import_name.c:125: (Each undeclared identifier is reported only once
import_name.c:125: for each function it appears in.)
import_name.c:125: warning: unused variable `pwbuf'
import_name.c:124: warning: unused variable `pwx'
gmake[3]: *** [import_name.o] Error 1

	As i managed to investigate, BUFSIZ is really undeclared, but why?

	Could someone explain me what could be wrong?

	Thanks in advance!

		Vlady


More information about the Kerberos mailing list