Re: openssh-3.8p1 compile problem

From: Carlo Luciano Bianco (clbianco_at_tiscalinet.it)
Date: 03/12/04


Date: 12 Mar 2004 10:55:26 GMT

dtucker@dodgy.net.au (Darren Tucker) wrote in
news:c2qr2r$gc2$1@gate.dodgy.net.au:

> In article <Xns94A9A9B699E24clbiancotiscalinetit@127.0.0.1>,
> Carlo Luciano Bianco <clbianco@tiscalinet.it> wrote:
>>
>>After adding the -D_SOCKADDR_LEN suggested by Bob (with
>>BROKEN_GETADDRINFO defined in config.h), everithing went fine and sshd
>>finally started to work.
>
> Presumably _SOCKADDR_LEN is supposed to be defined in another header
> file? If so, which? Or is it safe to have configure define it (or
> _XOPEN_SOURCE_EXTENDED) for Tru64? (I haven't touched one of those
> boxes for a loooong time, back then it was still called OSF/1 :-)
>
> Could someone please test it with _XOPEN_SOURCE_EXTENDED?

I have tried to ./configure with "-D_XOPEN_SOURCE_EXTENDED" added to
CFLAGS and without "-D_SOCKADDR_LEN". When I issue "make" not even
"moduli.c" (the first file to be processed) gets compiled. I get tons of
errors about "in_system.h", "ip.h", "tcp.h", "nameser.h", "resolv.h",
etc., and the compilation stops. The errors are mainly of the "Missing
type specifier or type qualifier" and "Ill-formed parameter type list"
kind.

> Configure
> currently defines that (and _XOPEN_SOURCE) for HP-UX, so maybe it should
> do the same for Tru64?

I have tried also with _XOPEN_SOURCE, with or without
_XOPEN_SOURCE_EXTENDED, and the result is still the same.

-- 
| Carlo Luciano Bianco | ICQ UIN: 109517158                              |
|______________________| Home page: <http://web.tiscali.it/clbianco/>    |
|GPG DSA/ElG 1024/4096:|_________________________________________________|
|KeyID:0x5324A0DA - Fingerprint:8B00C61034120506111B143DEDBF71B45324A0DA |