Possible bug in configure --with-krb5, Samba3.0 on Solaris9

Alberto Patino jalbertop at aranea.com.mx
Wed Oct 8 23:34:25 GMT 2003


I have samba.3.0.0 installed and working with kerberos in my solaris 9
box.

I compiled with this:
bash-2.05$ export CC=gcc
bash-2.05$ export CPPFLAGS='-I/usr/local/openldap-2.1.19/include/
-I/usr/local/krb5-1.2.8/include/'
bash-2.05$ export CFLAGS=-g
bash-2.05$ export LDFLAGS='-L/usr/local/openldap-2.1.19/lib
-L/usr/local/krb5-1.2.8/lib -Wl,-R/usr/local/openldap-2.1.19/lib
-Wl,-R/usr/local/krb5-1.2.8/lib'
bash-2.05$ export LD_OPTIONS='-R/usr/local/openldap-2.1.19/lib
-R/usr/local/krb5-1.2.8/lib'
bash-2.05$ ./configure --prefix=/usr/local/samba-3.0.0 --with-ads
--with-krb5=/usr/local/krb5-1.2.8 --with-syslog --with-quotas
--with-acl-support --enable-shared --enable-debug --enable-developer
--enable-krb5developer


Note my config.log
configure:25420: checking for memory keytab support
configure:25448: gcc -o conftest -g -g -gstabs -Wall -Wshadow
-Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -DDEBUG_PASSWORD -DDEVELOPER -gstabs -Wall -Wshadow
-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings
-DDEBUG_PASSWORD -DDEVELOPER -I/usr/local/krb5-1.2.8/include
-I/usr/local/openldap-2.1.19/include/ -I/usr/local/krb5-1.2.8/include/
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/local/krb5-1.2.8/include -L/usr/local/openldap-2.1.19/lib
-L/usr/local/krb5-1.2.8/lib -Wl,-R/usr/local/openldap-2.1.19/lib
-Wl,-R/usr/local/krb5-1.2.8/lib -L/usr/local/krb5-1.2.8/lib conftest.c
-lsec -lgen -lresolv -lsocket -lnsl -ldl  -L/usr/local/krb5-1.2.8/lib 
-lcom_err -lk5crypto -lkrb5 -lgssapi_krb5 >&5
In file included from /usr/local/krb5-1.2.8/include/krb5.h:138,
                 from configure:25433:
/usr/local/krb5-1.2.8/include/profile.h:188: warning: function
declaration isn't a prototype
In file included from configure:25433:
/usr/local/krb5-1.2.8/include/krb5.h:2967: warning: function declaration
isn't a prototype
/usr/local/krb5-1.2.8/include/krb5.h:3019: warning: function declaration
isn't a prototype
/usr/local/krb5-1.2.8/include/krb5.h:3096: warning: function declaration
isn't a prototype
/usr/local/krb5-1.2.8/include/krb5.h:3132: warning: function declaration
isn't a prototype
configure:25435: warning: return type defaults to `int'
configure:25435: warning: function declaration isn't a prototype
configure:25451: $? = 0
configure:25453: ./conftest
configure:25456: $? = 0
configure:25469: result: no
configure:25492: checking whether Active Directory and krb5 support is
used
configure:25494: result: yes







More information about the samba-technical mailing list