Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2784

header_rewrite fails to build on FreeBSD(10)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2.2, 5.0.0
    • Build
    • None

    Description

        CXX      expander.lo
      expander.cc:41:28: error: member access into incomplete type 'const struct sockaddr_in'
          inet_ntop(s_sockaddr_in->sin_family, &s_sockaddr_in->sin_addr, res, INET_ADDRSTRLEN);
                                 ^
      expander.cc:30:16: note: forward declaration of 'sockaddr_in'
        const struct sockaddr_in *s_sockaddr_in;
                     ^
      expander.cc:45:29: error: member access into incomplete type 'const struct sockaddr_in6'
          inet_ntop(s_sockaddr_in6->sin6_family, &s_sockaddr_in6->sin6_addr, res, INET6_ADDRSTRLEN);
                                  ^
      expander.cc:31:16: note: forward declaration of 'sockaddr_in6'
        const struct sockaddr_in6 *s_sockaddr_in6;
                     ^
      

      Attachments

        Activity

          People

            psudaemon Phil Sorber
            zwoop Leif Hedstrom
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: