Bug 67621
Summary: | 3.1p1-6 cannot be compiled on RHL 6.2 system | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Peter Bieringer <pb> | ||||
Component: | openssh | Assignee: | Nalin Dahyabhai <nalin> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | Brian Brock <bbrock> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6.2 | CC: | ddkilzer | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-12-03 09:48:44 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: | |||||||
Attachments: |
|
Description
Peter Bieringer
2002-06-28 13:10:14 UTC
Created attachment 65825 [details]
openssh-3.1p1-fix-__func__.diff (fixes use of __func__ in auth2-pam.c)
I just finished a recompile of openssh-3.1p1-6 for my RH 6.2 system. Attachment #65825 [details] is a patch to fix the use of __func__ in auth2-pam.c so that it is in agreement with the ISO C99 standard. This patch should only be used with older versions of gcc! You may read more about __func__ and gcc here: http://gcc.gnu.org/onlinedocs/gcc/Function-Names.html I also had to make other changes to the openssh.spec file to get it compiled under RH 6.2, but I have a somewhat non-standard setup (due to use of alien(1) to convert Debian packages to RPMs and rebuilding other RH 7.x for use with RH 6.2): - Changed BuildPreReq from db1-devel to db3-devel (RH 7.1 SRPM rebuilt on 6.2). - Changed BuildPreReq from openssl-devel to libssl-dev (Debian package converted by alien(1)). - Changed %define build6x from 0 to 1 (required for RH 6.2 build). - Rebuilt pam-0.75-19 SRPM from Red Hat 7.2 and installed. (I needed the header files found in /usr/include/security/ from pam-devel.) - Added pam-devel to BuildPreReq for build6x. - Added patch found in Attachment #65825 [details] to fix issue with use of __func__ in auth2-pam.c. I'm afraid this system confuses the heck out of up2date. :^) Hope that helps! Obviously, another way to fix this is to simply replace __func__ with the name of the functions in the two locations where it's used. I simply tried to follow the ISO C99 spec. Let's move forward to rawhide openssh-3.4p1, which is also working on RHL 6.2 I'll made some RHL 6.2 enhancements in the spec file for this version: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=69332 Mho: this issue can be closed now. Yes, later versions are ok. |