[2765] in Kerberos-V5-bugs

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

krb5-build/451: krb5-1.0/src/util/pty/update_utmp.c compilation failure

daemon@ATHENA.MIT.EDU (W. David Shambroom)
Fri Aug 1 16:15:12 1997

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: tlyu@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, "W. David Shambroom" <DShambroom@gte.com>
Date: Fri, 01 Aug 1997 16:09:51 -0400
From: "W. David Shambroom" <DShambroom@gte.com>
To: krb5-bugs@MIT.EDU


>Number:         451
>Category:       krb5-build
>Synopsis:       krb5-1.0/src/util/pty/update_utmp.c compilation failure
>Confidential:   yes
>Severity:       critical
>Priority:       medium
>Responsible:    tlyu
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Fri Aug 01 16:11:00 EDT 1997
>Last-Modified:
>Originator:     W. David Shambroom
>Organization:
--
W. David Shambroom                         E-mail:  DShambroom@gte.com
Principal Member of Technical Staff             Phone:  (617) 466-2584
GTE Laboratories Incorporated                     Fax:  (617) 466-3339
PGP key:  1024/09CC2121  fingerprint=68A47DA6FF484189 97B5B4C8DFF8B443
>Release:        1.0
>Environment:

Machine: IBM RS/6000 model 43P
OS: AIX 4.2.0
Compiler: CSet++ 3.1.4


>Description:
	Using AIX 4.2.0, compilation of krb5-1.0/src/util/pty/update_utmp.c
	fails at line 46 as follows:
	
	cc  -DHAVE_FCHMOD=1 -DHAVE_FCHOWN=1 -DHAVE_REVOKE=1 -DHAVE_KILLPG=1
	-DSTDC_HEADERS=1 -DHAVE_GETUTENT=1 -DHAVE_SETREUID=1 -DHAVE_SETSID=1
	-DHAVE_TTYNAME=1 -DHAVE_PTSNAME=1 -DHAVE_GRANTPT=1 -DHAVE_UNISTD_H=1
	-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UTMPX_H=1 -DHAVE_UTMP_H=1
	-DHAVE_TTYENT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_WAIT_H=1
	-DHAVE_WAITPID=1 -DHAVE_SYS_ERRLIST=1 -DNEED_SYS_ERRLIST=1
	-Dkrb5_sigtype=void -DPOSIX_SIGTYPE=1 -DPOSIX_SIGNALS=1
	-DPOSIX_SETJMP=1 -DUSE_DIRENT_H=1 -DWAIT_USES_INT=1 -DPOSIX_TERMIOS=1
	-DHAVE_SETUTENT=1 -DHAVE_SETUTXENT=1 -DHAVE_STREAMS=1 -DHAVE_SETOWN=1
	-I./../../include -I../../include -I./../../include/krb5
	-I../../include/krb5 -DKERBEROS -I. -I. -c ./update_utmp.c
	"./update_utmp.c", line 146.5: 1506-022 (S) "ut_exit" is not a member
	of "struct utmpx".

	Note that HAVE_SETUTXENT is defined, HAVE_GETUTMPX is not.
	
	struct utmpx is defined in /usr/include/utmpx.h as follows:
	
	struct utmpx
  {
        char ut_user[8] ;               /* User login name */
        char ut_id[14] ;                /* /etc/inittab id */
        char ut_line[12] ;              /* device name (console, lnxx) */
        short ut_type ;                 /* type of entry */
        pid_t ut_pid ;                  /* process id */
        struct timeval ut_tv;           /* time entry was made */
        char ut_host[16];               /* host id */
  } ;

>How-To-Repeat:
	See Description.
>Fix:
	

>Audit-Trail:
>Unformatted:
SEND-PR: -*- send-pr -*-
SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as
SEND-PR: will all comments (text enclosed in `<' and `>').
SEND-PR: 
SEND-PR: Please consult the send-pr man page `send-pr(1)' or the Texinfo
SEND-PR: manual if you are not sure how to fill out a problem report.
SEND-PR:
SEND-PR: Choose from the following categories:
SEND-PR:
SEND-PR: krb5-admin   krb5-appl    krb5-build   krb5-clients 
SEND-PR: krb5-doc     krb5-kdc     krb5-libs    krb5-misc    
SEND-PR: pty          telnet       test         
SEND-PR:
To: krb5-bugs@mit.edu
Subject: 
From: DShambroom@gte.com
Reply-To: DShambroom@gte.com
Cc: DShambroom@gte.com
X-send-pr-version: 3.99



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