Re: OpenSSH 7.3p1 can't be build on Solaris 10

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Tue, Aug 2, 2016 at 2:02 PM, Darren Tucker <dtucker@xxxxxxxxxx> wrote:
> On Tue, Aug 2, 2016 at 1:44 PM, Darren Tucker <dtucker@xxxxxxxxxx> 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.

That may not be the right thing.  Looks like this might be a known GCC bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40411

-- 
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.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux