Skip Menu |

From Thu Feb 4 20:16:40 1999
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU []) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA15732 for <bugs@RT-11.MIT.EDU>; Thu, 4 Feb 1999 20:16:39 -0500
Received: from by MIT.EDU with SMTP
id AA26039; Thu, 4 Feb 99 20:16:59 EST
Received: (from prblake@localhost) by (AIX4.3/UCB 8.8.8/8.7) id RAA18174; Thu, 4 Feb 1999 17:15:56 -0800
Message-Id: <>
Date: Thu, 4 Feb 1999 17:15:56 -0800
From: Peter Blake <>
To: krb5-bugs@MIT.EDU
Subject: Kerberos v5, 1.0.5 build errors on AIX 4.3.1
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 689
>Category: krb5-build
>Synopsis: krb5 1.0.5 on AIX 4.3.1 - compile errors
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: tlyu
>State: open
>Class: support
>Submitter-Id: unknown
>Arrival-Date: Thu Feb 04 20:17:01 EST 1999
>Originator: Peter Blake
Information Technology Services Division
Information, Science and Technology Agency
Province of British Columbia

Show quoted text
>Release: krb5-1.0.5
System: AIX hnet08 3 4 006130594C00
gcc 2.8.1

Show quoted text
Here are all the steps and modifications that I had to do in order to
get krb5 1.0.5 to compile on AIX 4.3.1 with gcc 2.8.1.

1. When I ran configure on my system, it detected /usr/include/utmpx.h
and setutxent subr; however, the compilation stopped in util/pty/update_utmp.c
with the messages:
./update_utmp.c: In function `pty_update_utmp':
./update_utmp.c:146: structure has no member named `ut_exit'

Couldn't find any doc in InfoExplorer mentioning utmpx.h or setutxent; however,
did find docs that explicitly stated that the format of utmp, wtmp and failedlogin
were defined in utmp.h.

Resolution to this error was to:
a. update krb5/src/config.cache and set:
b. make clean; ./configure --with-cc=gcc again; make

2. Two sources: appl/user_user/client.c, appl/gssftp/ftpd/ftpd.c have the
declaration of "extern int h_errno". /usr/include/netdb.h had the
following definition for h_errno:
#define h_errno (*(int *)h_errno_which())

gcc would choke with a parse error. Commenting out this line allowed
the compile to continue without introducing any apparent problems.

3. The link/build of appl/bsd/login.krb5 failed due to unable to resolve
"rmufile" reference (from login.c). Couldn't find any reference to
to this subr, so commented it out and was able to continue the compile.

4. appl/telnet/telnetd/termios-tn.c, missing definitions for TCSETS, TCSETSW and TCSETSF.
Added #include <sys/str_tty.h> prior to existing #include <termios.h> statement.

Show quoted text
Use a virgin copy of the krb5-1.0.5 sources on an AIX 4.3.1 system with
gcc 2.8.1.
Show quoted text
See above
Show quoted text
closing; lots of different bugs, most of which have since been fixed in
various releases