issues with inotify

walter harms wharms at bfs.de
Thu Mar 18 08:55:30 UTC 2010



Murali K. Vemuri schrieb:
> Hi there,
> 
> I am using busybox 1.15.3 and when I enabled "inotifyd" in my config, I
> am getting the following linking error:
> /usr/local/arc.4.2.1/sk885x-2.6/lib/gcc/arc-linux-uclibc/4.2.1/../../../../arc-linux-uclibc/bin/ld: Warning: gc-sections option ignored
> miscutils/lib.a(inotifyd.o): In function `inotifyd_main':
> inotifyd.c:(.text.inotifyd_main+0x20): undefined reference to
> `inotify_init'
> inotifyd.c:(.text.inotifyd_main+0x7c): undefined reference to
> `inotify_add_watch'
> inotifyd.c:(.text.inotifyd_main+0x1d4): undefined reference to
> `inotify_rm_watch'
> collect2: ld returned 1 exit status
> 
> 
> am I missing something?

inotify_init() at friends are provided by the kernel see:
sys/inotify.h
man 2 inotify_init
man 7 inotify

according to the man pages you need at least: Linux 2.6.13

re,
 wh


More information about the busybox mailing list