From root@robotuna.mit.edu Wed May 20 17:55:34 1998
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 RAA18036 for <bugs@RT-11.MIT.EDU>; Wed, 20 May 1998 17:55:33 -0400
Received: from ROBOTUNA.MIT.EDU by MIT.EDU with SMTP
id AA28141; Wed, 20 May 98 17:55:38 EDT
Received: (from root@localhost)
by robotuna.mit.edu (8.8.7/8.8.7) id RAA00974;
Wed, 20 May 1998 17:55:36 -0400
Message-Id: <199805202155.RAA00974@robotuna.mit.edu>
Date: Wed, 20 May 1998 17:55:36 -0400
From: tryanc@robotuna.mit.edu
Reply-To: tryanc@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: krlogin.c fails to build on Linux/Alpha running RedHat 5.0
X-Send-Pr-Version: 3.99
System: Linux robotuna.mit.edu 2.0.30 #2 Wed May 20 14:16:33 EDT 1998 alpha unknown
Architecture: alpha
machine running RedHat 5.0 (based on Linux 2.0.30 and glibc 2).
gcc can't find a type definition for struct ltchars. However, I did
not have a problem buiding any krb5 with the RedHat 4.2's kernel sources
(also based on 2.0.30, but with glibc 1.9).
RedHat 5.0/Alpha system.
/usr/include/asm/termios.h (/usr/src/linux/include/asm/termios.h) and
copied the definitions for structs ltchars and tchars to a separate header
file, and included this header in krlogin.c. make was happy, and the
binaries seem to work fine, but this fix is admittedly a very
poor kludge. Unfortunately, I no longer have RedHat 4.2 installed,
and therefore can't see which header file in that distribution contained
the struct definitions.
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 RAA18036 for <bugs@RT-11.MIT.EDU>; Wed, 20 May 1998 17:55:33 -0400
Received: from ROBOTUNA.MIT.EDU by MIT.EDU with SMTP
id AA28141; Wed, 20 May 98 17:55:38 EDT
Received: (from root@localhost)
by robotuna.mit.edu (8.8.7/8.8.7) id RAA00974;
Wed, 20 May 1998 17:55:36 -0400
Message-Id: <199805202155.RAA00974@robotuna.mit.edu>
Date: Wed, 20 May 1998 17:55:36 -0400
From: tryanc@robotuna.mit.edu
Reply-To: tryanc@MIT.EDU
To: krb5-bugs@MIT.EDU
Subject: krlogin.c fails to build on Linux/Alpha running RedHat 5.0
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 591
>Category: krb5-build
>Synopsis: krlogin.c fails to build on Linux/Alpha running RedHat 5.0
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: tlyu
>State: open
>Class: support
>Submitter-Id: unknown
>Arrival-Date: Wed May 20 17:56:01 EDT 1998
>Last-Modified:
>Originator: Ryan Cleary
>Organization:
MIT>Category: krb5-build
>Synopsis: krlogin.c fails to build on Linux/Alpha running RedHat 5.0
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: tlyu
>State: open
>Class: support
>Submitter-Id: unknown
>Arrival-Date: Wed May 20 17:56:01 EDT 1998
>Last-Modified:
>Originator: Ryan Cleary
>Organization:
Show quoted text
>Release: krb5-1.0.5
>Environment:
PC164 Alpha, RedHat 5.0 (Linux 2.0.30), target is same, glibc2>Environment:
System: Linux robotuna.mit.edu 2.0.30 #2 Wed May 20 14:16:33 EDT 1998 alpha unknown
Architecture: alpha
Show quoted text
>Description:
The stock krlogin.c doesn't compile on my Linux/Alpha machine running RedHat 5.0 (based on Linux 2.0.30 and glibc 2).
gcc can't find a type definition for struct ltchars. However, I did
not have a problem buiding any krb5 with the RedHat 4.2's kernel sources
(also based on 2.0.30, but with glibc 1.9).
Show quoted text
>How-To-Repeat:
Build krlogin.c with stock source distribution on RedHat 5.0/Alpha system.
Show quoted text
>Fix:
I found the type definition for struct ltchars in /usr/include/asm/termios.h (/usr/src/linux/include/asm/termios.h) and
copied the definitions for structs ltchars and tchars to a separate header
file, and included this header in krlogin.c. make was happy, and the
binaries seem to work fine, but this fix is admittedly a very
poor kludge. Unfortunately, I no longer have RedHat 4.2 installed,
and therefore can't see which header file in that distribution contained
the struct definitions.
Show quoted text
>Audit-Trail:
>Unformatted:
>Unformatted: