Trying to build incron on Debian

From: Martin Streicher <martin.streicher_at_gmail.com>
Date: Mon, 25 Aug 2008 16:48:19 -0400

I am writing an article on inotify and tools based on its kernel
functions (inotify-tools, incron).

I am trying to build incron on Debian 4.0, but get these errors after
installing inotify.h and inotify-syscalls.h in /usr/include/sys.

server1% make
g++ -c -O2 -g0 -Wall -pipe -o icd-main.o icd-main.cpp
g++ -c -O2 -g0 -Wall -pipe -o incrontab.o incrontab.cpp
g++ -c -O2 -g0 -Wall -pipe -o inotify-cxx.o inotify-cxx.cpp
inotify-cxx.cpp: In member function ‘void
InotifyWatch::SetMask(uint32_t)’:
inotify-cxx.cpp:228: error: ‘inotify_add_watch’ was not declared in
this scope
inotify-cxx.cpp: In member function ‘void
InotifyWatch::SetEnabled(bool)’:
inotify-cxx.cpp:251: error: ‘inotify_add_watch’ was not declared in
this scope
inotify-cxx.cpp:259: error: ‘inotify_rm_watch’ was not declared in
this scope
inotify-cxx.cpp: In constructor ‘Inotify::Inotify()’:
inotify-cxx.cpp:297: error: ‘inotify_init’ was not declared in this
scope
inotify-cxx.cpp: In member function ‘void Inotify::Add(InotifyWatch*)’:
inotify-cxx.cpp:344: error: ‘inotify_add_watch’ was not declared in
this scope
inotify-cxx.cpp: In member function ‘void
Inotify::Remove(InotifyWatch*)’:
inotify-cxx.cpp:392: error: ‘inotify_rm_watch’ was not declared in
this scope
inotify-cxx.cpp: In member function ‘void Inotify::RemoveAll()’:
inotify-cxx.cpp:414: error: ‘inotify_rm_watch’ was not declared in
this scope

Any ideas?

Martin
Received on Mon Aug 25 2008 - 22:48:51 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST