OpenSSH 7.3p1 can't be build on Solaris 10

Darren Tucker dtucker at zip.com.au
Tue Aug 2 14:02:55 AEST 2016


On Tue, Aug 2, 2016 at 1:44 PM, Darren Tucker <dtucker at zip.com.au> wrote:
[...]
> The failing condition is "if defined(_STDC_C99) &&
> (defined(__XOPEN_OR_POSIX) && !defined(_XPG6))".  The above explains
> where the XOPEN came from.  As to why you're seeing it, my guess is
> your version of gcc defaults to -std=c99 and mine doesn't.  You can
> try adding "-std=c89" to your CFLAGS and see if it builds.

Alternatively, try adding -D_XPG6 to CFLAGS.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list