[649] in Kerberos-V5-bugs

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

Re: build errors under AIX 3.2.5 on a RS6000/250

daemon@ATHENA.MIT.EDU (Mark Eichin)
Tue Aug 16 22:45:38 1994

From: Mark Eichin <eichin@cygnus.com>
Date: Tue, 16 Aug 1994 22:45:11 -0400
To: Paul Pomes <P-Pomes@uiuc.edu>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: [629]

Everything mentioned, except the problem with the lack of
sys/termios.h in telnet/externs.h has been fixed in our main sources.
(That should be taken care of when we POSIXiate the terminal handling
in the telnet sources.) 

Thank you for the detailed report! Appended you'll find the check list
of how these items were fixed. Please try the next snapshot when it is
released... 
				_Mark_ <eichin@athena.mit.edu>
				MIT Student Information Processing Board
				Cygnus Support <eichin@cygnus.com>


> In /src/lib/krb5/asn.1:
> "krb5_encode.c", line 342.8: 1506-025 (S) Operand must be a modifiable lvalue.

Ted fixed the deeper problem here.

> In kadmin/v4server:
> "kadm_server.c", line 99.51: 1506-122 (S) Expecting pointer to struct or union.
> Fixed by forcing use of <time.h>

Fixed use of time.h and sys/time.h in general (with autoconf.)

> In appl/bsd:
> .vfork

Fixed with autoconf.

> In appl/bsd:
> "krshd.c", line 1057.27: 1506-045 (S) Undeclared identifier fd_set.
> Fixed by adding #include <sys/select.h> wrapped with #ifdef _AIX .

Fixed with autoconf check for sys/select.h.

> In appl/bsd:
> "logutil.c", line 135.0: 1506-041 (S) Parameter list cannot contain fewer parameters than required by macro definition.
> Fixed by removing line "char *strncpy();"

Fixed.

> In appl/bsd:
> "krlogind.c", line 807.16: 1506-045 (S) Undeclared identifier FIONBIO.
> Fixed by adding #include <sys/ioctl.h>

Fixed.

> In appl/bsd:
> Sundry link errors with login
> Fixed by adding "-lodm -ls -lcfg" to LIBS in Makefile.

Fixed by checking for all three (with autoconf) and then passing them
to the login.krb5 linke command.


> In appl/telnet/telnet:
> Processing include file ./externs.h
>     1501-106: (S) Include file sys/termios.h not found.

> Fixed by adding -DSYSV_TERMIO=1 to Makefile.

NOT YET.

> In appl/telnet/telnet:
> "commands.c", line 2223.0: 1506-041 (S) Parameter list cannot contain fewer parameters than required by macro definition.
> Fixed by changing "char *srp = 0, *strrchr();" to just "char *srp = 0;".

Fixed.

> In appl/telnet/telnet:
> main.c", line 120.0: 1506-041 (S) Parameter list cannot contain fewer parameters than required by macro definition.
> Fixed by changing "char *user, *strrchr();" to just "char *user;".

Fixed.


> In appl/telnet/telnet:
> "network.c", line 81.5: 1506-045 (S) Undeclared identifier fd_set.
> Fixed by adding #include <sys/select.h> wrapped with #ifdef _AIX .

Fixed with autoconf check for sys/select.h.

> In appl/telnet/telnet:
> "sys_bsd.c", line 117.15: 1506-046 (S) Syntax error.
> Fixed by adding #include <sys/select.h> wrapped with #ifdef _AIX .

Fixed with autoconf check for sys/select.h.

> "sys_bsd.c", line 1158.10: 1506-045 (S) Undeclared identifier termdata.
> Fixed by adding "extern int termdata;".

Fixed by taking out the #if defined(unix) around the definition (and
other use) of termdata.

> In appl/telnet/telnet:
> .vfork
> Fixed by adding -Dvfork=fork to Makefile

Fixed with autoconf.

> In appl/telnet/telnetd:
> "utility.c", line 383.0: 1506-041 (S) Parameter list cannot contain fewer parameters than required by macro definition.
> Fixed by deleting "char *strncpy();" .

Fixed.

> In appl/telnet/telnetd:
> .vhangup

Fixed with autoconf.

> In appl/popper:
> "pop_xmit.c", line 38.13: 1506-007 (S) Struct or union wait is undefined.
> "pop_xmit.c", line 93.31: 1506-045 (S) Undeclared identifier stat.
> AIX uses int as arguments to wait().  ...

Fixed with autoconf and WAIT_USES_INT.


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