[Bug 146] New: OpenSSH 3.1p1 will not build on BSD/OS 4.2/4.1/4.01

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Mar 8 07:22:51 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=146

           Summary: OpenSSH 3.1p1 will not build on BSD/OS 4.2/4.1/4.01
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: BSDI
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build system
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: spike at indra.com


OpenSSH 3.1p1 will not build on BSD/OS 4.2  Two files fail:

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 in 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

BSDI's <sys/queue.h> lacks TAILQ_FOREACH.  While openbsd-compat/fake-queue.h 
can provide TAILQ_FOREACH, defining HAVE_BOGUS_SYS_QUEUE_H does not work.  
<sys/queue.h> is included by a number of system includes, causing 
_SYS_QUEUE_H_ to be defined by the time fake-queue.h is included which in turn 
ifdefs out all of fake-queue.h.

ssh-rand-helper.c: In function `get_random_bytes_prngd':
ssh-rand-helper.c:154: `ulong' undeclared (first use in this function)
ssh-rand-helper.c:154: (Each undeclared identifier is reported only once
ssh-rand-helper.c:154: for each function it appears in.)
ssh-rand-helper.c:154: syntax error before `0x7f000001'
*** Error code 1 (continuing)

defines.h defines:

#ifndef INADDR_LOOPBACK
#define INADDR_LOOPBACK ((ulong)0x7f000001)
#endif

It should probably be "u_long".



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list