Samba 3.6.1 compile: inotify.h present but cannot be compiled

Chris Smith smb_77 at chrissmith.org
Wed Nov 2 08:46:43 MDT 2011


On Tue, Nov 1, 2011 at 11:06 PM, Sebastian <l+samba.org_3 at qwyx.de> wrote:
> configure: WARNING: linux/inotify.h: present but cannot be compiled
> configure: WARNING: linux/inotify.h:     check for missing prerequisite
> headers?
> configure: WARNING: linux/inotify.h: see the Autoconf documentation
> configure: WARNING: linux/inotify.h:     section "Present But Cannot Be
> Compiled"
> configure: WARNING: linux/inotify.h: proceeding with the compiler's result

Posted the same error back on 3/13/2010 for Samba-3.5.1. Even
configured by hand (not using ebuild) it is apparent:
=====================================
| #include <linux/inotify.h>
configure:22027: result: no
configure:22027: checking linux/inotify.h presence
configure:22027: gcc -E -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE  -Iinclude -I./include  -I. -I. -I./../lib/replace
-I./../lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/popt
-I/usr/include conftest.c
configure:22027: $? = 0
configure:22027: result: yes
configure:22027: WARNING: linux/inotify.h: present but cannot be compiled
configure:22027: WARNING: linux/inotify.h:     check for missing
prerequisite headers?
configure:22027: WARNING: linux/inotify.h: see the Autoconf documentation
configure:22027: WARNING: linux/inotify.h:     section "Present But
Cannot Be Compiled"
configure:22027: WARNING: linux/inotify.h: proceeding with the compiler's result
configure:22027: checking for linux/inotify.h
configure:22027: result: no
=====================================
Above was with 3.5.11.


More information about the samba-technical mailing list