Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 280154

Summary: sys-fs/udev-141 fails to compile on i686-gentoo-linux-uclibc with uclibc-0.9.28.3-r3
Product: Gentoo Linux Reporter: cygeus <cygeus>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: embedded, udev-bugs
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sys-fs/udev-141 build log
emerge --info

Description cygeus 2009-08-03 09:57:49 UTC
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
Comment 1 cygeus 2009-08-03 09:59:37 UTC
Created attachment 200006 [details]
sys-fs/udev-141 build log
Comment 2 cygeus 2009-08-03 10:00:01 UTC
Created attachment 200007 [details]
emerge --info
Comment 3 Matthias Schwarzott gentoo-dev 2009-08-04 09:49:19 UTC
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 ***