bugzilla-daemon at mindrot.org
2002-Mar-10 09:04 UTC
[Bug 155] New: OpenSSH 3.1p1 fails to compile on BSDi 4.0
http://bugzilla.mindrot.org/show_bug.cgi?id=155 Summary: OpenSSH 3.1p1 fails to compile on BSDi 4.0 Product: Portable OpenSSH Version: 3.1p1 Platform: ix86 OS/Version: BSDI Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: tansympp at singnet.com.sg 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". ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Mark D. Baushke
2002-Mar-10 16:31 UTC
[Bug 155] New: OpenSSH 3.1p1 fails to compile on BSDi 4.0
>ssh-agent.c:135: warning: implicit declaration of function `TAILQ_FOREACH'I had the same problem until I removed /usr/local/include/sys/queue.h that had been left over from an old version of the Berkeley DB package. If your system has a /usr/include/sys/queue.h, then it is likely broken and you could try adding '#define HAVE_BOGUS_SYS_QUEUE_H 1' to your config.h file to see if this lets you build the sources. If your system does not have a /usr/include/sys/queue.h file, then look in the directories that are being searched by the -I options to your gcc command for a sys/queue.h file.
Possibly Parallel Threads
- [Bug 146] New: OpenSSH 3.1p1 will not build on BSD/OS 4.2/4.1/4.01
- [Bug 174] New: compile error on BSDi 4.0.1
- [Bug 146] OpenSSH 3.1p1 will not build on BSD/OS 4.2/4.1/4.01
- [PATCH] ssh-agent: Add support to load additional certificates
- Amanda and Samba 2.0.3