Bug 155 - OpenSSH 3.1p1 fails to compile on BSDi 4.0
Summary: OpenSSH 3.1p1 fails to compile on BSDi 4.0
Status: CLOSED DUPLICATE of bug 146
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: ix86 BSDI
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-10 20:04 AEDT by Tan Shao Yi
Modified: 2010-12-03 11:52 AEDT (History)
0 users

See Also:


Attachments
/home/djm/sftp-hardlink.diff (8.99 KB, patch)
2010-12-03 11:52 AEDT, Damien Miller
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tan Shao Yi 2002-03-10 20:04:48 AEDT
Hello,

I OpenSSH 3.1p1 fails to compile on my BSDi4.0 box running gcc 2.7.2.1, and 
with OpenSSL 0.9.6b installed. The previous version OpenSSH 3.0.2p1 compiles 
cleanly though.

The error that I got from OpenSSH 3.1p1 while compiling is

gcc -o ssh-keyscan ssh-keyscan.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -
L/usr/local/lib -lssh -lopenbsd-compat -lssh -lutil -lz  -lcrypto
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I. -
I/usr/local/ssl/include -I/usr/local/lib  -DSSHDIR=\"/usr/local/etc\"  -
D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"  -
D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"  -
D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"  -
D_PATH_SSH_PIDDIR=\"/var/run\"  -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-
helper\" -DHAVE_CONFIG_H -c ssh-agent.c
ssh-agent.c: In function `lookup_identity':
ssh-agent.c:135: warning: implicit declaration of function `TAILQ_FOREACH'
ssh-agent.c:135: `next' undeclared (first use this function)
ssh-agent.c:135: (Each undeclared identifier is reported only once
ssh-agent.c:135: for each function it appears in.)
ssh-agent.c:135: syntax error before `{'
ssh-agent.c:138: warning: control reaches end of non-void function
ssh-agent.c: At top level:
ssh-agent.c:111: warning: `idtab_init' defined but not used
ssh-agent.c:131: warning: `lookup_identity' defined but not used
*** Error code 1

Stop.

Is there something I have missed? The configure options that I specified were "-
-with-tcp-wrappers=/usr/local/lib" and "--with-ipv4-default".
Comment 1 Melvyn Sopacua 2002-03-18 23:05:52 AEDT

*** This bug has been marked as a duplicate of 146 ***
Comment 2 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED
Comment 3 Damien Miller 2010-12-03 11:52:25 AEDT
Created attachment 1970 [details]
/home/djm/sftp-hardlink.diff

revised patch