final build.

Darren Tucker dtucker at zip.com.au
Wed Jun 26 16:38:08 EST 2002


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.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list