------- Start of forwarded message -------
Message-ID: <[EMAIL PROTECTED]>
From: "Gill, Vern" <[EMAIL PROTECTED]>
To: "'Sam Hartman'" <[EMAIL PROTECTED]>
Subject: RE: compile errors
Date: Sun, 2 Dec 2001 20:16:08 -0800
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Ok. That's fine...
However, I deleted all the sources, re-extracted them from the tarball, and
tried again;
./configure --cache-file=config.cache --enable-dns --enable-dns-for-kdc
--enable-dns-for-realm --disable-kdc-replay-cache --with-krb4 --with-ipv6
Prior to configuring I added the netdb include to krb524d.c, just to see if
it helped.
Results;
making all in lib/rpc/unit-test...
make[3]: Entering directory `/src/krb5-1.2.2/src/lib/rpc/unit-test'
kgcc -L../../../lib -o client client.o rpc_test_clnt.o \
-lgssrpc -ldyn -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv
../../../lib/libkrb5.a(hst_realm.o): In function `krb5_try_realm_txt_rr':
hst_realm.o(.text+0x12a): undefined reference to `__res_search'
hst_realm.o(.text+0x1de): undefined reference to `__dn_expand'
hst_realm.o(.text+0x27a): undefined reference to `__dn_expand'
../../../lib/libkrb5.a(locate_kdc.o): In function `krb5_locate_srv_dns':
locate_kdc.o(.text+0x8c2): undefined reference to `__res_search'
locate_kdc.o(.text+0x96f): undefined reference to `__dn_expand'
locate_kdc.o(.text+0xa0a): undefined reference to `__dn_expand'
locate_kdc.o(.text+0xc67): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[3]: *** [client] Error 1
make[3]: Leaving directory `/src/krb5-1.2.2/src/lib/rpc/unit-test'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory `/src/krb5-1.2.2/src/lib/rpc'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/src/krb5-1.2.2/src/lib'
make: *** [all-recurse] Error 1
-----Original Message-----
From: Sam Hartman [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 02, 2001 1:48 PM
To: Gill, Vern
Subject: Re: compile errors
>>>>> "Gill," == Gill, Vern <[EMAIL PROTECTED]> writes:
Gill,> Why would it not work? If the krb4 in the krb5 sources are
Gill,> the same, that's fine. However, if they differ, I would
Gill,> prefer to use the real krb4 sources...
I don't think it is supported any longer; I am surprised the makefile
fragments still exist to try. Among other things a real krb4 library
will not be aware of certain Kerberos5 issues which makes it difficult
to build a modern krb524d or to use krb5 keytabs as srvtabs etc etc.
But really that's more an answer of why it shouldn't work. Why it
doesn't work is that is doesn't compile or link. You saw that
already.
------- End of forwarded message -------