- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Problem compiling openssh 3.9p1 on HP-UX 10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2005 07:46 PM
02-01-2005 07:46 PM
Problem compiling openssh 3.9p1 on HP-UX 10.20
I have tried with gcc 3.0.1 and HP92453-01 A.10.32.30 HP ANSI C Compiler.
The errors are slightly different but within the same area.
How can I solve this problem?
I have attached the the configure and make logs for reference.
--
best regards
Peter Kielbasiewicz
#compiled with gcc:
In file included from ssh-keyscan.c:16:
/usr/include/setjmp.h:35: `_JBLEN' undeclared here (not in a function)
/usr/include/setjmp.h:35: size of array `sigjmp_buf' has non-integer type
/usr/include/setjmp.h:53: parse error before "int"
ssh-keyscan.c:57: parse error before "kexjmp"
ssh-keyscan.c:57: warning: type defaults to `int' in declaration of `kexjmp'
ssh-keyscan.c:57: warning: data definition has no type or storage class
ssh-keyscan.c: In function `hostjump':
ssh-keyscan.c:318: warning: implicit declaration of function `longjmp'
ssh-keyscan.c: In function `keygrab_ssh2':
ssh-keyscan.c:352: warning: implicit declaration of function `setjmp'
ssh-keyscan.c: In function `tcpconnect':
ssh-keyscan.c:384: warning: implicit declaration of function `snprintf'
*** Error exit code 1
#compiled with HP92453-01:
cc: "openbsd-compat/glob.h", line 46: warning 617: Redeclaration of tag "stat" ignored.
cc: "/usr/include/setjmp.h", line 35: error 1588: "_JBLEN" undefined.
cc: "/usr/include/setjmp.h", line 35: error 1502: Array size must be a constant expression.
cc: "/usr/include/setjmp.h", line 52: error 1506: Parameters allowed in function definition only.
cc: "/usr/include/setjmp.h", line 53: error 1000: Unexpected symbol: "int".
cc: "/usr/include/setjmp.h", line 53: error 1506: Parameters allowed in function definition only.
cc: "/home/development/openssh/openssl/openssl-0.9.7e/include/openssl/evp.h", line 783: warning 617: Redeclarati
on of tag "rsa_st" ignored.
cc: "/home/development/openssh/openssl/openssl-0.9.7e/include/openssl/evp.h", line 788: warning 617: Redeclarati
on of tag "dsa_st" ignored.
cc: "/home/development/openssh/openssl/openssl-0.9.7e/include/openssl/evp.h", line 793: warning 617: Redeclarati
on of tag "dh_st" ignored.
cc: "ssh-keyscan.c", line 57: error 1000: Unexpected symbol: "kexjmp".
cc: "ssh-keyscan.c", line 57: warning 557: Missing declaration specifiers, "int" assumed.
cc: "ssh-keyscan.c", line 318: error 1588: "kexjmp" undefined.
cc: "ssh-keyscan.c", line 352: error 1588: "kexjmp" undefined.
cc: "ssh-keyscan.c", line 671: error 1588: "kexjmp" undefined.*** Error exit code 1
*** Error exit code 1
- Tags:
- openssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2005 08:01 PM
02-01-2005 08:01 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
It's not supported on 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2005 08:27 PM
02-01-2005 08:27 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
what is not supported?
I was able to compile openssl, zlib, tcp wrappers and prngd.
So what is the problem with openssh?
We have a frozen environment of HP-UX 10.20 which we can not upgrade due to product lifecycle support reasons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 07:50 AM
02-23-2005 07:50 AM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
managed to compile OpenSSH3.9 on HP-UX 10.20.
Also, what source versions of zlib and
openSSL you used.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 08:14 AM
02-23-2005 08:14 AM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
openSSL: version 0.9.7d
zlib: 1.2.1
I had a heck of a time trying to compile with gcc, but it went pretty easily with HP ANSI C compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2005 04:42 PM
02-23-2005 04:42 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
I had to apply the patch
http://bugzilla.mindrot.org/show_bug.cgi?id=947 and everything was fine.
For references I have attached my build script.
It is a wrapper which I use to compile all parts required for openssh.
I wrote it so I do not need to remember all the steps and document the process scriptwise.
I adapt it manually to use the HP-ANSI C compiler or gcc or to compile only parts of the suite.
I hope it can be useful to others too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2005 06:28 PM
03-20-2005 06:28 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
_JBLEN is not defined in HP-UX 10.20 (at least it is not defined when compiling the openssh code). You have to edit the openssh source code to define it explicitly.
Also, the base source distribution of Openssh 3.9 does not take care of locked account in HP-UX trusted mode (ie. you can still lock in even it the account is locked in tcb). You have to modify auth.c to take care of this.
I can send you the depot if you do not want to go through the trouble to compile the program. Just post your request on this forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2005 09:45 AM
03-24-2005 09:45 AM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
Let me know if anyone want the Openssh or Openssl depot for HP-UX 10.20.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2005 05:03 AM
03-25-2005 05:03 AM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
Search Google for "HPUX Porting Archive" to find the one of the mirror sites.
Once you've found any of the porting archives sites they have links to all of the other sites by country (look at the flags).
Once there, search for "Openssh" in the package search box. If you look in the resulting page for the 3.9 version there are links to files for categories for HPUX11.1(PARISC),HPUX11.2 (Itanium), and HPUX - which is for HPUX 10.20.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 06:35 AM
03-27-2005 06:35 AM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
The files available under HP-UX section at the HP-UX Software porting site are just the source code. They have not been compiled and packaged into a depot yet. You will need to compile the source code yourself.
Furthermore, the source code did not take care of the locking of account in HP-UX trusted mode. As far as I can see, there is no difference between the source code downloaded from the OpenSSH site and HP-UX software porting site.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 08:47 AM
03-27-2005 08:47 AM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
I am willing to share the fruits of my efforts. Just let me know if you want the software.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 04:40 PM
09-06-2005 04:40 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
Hi Choy,
I'm just wondering if you can provide me the openssh software together with openssl.
I need the above sofwares for our Hp os version 10.01.
I have done research on the openssh.com site but I'm unable to determine which the right software for our 10.01 operating system.
Thanks for your help.
Cheers,
Raf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 09:42 PM
10-05-2005 09:42 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
Can you please post exactly what you had changed so that we can implement it to our source code. It would be very much appreciate it since we have to upgrade all the time and knowing what needs to be changed in the source code makes it easier the next time. Thanks!
-Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 09:50 PM
10-05-2005 09:50 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
My HP ITRC site pages can be found at (please use LA as primary choice):
USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/
Enjoy, have FUN! H.Merijn [ merijn at procura dot nl ]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 09:52 PM
10-05-2005 09:52 PM
Re: Problem compiling openssh 3.9p1 on HP-UX 10.20
d3:/u/usr/merijn 101 > ssh -V
OpenSSH_4.0p1, OpenSSL 0.9.7d 17 Mar 2004
d3:/u/usr/merijn 102 >
Enjoy, Have FUN! H.Merijn