[MacPorts] #54412: nghttp2 @1.23.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib = libc++) because of "Undefined symbols for architecture x86_64"

MacPorts noreply at macports.org
Mon Jul 3 18:12:31 UTC 2017


#54412: nghttp2 @1.23.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib =
libc++) because of "Undefined symbols for architecture x86_64"
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:  Schamschula
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:  snowleopard
      Port:  nghttp2    |
------------------------+-------------------------

Comment (by ballapete):

 Replying to [comment:4 Schamschula]:
 > Please see if the two above patches work for you.

 The fail:

 {{{
 libevent-client.c:35:39: error: unknown type name 'size_t'
 static char * strndup (char const *s, size_t n);
                                       ^
 libevent-client.c:36:8: error: unknown type name 'size_t'
 static size_t strnlen (const char *string, size_t maxlen);
        ^
 libevent-client.c:36:44: error: unknown type name 'size_t'
 static size_t strnlen (const char *string, size_t maxlen);
                                            ^
 libevent-client.c:38:8: error: unknown type name 'size_t'
 static size_t
        ^
 libevent-client.c:39:30: error: unknown type name 'size_t'
 strnlen (const char *string, size_t maxlen)
                              ^
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54412#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list