Skip Menu |
 

Download (untitled) / with headers
text/plain 2.6KiB
From root@minet.uni-jena.de Thu Aug 29 04:16:13 2002
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76]) by krbdev.mit.edu (8.9.3) with ESMTP
id EAA11011; Thu, 29 Aug 2002 04:16:13 -0400 (EDT)
Received: from fsuj20.rz.uni-jena.de (fsuj20.rz.uni-jena.de [141.35.1.18])
by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id EAA14612
for <krb5-bugs@mit.edu>; Thu, 29 Aug 2002 04:16:12 -0400 (EDT)
Received: from virusscan.rz.uni-jena.de (virusscan.rz.uni-jena.de [141.35.1.23])
by fsuj20.rz.uni-jena.de (8.12.0.Beta7/8.11.1) with ESMTP id g7T8GI8M011399
for <krb5-bugs@mit.edu>; Thu, 29 Aug 2002 10:16:18 +0200 (MET DST)
Received: from virusscan.rz.uni-jena.de (localhost [127.0.0.1])
by virusscan.rz.uni-jena.de (8.11.6/8.11.6) with ESMTP id g7T8GBt23637
for <krb5-bugs@mit.edu>; Thu, 29 Aug 2002 10:16:11 +0200
Received: from ppc215.mipool.uni-jena.de (ppc215.mipool.uni-jena.de [141.35.13.115])
by pax08e3.mipool.uni-jena.de (8.11.6/8.11.6) with SMTP id g7T8GBw274402
for <krb5-bugs@mit.edu>; Thu, 29 Aug 2002 10:16:11 +0200 (CEST)
Message-Id: <200208290816.g7T8GBw274402@pax08e3.mipool.uni-jena.de>
Received: by ppc215.mipool.uni-jena.de (sSMTP sendmail emulation); Thu, 29 Aug 2002 10:16:11 +0200
From: "root" <root@minet.uni-jena.de>
Date: Thu, 29 Aug 2002 10:16:11 +0200
To: krb5-bugs@mit.edu
Subject: Compile Error


From: erik@minet.uni-jena.de
Reply-To: erik@minet.uni-jena.de
Cc:
X-send-pr-version: 3.99


Show quoted text
>Submitter-Id: net
>Originator: Erik Braun <erik@minet.uni-jena.de>
>Organization:
FSU Jena, Faculty of Mathematics and Computer Sciences
Show quoted text
>Confidential:
>Synopsis:
>Severity: non-critical
>Priority: low
>Category: krb5-build
>Class: sw-bug
>Release: krb5-1.2.5
>Environment:

System: Linux ppc215 2.4.19 #1 Wed Aug 28 15:42:50 CEST 2002 i686 unknown
Architecture: i686
Compilers: gcc 2.95.4
gcc 3.2

Show quoted text
>Description:

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

Show quoted text
>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

Show quoted text
>Fix:

Download (untitled) / with headers
text/plain 1.1KiB
[RT_System - Thu Aug 29 04:16:16 2002]:

Show quoted text
> 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
Date: Tue, 10 Sep 2002 10:10:09 +0200 (CEST)
From: Erik Braun <erik@minet.uni-jena.de>
To: Tom Yu via RT <rt-comment@krbdev.mit.edu>
Subject: Re: [krbdev.mit.edu #1167]
RT-Send-Cc:
On Mon, 9 Sep 2002, Tom Yu via RT wrote:

Show quoted text
> > >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.

it seems, that this was the reason for the compile error.
thank you for the hint and sorry for bothering.

Erik Braun
--
erik@minet.uni-jena.de http://www.minet.uni-jena.de/~erik/