[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solaris 8, OpenSSL 0.9.7d, kth-krb compatability problem



It looks as if kth-krb-1.3 is intended to address OpenSSL 0.9.7  
compatability, but in fact I get the same compile error as with  
kth-krb-1.2.2 on this point.

Openssl
> setenv LDFLAGS "-R/usr/heimdal/lib -L/usr/heimdal/lib"
> ./Configure --prefix=/usr/heimdal --openssldir=/usr/heimdal -DDES_PTR  
> -DOPENSSL_DES_LIBDES_COMPATIBILITY -L/usr/heimdal/lib  
> -R/usr/heimdal/lib solaris-sparcv9-gcc

There is another OpenSSL installed in /usr/local, but that does not  
appear to be the problem.  I can remove it's include files and there is  
no change;  also the include files listed appear to be the /usr/heimdal  
versions.

KTH-krb
> setenv LDFLAGS "-R/usr/athena/lib:/usr/heimdal/lib  
> -L/usr/athena/lib:/usr/heimdal/lib"
> ./configure CFLAGS=-DOPENSSL_DES_LIBDES_COMPATIBILITY --without-hesiod  
> --without-readline --with-openssl --with-openssl-lib=/usr/heimdal/lib  
> --with-openssl-include=/usr/heimdal/include --without-ipv6


> /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.  
> -I../../include  -I../../include -I../../lib/roken -I../../lib/roken  
> -DROKEN_RENAME -I/usr/heimdal/include -DDES_QUAD_CKSUM_BROKEN=1    
> -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast  
> -Wmissing-declarations -Wnested-externs  
> -DOPENSSL_DES_LIBDES_COMPATIBILITY -c -o kntoln.lo `test -f 'kntoln.c'  
> || echo './'`kntoln.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include  
> -I../../lib/roken -I../../lib/roken -DROKEN_RENAME  
> -I/usr/heimdal/include -DDES_QUAD_CKSUM_BROKEN=1 -Wall  
> -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast  
> -Wmissing-declarations -Wnested-externs  
> -DOPENSSL_DES_LIBDES_COMPATIBILITY -c kntoln.c -o kntoln.o
> In file included from ./krb.h:364,
>                  from krb_locl.h:126,
>                  from kntoln.c:48:
> ./krb-protos.h:175: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:175: warning: its scope is only this definition or  
> declaration, which is probably not what you want
> ./krb-protos.h:456: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:540: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:576: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:590: warning: "struct des_ks_struct" declared inside  
> parameter list
> In file included from kntoln.c:48:
> krb_locl.h:170:1: warning: "des_quad_cksum" redefined
> In file included from /usr/heimdal/include/openssl/des.h:101,
>                  from ./krb.h:60,
>                  from krb_locl.h:126,
>                  from kntoln.c:48:
> /usr/heimdal/include/openssl/des_old.h:287:1: warning: this is the  
> location of the previous definition
> /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.  
> -I../../include  -I../../include -I../../lib/roken -I../../lib/roken  
> -DROKEN_RENAME -I/usr/heimdal/include -DDES_QUAD_CKSUM_BROKEN=1    
> -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast  
> -Wmissing-declarations -Wnested-externs  
> -DOPENSSL_DES_LIBDES_COMPATIBILITY -c -o krb_check_auth.lo `test -f  
> 'krb_check_auth.c' || echo './'`krb_check_auth.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include  
> -I../../lib/roken -I../../lib/roken -DROKEN_RENAME  
> -I/usr/heimdal/include -DDES_QUAD_CKSUM_BROKEN=1 -Wall  
> -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast  
> -Wmissing-declarations -Wnested-externs  
> -DOPENSSL_DES_LIBDES_COMPATIBILITY -c krb_check_auth.c -o  
> krb_check_auth.o
> In file included from ./krb.h:364,
>                  from krb_locl.h:126,
>                  from krb_check_auth.c:34:
> ./krb-protos.h:175: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:175: warning: its scope is only this definition or  
> declaration, which is probably not what you want
> ./krb-protos.h:456: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:540: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:576: warning: "struct des_ks_struct" declared inside  
> parameter list
> ./krb-protos.h:590: warning: "struct des_ks_struct" declared inside  
> parameter list
> In file included from krb_check_auth.c:34:
> krb_locl.h:170:1: warning: "des_quad_cksum" redefined
> In file included from /usr/heimdal/include/openssl/des.h:101,
>                  from ./krb.h:60,
>                  from krb_locl.h:126,
>                  from krb_check_auth.c:34:
> /usr/heimdal/include/openssl/des_old.h:287:1: warning: this is the  
> location of the previous definition
> krb_check_auth.c:55: warning: "struct des_ks_struct" declared inside  
> parameter list
> krb_check_auth.c:56: error: conflicting types for 'krb_check_auth'
> ./krb-protos.h:175: error: previous declaration of 'krb_check_auth'  
> was here
> krb_check_auth.c:56: error: conflicting types for 'krb_check_auth'
> ./krb-protos.h:175: error: previous declaration of 'krb_check_auth'  
> was here
> krb_check_auth.c: In function `krb_check_auth':
> krb_check_auth.c:61: warning: passing arg 3 of `krb_rd_priv' from  
> incompatible pointer type
> *** Error code 1
> make: Fatal error: Command failed for target `krb_check_auth.lo'
> Current working directory /var/hotz/dist/krb4-1.3rc1/lib/krb
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /var/hotz/dist/krb4-1.3rc1/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> eis-fil-afstest01% pwd
> /var/hotz/dist/krb4-1.3rc1

------------------------------------------------------------------------ 
----
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu