final build.

Phil Howard phil-openssh-unix-dev at ipal.net
Thu Jun 27 02:28:25 EST 2002


On Wed, Jun 26, 2002 at 04:38:08PM +1000, Darren Tucker wrote:

| Phil Howard wrote:
| > The current error message stopping the static compile is:
| > 
| > =============================================================================
| > gcc -g -O2 -Wall -Wno-uninitialized -I. -I.  -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c ssh-agent.c
| > ssh-agent.c: In function `main':
| > ssh-agent.c:975: `BSDoptarg' undeclared (first use in this function)
| > ssh-agent.c:975: (Each undeclared identifier is reported only once
| > ssh-agent.c:975: for each function it appears in.)
| > make: *** [ssh-agent.o] Error 1
| > make failed
| 
| Adding "extern char *optarg;" to ssh-agent.c fixed a similar error
| building on AIX. This is in -cvs and Ben's test tarballs but not 3.3p1.

This one change fixed it.  There appear to be no others.  After applying
Ben's patch, then making the change suggested above, it compiles fine,
and runs OK.  I have not done thorough testing, yet, but as long as I can
at least login as root to remote machines, I can fix problems that crop
up.  Every machine tested so far is Linux 2.4.X based.  I have a couple
of 2.2.X based machines to work on next.  I'll probably just leave off
compression or something as I doubt I can upgrade the kernel on them this
week.

The integrated patch I built with is here:
    http://phil.ipal.org/openssh-3.3p1-getopt.patch

-- 
-----------------------------------------------------------------
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| phil-nospam at ipal.net | Texas, USA | http://phil.ipal.org/     |
-----------------------------------------------------------------



More information about the openssh-unix-dev mailing list