Skip Menu |

Download (untitled) / with headers
text/plain 2.2KiB
From Wed May 20 17:55:34 1998
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU []) 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 (8.8.7/8.8.7) id RAA00974;
Wed, 20 May 1998 17:55:36 -0400
Message-Id: <>
Date: Wed, 20 May 1998 17:55:36 -0400
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
>Originator: Ryan Cleary

Show quoted text
>Release: krb5-1.0.5
PC164 Alpha, RedHat 5.0 (Linux 2.0.30), target is same, glibc2

System: Linux 2.0.30 #2 Wed May 20 14:16:33 EDT 1998 alpha unknown
Architecture: alpha

Show quoted text
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
Build krlogin.c with stock source distribution on
RedHat 5.0/Alpha system.

Show quoted text
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
Subject: krlogin.c fails to build on Linux/Alpha running RedHat 5.0
Red Hat 5.0 is ancient. Code builds on Linux/Alpha running Debian with
a reasonably current glibc version.