[3411] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #1167]

daemon@ATHENA.MIT.EDU (Tom Yu via RT)
Mon Sep 9 17:17:44 2002

Mail-Followup-To: rt@krbdev.mit.edu
Message-Id: <rt-1167-2806.13.0949234840858@krbdev.mit.edu>
In-Reply-To: <rt-1167@krbdev.mit.edu>
From: "Tom Yu via RT" <rt-comment@krbdev.mit.edu>
Reply-To: rt-comment@krbdev.mit.edu
Mail-Copies-To: never
To: root@minet.uni-jena.de, erik@minet.uni-jena.de
Cc: krb5-prs@mit.edu
Errors-To: krb5-bugs-admin@mit.edu
Date: Mon, 9 Sep 2002 17:13:44 -0400 (EDT)

[RT_System - Thu Aug 29 04:16:16 2002]:

> when Compiling, the following error appears:
> 
>  make[3]: Entering directory /root/krb5-1.2.5/src/lib/rpc/unit-test'
>  gcc -L../../../lib -Wl,-rpath -Wl,/usr/lib -o client client.o
>  rpc_test_clnt.o \
>  -lgssrpc -ldyn -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
>  ../../../lib/libkrb5.so: undefined reference to __dn_expand'
>  ../../../lib/libkrb5.so: undefined reference to __res_search'
>  collect2: ld returned 1 exit status
> the error does not happpen when enabling DNS access (--enable-dns).
> It happens with both versions of gcc 2.95.4 and 3.2
> 
> >How-To-Repeat:
> ./configure  --prefix=/usr --enable-shared '--with-ccopts=-O2
> -D_REENTRANT' --
> localstatedir=/etc --mandir=/usr/share/man --without-tcl
> --enable-dns=no
> make all

Did you remove config.cache before configuring with the --enable-dns=no
flag?  If not, that might explain the problem.  If you were doing the
./configure from a fresh source tree or on one that had config.cache
removed, then I would be interested in seeing your build log showing the
compiler command lines where lib/krb5/os/locate_kdc and
lib/krb5/os/hst_realm.c get compiled.

---Tom
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post