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

Re: Problems building heimdal-0.3f --enable-kaserver




That seems to have helped, but then I get this:

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast
-Wmissing-declarations -Wnested-externs -g -O2 -o telnet authenc.o
commands.o main.o network.o ring.o sys_bsd.o telnet.o terminal.o
utilities.o  ../libtelnet/libtelnet.a ../../../lib/krb5/.libs/libkrb5.a
-L/usr/local/pkg/kth-krb4-1.0.6/lib
/u/nrawling/build/heimdal-0.3f-afs/lib/asn1/.libs/libasn1.a -lresolv -lnsl
-lsocket -lresolv -lnsl -lsocket -lresolv -lnsl -lsocket -lresolv -lnsl
-lsocket /u/nrawling/build/heimdal-0.3f-afs/lib/roken/.libs/libroken.a
-lresolv -lnsl -lsocket -lresolv -lnsl -lsocket -lresolv -lnsl -lsocket
-lresolv -lnsl -lsocket ../../../lib/asn1/.libs/libasn1.a -lresolv -lnsl
-lsocket -lresolv -lnsl -lsocket -lkrb -lcrypto -ltermcap
../../../lib/vers/.libs/libvers.a -lresolv -lnsl -lsocket -lresolv -lnsl
-lsocket ../../../lib/roken/.libs/libroken.a -lresolv -lnsl -lsocket
-lresolv -lnsl -lsocket -ldb -lresolv -lnsl -lsocket -lresolv -lnsl
-lsocket -R/usr/local/pkg/kth-krb4-1.0.6/lib
Undefined                       first referenced
 symbol                             in file
des_init_random_number_generator    ../libtelnet/libtelnet.a(kerberos.o)
ld: fatal: Symbol referencing errors. No output written to telnet
collect2: ld returned 1 exit status
make[3]: *** [telnet] Error 1
make[3]: Leaving directory
`/u/nrawling/build/heimdal-0.3f-afs/appl/telnet/telnet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/u/nrawling/build/heimdal-0.3f-afs/appl/telnet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/nrawling/build/heimdal-0.3f-afs/appl'
make: *** [all-recursive] Error 1


Thanks for the help!

Nathan

On 27 Jun 2001, Assar Westerlund wrote:

> Nathan Rawling <nrawling@firedrake.net> writes:
> > Hello,
> 
> Hi.
> 
> > I have openssl-0.9.6 installed on the system, but I appear to be seeing some
> > trouble since libcrypto is used by both krb5 and OpenSSL (unless you're
> > using MIT K5 which uses libk5crypto instead). Removing libcrypto.a from
> > OpenSSL from the LD_LIBRARY_PATH seemed the right thing to do. This actually
> > made things significantly worse.
> > 
> > Building without --with-kaserver
> 
> I assume this is actually --enable-kaserver ?  (or without both :-)
> 
> > I don't have any problems, even building
> > using --with-krb4. But when I attempt to build it using --enable-kaserver, I
> > get this error:
> 
> I don't see how you wouldn't get that error with --with-krb4.  But I
> think you want basically this patch:
> 
> Index: kdc_locl.h
> ===================================================================
> RCS file: /afs/pdc.kth.se/src/packages/kth-krb/SourceRepository/heimdal/kdc/kdc_locl.h,v
> retrieving revision 1.48
> retrieving revision 1.49
> diff -u -w -r1.48 -r1.49
> --- kdc_locl.h	2001/01/30 01:44:07	1.48
> +++ kdc_locl.h	2001/06/24 00:04:11	1.49
> @@ -115,4 +115,8 @@
>  			     struct sockaddr_in*);
>  #endif
>  
> +#ifdef HAVE_OPENSSL_DES_H
> +#define des_new_random_key des_random_key
> +#endif
> +
>  #endif /* __KDC_LOCL_H__ */
> 
> > Has anyone else seen this problem? I've tried just about everything to work
> > around it. By hacking up the kdc/Makefile I can get it to build using libdes
> > from kth-krb4, but I run into problems later with telnetd and others.
> 
> You get missing references to des_* functions in telnetd?
> 
> /assar
> 

-- 
--
Nathan Rawling      nrawling@firedrake.net       KC8BOA
"A dead fish goes downstream, it takes a live one to go
   against the current." -- Clayton Rawling, 1894-1973