Re: openssh build failure on High Sierra (10.13.2)

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

 



On Tue Jan 23 01:58:47 PM, Damien Miller wrote:

> > /usr/include/sys/syslog.h:227:124: error: expected ',' or ';' before
> > '__asm'
> >  void syslog(int, const char *, ...) __printflike(2, 3)
> >  __not_tail_called __DARWIN_ALIAS_STARTING(__MAC_10_13, __IPHONE_NA,
> >  __DARWIN_EXTSN(syslog));
> 
> You could try grepping /usr/include for the definition of
> __DARWIN_ALIAS_STARTING to see where that is and seeing if including
> the file where it lives near the top on includes.h fixes it.
> 
> (I don't have a High Sierra host, so can't help directly - sorry)

No worries.  Thank you for taking the time to reply.  

This page:

https://discussions.apple.com/thread/8127677

suggests two workarounds:

Adding gcc option -U__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__

or

Adding gcc option -mmacosx-version-min=10.12 (from gcc6)

I chose the latter and added it to CFLAGS.  It compiled cleanly.

Cheers,
Zube

_______________________________________________
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