Re: problem after patching openssh 3.7.1p2
From: Vahid (sunman_at_ureach.com)
Date: 11/26/03
- Previous message: memacro: "SSH2 session key"
- In reply to: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Next in thread: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Reply: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 26 Nov 2003 07:22:39 -0800
dtucker@dodgy.net.au (Darren Tucker) wrote in message news:<bq1aum$67j$1@gate.dodgy.net.au>...
> In article <64b3dda3.0311251258.78a77c8e@posting.google.com>,
> Vahid <sunman@ureach.com> wrote:
> >Hi,
> >I am trying to get password expiry to work with openssh 3.7.1.p2
> >snapshot 20031118 on Solaris 8 so I applied
> >openssh-3.7.1p2-pwexp26.patch But I get the following compile error:
> >cc1: warning: changing search order for system directory
> >"/usr/local/include"
> >cc1: warning: as it has already been specified as a non-system
> >directory
> >auth-passwd.c: In function `do_tty_change_password':
> >auth-passwd.c:172: `PASSWD_PROGRAM_PATH' undeclared (first use in this
> >function)
> >auth-passwd.c:172: (Each undeclared identifier is reported only once
> >auth-passwd.c:172: for each function it appears in.)
> >make: *** [auth-passwd.o] Error 1
> >
> >I also applied patches pwexp24, 25 and then 26 for ssh 3.7.1.p2 but I
> >am still having problem compiling it.
> >What am I missing?
>
> You need to re-run configure (make distclean && ./configure) as the
> location of the "passwd" program is detected at configure time.
>
> >Also, I need to compile openssh on an HP-UX and AIX as well, do I need
> >to add other patches to the same tarball and carry the tarball on
> >different platforms to compile or I have to add patch to the base
> >tarball on each platform then compile it.
>
> You can compile the patched tarball on all those platforms (as long
> as you do "make distclean" before running configure). You do not need to
> re-patch.
>
> >Is there a reason that the latest OpenSSH tarball does not include all
> >the latest patches?
>
> There's a few: it's a large patch and the OpenSSH developers tend to be
> cautious, and there a a few pieces that the patch needs that are not
> present in OpenBSD's OpenSSH (on which the Portable OpenSSH is based).
>
> >Thank you,
>
> You're welcome.
Let me explain the steps I am taking to compile openssh, before
complaining about the errors:
- I untar the snapshot ...
cd openssh
GNUpatch -p1 < openssh-3.7.1p2-pwexp24.patch # applies ok
GNUpatch -p1 < openssh-3.7.1p2-pwexp25.patch # need to say patch
anyway
GNUpatch -p1 < openssh-3.7.1p2-pwexp26.patch # need to say patch
anyway
cd ..; tar openssh.tar openssh # to take to other platforms...
cd openssh
./configure
Am I doing anything wrong or out of order?
Configure goes fine but make will give me the following error:
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
auth-passwd.c: In function `do_tty_change_password':
auth-passwd.c:172: `PASSWD_PROGRAM_PATH' undeclared (first use in this
function)
auth-passwd.c:172: (Each undeclared identifier is reported only once
auth-passwd.c:172: for each function it appears in.)
auth-passwd.c: At top level:
auth-passwd.c:235: redefinition of `do_tty_change_password'
auth-passwd.c:159: `do_tty_change_password' previously defined here
auth-passwd.c: In function `do_tty_change_password':
auth-passwd.c:248: `PASSWD_PROGRAM_PATH' undeclared (first use in this
function)
auth-passwd.c: At top level:
auth-passwd.c:279: redefinition of `flag_password_change_required'
auth-passwd.c:203: `flag_password_change_required' previously defined
here
auth-passwd.c:296: redefinition of `flag_password_change_successful'
auth-passwd.c:220: `flag_password_change_successful' previously
defined here
auth-passwd.c:311: redefinition of `do_tty_change_password'
auth-passwd.c:235: `do_tty_change_password' previously defined here
auth-passwd.c: In function `do_tty_change_password':
auth-passwd.c:324: `PASSWD_PROGRAM_PATH' undeclared (first use in this
function)
auth-passwd.c: At top level:
auth-passwd.c:355: redefinition of `flag_password_change_required'
auth-passwd.c:279: `flag_password_change_required' previously defined
here
auth-passwd.c:372: redefinition of `flag_password_change_successful'
auth-passwd.c:296: `flag_password_change_successful' previously
defined here
make: *** [auth-passwd.o] Error 1
Thank you again,
- Previous message: memacro: "SSH2 session key"
- In reply to: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Next in thread: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Reply: Darren Tucker: "Re: problem after patching openssh 3.7.1p2"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|