Compiling sys-fs/udev-141 with sys-libs/uclibc-0.9.28.3-r3 gives an error: i686-gentoo-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DUDEV_PREFIX=\"""\" -D_LIBUDEV_COMPILATION -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT udevadm.o -MD -MP -MF .deps/udevadm.Tpo -c -o udevadm.o udevadm.c udevd.c: In function 'handle_inotify': udevd.c:549: error: invalid application of 'sizeof' to incomplete type 'struct inotify_event' udevd.c:549: error: dereferencing pointer to incomplete type udevd.c:553: error: dereferencing pointer to incomplete type udevd.c:554: error: dereferencing pointer to incomplete type udevd.c:554: error: dereferencing pointer to incomplete type udevd.c:559: error: dereferencing pointer to incomplete type udevd.c:561: error: dereferencing pointer to incomplete type udevd.c:562: error: dereferencing pointer to incomplete type udevd.c:574: error: dereferencing pointer to incomplete type udevd.c:574: error: 'IN_IGNORED' undeclared (first use in this function) udevd.c:574: error: (Each undeclared identifier is reported only once udevd.c:574: error: for each function it appears in.) make[3]: *** [udevd.o] Error 1 compiles fine on i686-pc-linux-gnu with sys-libs/glibc-2.9_p20081201-r2 Reproducible: Always Steps to Reproduce: 1. build an environment with sys-libs/uclibc-0.9.28.3-r3 and sys-devel/gcc-4.1.2 2. emerge udev Actual Results: compile error Expected Results: emerge should exit without errors
Created attachment 200006 [details] sys-fs/udev-141 build log
Created attachment 200007 [details] emerge --info
It looks like your uclibc is missing inotify support. So try a newer version to get inotify support. Bug #272199 already handles compiling udev-141 with uclibc. *** This bug has been marked as a duplicate of bug 272199 ***