Chroot & openssh 3.7.1p2 + Aix 4.3.3

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I'm trying to compile openssh 3.7.1.p2 on aix 4.3.3 to build a chroot
environment for sftp users.
I have uncompressed openssh, then i have applied a patch from (#openssh-3.7.1p2/patch
<chroot-3_x_aix_diff sessions.c )
And all seems to go right.
Then i make ./configure and make. At this moment the error is:
session.c: In function `do_authenticated':
session.c:201: warning: unused variable `user_dir'
session.c:202: warning: unused variable `new_root'
session.c: In function `do_rc_files':
session.c:1171: `pw' undeclared (first use in this function)
session.c:1171: (Each undeclared identifier is reported only once
session.c:1171: for each function it appears in.)
session.c:1174: `new_root' undeclared (first use in this function)
session.c:1179: `user_dir' undeclared (first use in this function)

Any idea?


Site Timeline