Skip to content

android: Fixate builds to be API 21 #936

@buildbreaker

Description

@buildbreaker

Reverted envoyproxy/envoy#11137 locally but I'm still unable to complete a build.

Current error:

ERROR: /private/var/tmp/_bazel_achiu/e95f0937739315919b86dd2afc724e3e/external/envoy/source/common/network/BUILD:312:1: C++ compilation of rule '@envoy//source/common/network:utility_lib' failed (Exit 1)
external/envoy/source/common/network/utility.cc:203:18: error: use of undeclared identifier 'getifaddrs'; did you mean 'ifaddrs'?
  const int rc = getifaddrs(&ifaddr);
                 ^
external/androidndk/ndk/sysroot/usr/include/ifaddrs.h:45:8: note: 'ifaddrs' declared here
struct ifaddrs {
       ^
external/envoy/source/common/network/utility.cc:225:5: error: use of undeclared identifier 'freeifaddrs'
    freeifaddrs(ifaddr);
    ^
2 errors generated.
Target //:android_dist failed to build```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions