Skip Menu |
 

Download (untitled) / with headers
text/plain 2.8KiB
From alexei@Eastern.Heights.Dr Sat Feb 14 20:09:16 1998
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA09225 for <bugs@RT-11.MIT.EDU>; Sat, 14 Feb 1998 20:09:15 -0500
Received: from CS-ANNEX-1-08.CS.CORNELL.EDU by MIT.EDU with SMTP
id AA11389; Sat, 14 Feb 98 20:09:11 EST
Received: (from alexei@localhost)
by Eastern.Heights.Dr (8.8.7/8.8.7) id UAA26608;
Sat, 14 Feb 1998 20:07:43 -0500
Message-Id: <199802150107.UAA26608@Eastern.Heights.Dr>
Date: Sat, 14 Feb 1998 20:07:43 -0500
From: ayn2@cornell.edu
Reply-To: ayn2@cornell.edu
To: krb5-bugs@MIT.EDU
Cc: ayn2@cornell.edu
Subject: Building krb5 under glibc-2.06 (RH Linux)
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 549
>Category: krb5-build
>Synopsis: Building krb5 under glibc-2.06 (RH Linux)
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Sat Feb 14 20:10:01 EST 1998
>Last-Modified: Thu Feb 19 17:54:52 EST 1998
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Feb 19 17:54:26 1998
Responsible-Changed-Why:
Refiled

State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Thu Feb 19 17:54:33 1998
State-Changed-Why:
Already fixed in 1.0.5

Show quoted text
>Unformatted:
Description:
I was trying to compile krb5-1.0.4 on a RedHat 5.0 Linux 2.0.32 Glibc-2.0.6 machine. And had the following problems:
1) /usr/include/errnos.h (included from /usr/include/errno.h) has the following lines:

# if !defined _LIBC || defined _LIBC_REENTRANT
/* When using threads, errno is a per-thread value. */
# define errno (*__errno_location ())
# endif

which makes a big trouble when src/util/db2/hash/hash.h tries to define an "errno" field in struct htab.

2) Error compiling src/appl/bsd/v4rcp.c:
v4rcp.c:315: conflicting types for `sys_errlist'

3) Error compiling src/appl/gssftp/ftpd/logwtmp.c:
logwtmp.c:63: conflicting types for `logwtmp'

Fix:
I've made some quick fix for 1 and 3, but it is definitely not the best one. 2) can be easily fixed:

--- src/appl/bsd/v4rcp.c.glibc Mon Feb 9 12:12:09 1998
+++ src/appl/bsd/v4rcp.c Mon Feb 9 12:12:52 1998
@@ -311,7 +311,7 @@
#endif
int errno;
/* Kludge!!!! */
-#if (!defined(__NetBSD__) && !defined(__FreeBSD__))
+#if (!defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__GLIBC__))
extern char *sys_errlist[];
#endif
int iamremote, targetshouldbedirectory;




--------------------------------------------------------------
Home Page: http://www.cs.cornell.edu/nogin/
E-Mail: nogin@cs.cornell.edu (office), ayn2@cornell.edu (home)
Office: Upson 5162, tel: 1-607-255-7421