[Samba] Re: Kerberos-related configure script problem on Solaris
with 3.2.0
Bradley McNamara
Bradley.McNamara at Seattle.gov
Fri May 22 20:15:53 GMT 2009
David Eisner <deisner <at> gmail.com> writes:
> "libsmb/clikrb5.c", line 1531: #error: UNKNOWN_KRB5_ENCTYPE_TO_STRING_FUNCTION
> cc: acomp failed for libsmb/clikrb5.c
> The following command failed:
> cc -I. -I/home/david/build/samba-3.2.0-temp/samba-3.2.0/source
> -I/usr/local/heimdal/heimdal-1.1/include -O -D_SAMBA_BUILD_=3
> -I/home/david/build/samba-3.2.0-temp/samba-3.2.0/source/iniparser/src
> -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc
> -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H
> -I/usr/local/heimdal/heimdal-1.1/include -D_LARGEFILE_SOURCE
> -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Iinclude -I./include -I. -I.
> -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns
> -I./librpc -I./popt -DLDAP_DEPRECATED -DSUNOS5 -I/include
> -I/home/david/build/samba-3.2.0-temp/samba-3.2.0/source/lib
> -D_SAMBA_BUILD_=3 -KPIC -c libsmb/clikrb5.c -o libsmb/clikrb5.o
> *** Error code 2
> ...
> make: Fatal error: Command failed for target `libsmb/clikrb5.o'
>
> Put "#include <stdlib.h>" after "#include <krb5.h>". The configure
> script will correctly detect and set
> HAVE_KRB5_ENCTYPE_TO_STRING_WITH_KRB5_CONTEXT_ARG, and the build will
> succeed.
>
> -David
>
Odd, but I'm getting this exact error with Samba 3.3.4 on Solaris 10 (SPARC)
Update 7, gcc 3.4.6, Heimdal 1.2.1. The fix is still in place
in 'configure.in'. Has this been seem by anyone else? Maybe I'm just doing
something stupid.
Any insight or help would be appreciated. Thanks.
Brad
More information about the samba
mailing list