Bug 947 - ssh-keyscan.c fails to compile on HP-UX 10.20
Summary: ssh-keyscan.c fails to compile on HP-UX 10.20
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 3.9p1
Hardware: HPPA HP-UX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-30 10:53 AEST by Adam Bernstein
Modified: 2006-10-07 11:37 AEST (History)
0 users

See Also:


Attachments
Check for conflicting getspnam declarations at configure time. (1.57 KB, patch)
2004-10-31 19:21 AEDT, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Bernstein 2004-10-30 10:53:04 AEST
The change to includes.h made between releases 3.8.1p1 and 3.9p1 broke the build
of ssh-keyscan.c for HP-UX 10.20.  Stubbing out lines 184-193 of includes.h
fixes this problem.  I am not sure what the portable automake method way of
detecting HP-UX 10.20 is, but #ifdef'ing out this section of the header file
according to a platform version less than HPUX11 is needed to fix the 10.20
build.  After #if 0'ing out these lines I did a make clean and a make and
everything then build successfully.
Comment 1 Darren Tucker 2004-10-31 19:21:53 AEDT
Created attachment 736 [details]
Check for conflicting getspnam declarations at configure time.

Please try this patch (you will need to run "autoreconf" from autoconf-2.59 to
rebuild configure).
Comment 2 Adam Bernstein 2004-11-02 07:13:24 AEDT
I tried out the GETSPNAM_CONFLICTING_DEFS patch on my HP-UX 10.20 build system.
 This change does resolve my build issue.
Comment 3 Darren Tucker 2004-11-02 20:32:42 AEDT
Thanks for the confirmation, applied.
Comment 4 Darren Tucker 2006-10-07 11:37:42 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.