Sunday, November 16, 2008

Build BusyBox error message!!

我從busybox網站Download下來以後,要自己玩玩看busybox時,發生底下問題:

#make defconfig
#make
miscutils/lib.a(inotifyd.o): In function `inotifyd_main':
inotifyd.c:(.text.inotifyd_main+0x3d): undefined reference to `inotify_init'
inotifyd.c:(.text.inotifyd_main+0xfa): undefined reference to `inotify_add_watch'
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
---------------------------------------------------------------------------------

解決的辦法就是關掉inotifyd support only (CONFIG_INOTIFYD=n)
這樣就可以了!!