I'm trying to build a binary from source for bazel 0.2.3 on a Centos5 environment, the kernel version is 2.6.54. It is pretty old but I cannot control this thing. I encountered some problems:
I commented out the target "//src/main/tools:namespace-sandbox" from BUILD files to avoid some problems based on the discussion: https://groups.google.com/forum/#!msg/bazel-discuss/WWGNIlNq4fU/pxoakp1nfWcJ
But I encountered another ERROR: /home/nlu/bazel/bazel-0.2.3/third_party/grpc/BUILD:49:1: C++ compilation of rule '//third_party/grpc:grpc_unsecure' failed: gcc failed: error executing command
h->epoll_fd = epoll_create1(EPOLL_CLOEXEC);
Any suggestion on how to resolve the second error?
third_party/grpc/src/core/iomgr/pollset_multipoller_with_epoll.c: In function 'epoll_become_multipoller':
third_party/grpc/src/core/iomgr/pollset_multipoller_with_epoll.c:293:31: error: 'EPOLL_CLOEXEC' undeclared (first use in this function)
h->epoll_fd = epoll_create1(EPOLL_CLOEXEC);
^
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/cde2e361-c9e6-46eb-85db-867316f593fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.