Bug 8258 - libsmb/clispnego.c cli_krb5_get_ticket
Summary: libsmb/clispnego.c cli_krb5_get_ticket
Status: NEW
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.5.9
Hardware: x64 Solaris
: P5 normal
Target Milestone: ---
Assignee: Derrell Lipman
QA Contact: Samba QA Contact
Depends on:
Reported: 2011-06-23 18:12 UTC by sean o'malley
Modified: 2011-06-23 20:57 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description sean o'malley 2011-06-23 18:12:58 UTC
./configure.developer --prefix=/usr/local/samba --with-pam --disable-avahi \
   --disable-dnssd --without-cluster-support --with-libiconv=/usr/local \
   --disable-merged-build --disable-netapi --without-ads --disable-krb5developer

compile failed at line 433 of libsmb/cliespnego
If i added #ifdef HAVE_KRB5 around  cli_krb5_get_ticket  it continued the compile. 

This is an older version of Solaris 10.
Comment 1 sean o'malley 2011-06-23 20:54:32 UTC
Here is the actual output: if it helps. 

compiling libsmb/clispnego.c
libsmb/clispnego.c: In function `spnego_gen_negTokenTarg':
libsmb/clispnego.c:432: error: implicit declaration of function `cli_krb5_get_ticket'
The following command failed:
gcc -I../lib/zlib -g -g -Wall -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -Wdeclaration-after-statement -Werror-implicit-function-declaration -I. -I/opt/samba/samba-3.5.9/source3 -I/opt/samba/samba-3.5.9/source3/iniparser/src -Iinclude -I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H  -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DLDAP_DEPRECATED -DSUNOS5  -I/opt/samba/samba-3.5.9/source3/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3  -fPIC -c libsmb/clispnego.c -o libsmb/clispnego.o
make: *** [libsmb/clispnego.o] Error 1
Comment 2 sean o'malley 2011-06-23 20:57:51 UTC
I forgot to add it is gcc 3.4.6