[4571] in Kerberos
Re: Compile error
daemon@ATHENA.MIT.EDU (David Mazieres)
Mon Feb 6 15:41:48 1995
To: kerberos@MIT.EDU
Date: 6 Feb 1995 18:45:42 GMT
From: dm@das.harvard.edu (David Mazieres)
In article <9502061621.AA03246@noghri.cycare.com>,
<fhansen@noghri.cycare.com> wrote:
>When trying to build the V5 patch level 4 version of kerberos, I receive
>the following:
>
>libkrb5.a ../../lib/libcrypto.a ../../util/et/libcom_err.a -lndbm -ldbm
>/bin/ld: Unsatisfied symbols:
>seteuid (code)
>collect2: ld returned 1 exit status
>...
>
>We are on a hp825 running 8.02. The compiler is gcc2.6.2.
Well, under HP-UX 9 I had to
#define seteuid(x) setresuid(-1,x,-1)
That particular problem was a tiny one compared to everything else,
though. For instance, I found that I had to re-write vsyslog in terms
of syslog, because the one they supplied caused kadmind to die of
infinite recursion.
Even after fixing up a number of different things, I still couldn't
get kadmind to work properly. Whether that was becuase I didn't know
how to use it or because of remaining bugs I don't know. If anyone has
a working kerberos5 for HP-UX, or if someone can tell me what instances
I need to create for kerberos5, I would really appreciate it, because I
finally just gave up.
If you do go on, I strongly recomment linking against the GNU libgdbm
instead of libdbm and libndbm. I couldn't get anything to work with
the HP-UX dbm libraries (even when I compiled with cc or gcc
-fpcc-struct-return [does it make a difference on the HP's?]). Be
aware, though, that when you install gdbm, it doesn't copy the dbm.h
and ndbm.h compatibility files to /usr/local/include, so you will need
to copy them there manually.
Good luck!
David