Bug 2560
Summary: | RedHat 6.0 does not compile ssh version 2.0.[11|12] or 1.2.26 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | nfield |
Component: | egcs | Assignee: | David Lawrence <dkl> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 | Keywords: | Security |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-05-05 12:35:17 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
nfield
1999-05-05 08:01:17 UTC
Here's what I do for 1.2.26. I haven't tried 2.0.x, but I'm told that -D_GNU_SOURCE does the trick there too. Please reopen this bug if not ... Add -D_GNU_SOURCE to CFLAGS. In addition, there's a one liner for login.c --- ssh-1.2.26/login.c.rh Fri Mar 12 16:06:29 1999 +++ ssh-1.2.26/login.c Fri Mar 12 16:06:37 1999 @@ -434,7 +434,6 @@ ux.ut_session = pid; strncpy(ux.ut_host, host, sizeof(ux.ut_host)); ux.ut_host[sizeof(ux.ut_host) - 1] = 0; - ux.ut_syslen = strlen(ux.ut_host); #ifdef HAVE_SYSLEN_IN_UTMPX ux.ut_syslen = strlen(ux.ut_host); #endif |