Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280154 - sys-fs/udev-141 fails to compile on i686-gentoo-linux-uclibc with uclibc-0.9.28.3-r3
Summary: sys-fs/udev-141 fails to compile on i686-gentoo-linux-uclibc with uclibc-0.9....
Status: RESOLVED DUPLICATE of bug 272199
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 09:57 UTC by cygeus
Modified: 2009-08-04 09:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sys-fs/udev-141 build log (udev-141-build.log,21.13 KB, text/plain)
2009-08-03 09:59 UTC, cygeus
Details
emerge --info (emerge_info.txt,3.04 KB, text/plain)
2009-08-03 10:00 UTC, cygeus
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***