Compile error on OSX 10.10 using Homebrew #1702

Closed
justinclift opened this Issue Sep 5, 2014 · 0 comments

Projects

None yet

1 participant

@justinclift
Contributor

As reported by @DomT4 here, compiling on OSX 10.10 is breaking:

    Homebrew/legacy-homebrew#24862 (comment)

  nameserver.cc:216:35: error: use of undeclared identifier 'IPV6_RECVPKTINFO'
      setsockopt(s, IPPROTO_IPV6, IPV6_RECVPKTINFO, &val, sizeof(val)); 
                                  ^
nameserver.cc:273:25: error: use of undeclared identifier 'IPV6_PKTINFO'
      cmsg->cmsg_type = IPV6_PKTINFO;
                        ^
nameserver.cc:343:67: error: use of undeclared identifier 'IPV6_PKTINFO'
    if ((cmsg->cmsg_level == IPPROTO_IPV6) && (cmsg->cmsg_type == IPV6_PKTINFO)) {

DomT4 provided a git with the full log too:

    https://gist.github.com/DomT4/fa10a246582c95df29f6

@Habbie Habbie closed this in bf5a484 Sep 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment