On Fri, 2008-08-08 at 13:33 +0200, Gabor Z. Papp wrote: > * "Gabor Z. Papp" <gzp@xxxxxxx>: > > | | > Linux gzp1 2.4.36.6-gzp1 #1 SMP Sat Jun 7 08:43:14 CEST 2008 i686 GNU/Linux > > | | Udev depends on a 2.6 kernel. :) The udev build depends on > | | kernel-headers, which contain the features udev uses. > > | okay. v125 built fine on 2.4 > > Building on 2.6.26.2: > > make all-recursive > make[1]: Entering directory `/mnt/harddisk/home/gzp/src/udev-126' > Making all in udev > make[2]: Entering directory `/mnt/harddisk/home/gzp/src/udev-126/udev' > gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\""/usr/etc"\" -DUDEV_PREFIX=\""/usr"\" -g -O2 -MT udevd.o -MD -MP -MF .deps/udevd.Tpo -c -o udevd.o udevd.c > udevd.c: In function `main': > udevd.c:1152: error: `IN_CREATE' undeclared (first use in this function) > udevd.c:1152: error: (Each undeclared identifier is reported only once > udevd.c:1152: error: for each function it appears in.) > udevd.c:1152: error: `IN_DELETE' undeclared (first use in this function) > udevd.c:1152: error: `IN_MOVE' undeclared (first use in this function) > udevd.c:1152: error: `IN_CLOSE_WRITE' undeclared (first use in this function) > make[2]: *** [udevd.o] Error 1 > make[2]: Leaving directory `/mnt/harddisk/home/gzp/src/udev-126/udev' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/mnt/harddisk/home/gzp/src/udev-126' > make: *** [all] Error 2 What does: grep IN_ /usr/include/sys/inotify.h print? And: grep INOTIFY config.h in the udev source tree print? I guess Inotify is not available on your system, and the udev build tries to disable it, but we need a few more ifdef's to make it compile without it. Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html