From prblake@hnet08.moh.hnet.bc.ca Thu Feb 4 20:16:40 1999
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) 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 hnet08.moh.hnet.bc.ca by MIT.EDU with SMTP
id AA26039; Thu, 4 Feb 99 20:16:59 EST
Received: (from prblake@localhost) by hnet08.moh.hnet.bc.ca (AIX4.3/UCB 8.8.8/8.7) id RAA18174; Thu, 4 Feb 1999 17:15:56 -0800
Message-Id: <199902050115.RAA18174@hnet08.moh.hnet.bc.ca>
Date: Thu, 4 Feb 1999 17:15:56 -0800
From: Peter Blake <prblake@hnet08.moh.hnet.bc.ca>
Reply-To: prblake@uumail.gov.bc.ca
To: krb5-bugs@MIT.EDU
Cc: pnp-team@uumail.gov.bc.ca
Subject: Kerberos v5, 1.0.5 build errors on AIX 4.3.1
X-Send-Pr-Version: 3.99
Information, Science and Technology Agency
Province of British Columbia
gcc 2.8.1
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:
ac_cv_func_setutxent=${ac_cv_func_setutxent='no'}
ac_cv_header_utmpx_h=${ac_cv_header_utmpx_h='no'}
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.
gcc 2.8.1.
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) 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 hnet08.moh.hnet.bc.ca by MIT.EDU with SMTP
id AA26039; Thu, 4 Feb 99 20:16:59 EST
Received: (from prblake@localhost) by hnet08.moh.hnet.bc.ca (AIX4.3/UCB 8.8.8/8.7) id RAA18174; Thu, 4 Feb 1999 17:15:56 -0800
Message-Id: <199902050115.RAA18174@hnet08.moh.hnet.bc.ca>
Date: Thu, 4 Feb 1999 17:15:56 -0800
From: Peter Blake <prblake@hnet08.moh.hnet.bc.ca>
Reply-To: prblake@uumail.gov.bc.ca
To: krb5-bugs@MIT.EDU
Cc: pnp-team@uumail.gov.bc.ca
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
>Last-Modified:
>Originator: Peter Blake
>Organization:
Information Technology Services Division>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
>Last-Modified:
>Originator: Peter Blake
>Organization:
Information, Science and Technology Agency
Province of British Columbia
Show quoted text
>Release: krb5-1.0.5
>Environment:
System: AIX hnet08 3 4 006130594C00>Environment:
gcc 2.8.1
Show quoted text
>Description:
Here are all the steps and modifications that I had to do in order toget 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:
ac_cv_func_setutxent=${ac_cv_func_setutxent='no'}
ac_cv_header_utmpx_h=${ac_cv_header_utmpx_h='no'}
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
>How-To-Repeat:
Use a virgin copy of the krb5-1.0.5 sources on an AIX 4.3.1 system withgcc 2.8.1.
Show quoted text
>Fix:
See aboveShow quoted text
>Audit-Trail:
>Unformatted:
>Unformatted: