[Buildroot] [PATCH] inotify-tools: Add new package

Peter Korsgaard jacmet at uclibc.org
Tue Jul 26 13:03:54 UTC 2011


>>>>> "Mike" == Mike Williams <mike at mikebwilliams.com> writes:

 Mike> Adds support for inotify-tools, which are useful for scripting the
 Mike> Linux inotify API.

Thanks, committed with minor tweaks (see below)

 Mike> +++ b/package/inotify-tools/Config.in
 Mike> @@ -0,0 +1,10 @@
 Mike> +config BR2_PACKAGE_INOTIFY_TOOLS
 Mike> +	bool "inotify-tools"
 Mike> +	help
 Mike> +	  inotify-tools is a C library and a set of command-line
 Mike> +	  programs for Linux providing a simple interface to inotify.
 Mike> +	  These programs can be used to monitor and act upon
 Mike> +	  filesystem events. Provides the 'inotifywait' and 'inotifywatch'
 Mike> +		binaries.

Here the build fails with:

inotifytools.c: In function 'inotifytools_watch_recursively_with_exclude':
inotifytools.c:1312: error: storage size of 'my_stat' isn't known
inotifytools.c:1319: warning: implicit declaration of function 'lstat64'
inotifytools.c: In function 'isdir':
inotifytools.c:1598: error: storage size of 'my_stat' isn't known
make[5]: *** [inotifytools.lo] Error 1

So you need largefile support in the toolchain, and the package should
depend on BR2_LARGEFILE.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list