Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 2263 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 ; 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 >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 >Release: krb5-1.0.5 >Environment: PC164 Alpha, RedHat 5.0 (Linux 2.0.30), target is same, glibc2 System: Linux robotuna.mit.edu 2.0.30 #2 Wed May 20 14:16:33 EDT 1998 alpha unknown Architecture: alpha >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). >How-To-Repeat: Build krlogin.c with stock source distribution on RedHat 5.0/Alpha system. >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. >Audit-Trail: >Unformatted: