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

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



On 28 Jun 2001, Assar Westerlund wrote:

> Nathan Rawling <nrawling@firedrake.net> writes:
> > 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)
> 
> Yes, this is due to some confusion as to what's included in different
> versions of libcrypto.  I'm working on fixing this.  The workaround
> for now is to make sure it uses libdes, as you mentioned earlier.

Without libcrypto, I get this:

larations -Wnested-externs -g -O2 -o verify_krb5_conf verify_krb5_conf.o
./.libs/libkrb5.a
/u/nrawling/build/heimdal-0.3f-afs/lib/des/.libs/libdes.a -lresolv -lnsl
-lsocket -lresolv -lnsl -lsocket
/u/nrawling/build/heimdal-0.3f-afs/lib/asn
1/.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/des/.libs/libdes.a -lresolv -lnsl -lsocket
-lresolv -lnsl -lsocket ../../lib/asn1/.libs/libasn1.a -lresolv -lnsl
-lsocket -lresolv -lnsl -lsocket ../../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
Undefined                       first referenced
 symbol                             in file
RAND_write_file                     ./.libs/libkrb5.a(crypto.o)
RAND_add                            ./.libs/libkrb5.a(crypto.o)
RAND_status                         ./.libs/libkrb5.a(crypto.o)
RAND_file_name                      ./.libs/libkrb5.a(crypto.o)
RAND_egd_bytes                      ./.libs/libkrb5.a(crypto.o)
RAND_bytes                          ./.libs/libkrb5.a(crypto.o)
ld: fatal: Symbol referencing errors. No output written to
verify_krb5_conf
collect2: ld returned 1 exit status
make[2]: *** [verify_krb5_conf] Error 1
make[2]: Leaving directory `/u/nrawling/build/heimdal-0.3f-afs/lib/krb5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/nrawling/build/heimdal-0.3f-afs/lib'
make: *** [all-recursive] Error 1


This is most vexing.

Nathan

--
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