On 08/29/2017 11:02 AM, Sachin Punadikar wrote:
Hi All,
While preparing to build latest version of Ganesha 2.6, I am facing below errors:
-- Looking for include file sys/epoll.h
-- Looking for include file sys/epoll.h - found
-- Looking for epoll_create
-- Looking for epoll_create - not found
CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:109 (message):
   Could NOT find EPOLL (missing: EPOLL_FUNC)
Call Stack (most recent call first):
cmake/modules/FindPackageHandleStandardArgs.cmake:317 (_FPHSA_FAILURE_MESSAGE)
   cmake/modules/FindEPOLL.cmake:21 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
   libntirpc/CMakeLists.txt:118 (find_package)


-- Configuring incomplete, errors occurred!

The command I used is as below:
cmake ../src -DBUILD_CONFIG=rpmbuild -DCMAKE_BUILD_TYPE=Release -DUSE_FSAL_GPFS=ON -DUSE_ADMIN_TOOLS=ON -DUSE_GUI_ADMIN_TOOLS=OFF -DUSE_DBUS=ON -D_MSPAC_SUPPORT=ON

Let me know what config changes I need to do.

You must be compiling on a system with the epoll set of syscalls (ie, Linux). This has been a requirement for a while, but the cmake was recently modified to check for it. You shouldn't need any extra packages, as epoll is provided by glibc.

Daniel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to