[Bug 155] New: OpenSSH 3.1p1 fails to compile on BSDi 4.0

Ben Lindstrom mouring at etoh.eviladmin.org
Mon Mar 11 03:59:28 EST 2002


This works for 4.0 and 4.1 BSD/OS.  It fails for 4.2  and is not required
on 4.3+

The reason it fails for 4.2 is because they changed where sys/queues.h
if a debug session with someone else was right.

So I'm unsure how to proceed to ensure it works in all BSD/OS cases
without breaking our fake-queues.h into smaller pieces.  Or moving
the includes into the defines.h

- Ben

On Sun, 10 Mar 2002, Mark D. Baushke wrote:

> >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.
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>




More information about the openssh-unix-dev mailing list