openssh 5.2p1 fails to build on IRIX 5.3

Tom Christensen tgc at jupiterrise.com
Wed Mar 18 03:34:01 EST 2009


Tim Rice wrote:
> On Tue, 17 Mar 2009, Tom Christensen wrote:
> 
>> Tim Rice wrote:
>>> On Mon, 16 Mar 2009, Tom Christensen wrote:
>>>
> [snip]
>>>> cfe: Error: channels.c, line 2472: 'in_port_t' undefined; reoccurrences
>>>> will not be reported.
>>>>          in_port_t *lport_p;
>>>>          ^
>>> [snip]
>>>
>>> Please try the attached in_port_t.patch and report back.
>>> You'll need to run autoreconf with version 2.61 or better.
>>> If you don't have an up to date autoconf, apply the attached
>>> optional-part2.patch.
>>>
>> Applied and ran autoreconf.
>>
>> It detects that in_port_t is missing and channels.c compiles without problems
>> now.
> 
> I should have sync'd my tree befor posting. It looks like Darren
> commited a nearly identical patch on the 7th. He used a slightly
> different typedef in defines.h.
> Does
> #ifndef HAVE_IN_PORT_T
> typedef u_int16_t       in_port_t;
> #endif
> work for you in defines.h?
>  
Yes.
Before you posted your patch I had already built it with in_port_t 
replaced with u_uint16_t and it's working as expected.

-tgc


More information about the openssh-unix-dev mailing list