[maemo-developers] Problem on INotify

From: Torello Querci tquerci at gmail.com
Date: Wed Feb 10 23:40:22 EET 2010
Hi guys,

For a lots of reason I need to compile C code for devkit that use
INotify. The source C code compile well on X86 and ARMEL target but on
HOST environment get this error:

var/tmp/cc2TNRPk.o(.text+0x1b): In function `main':
: undefined reference to `inotify_init'
/var/tmp/cc2TNRPk.o(.text+0x4b): In function `main':
: undefined reference to `inotify_add_watch'
/var/tmp/cc2TNRPk.o(.text+0x1e6): In function `main':
: undefined reference to `inotify_rm_watch'

The source code that I use for test is taken from this article:
http://www.ibm.com/developerworks/linux/library/l-ubuntu-inotify/index.html

Can anyone help me?
More information about the maemo-developers mailing list