Ticket #811 (new defect)
compile error: 'IN_CLOEXEC' undeclared 'IN_NONBLOCK' undeclared
| Reported by: | rosc | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | build-system | |
| Keywords: | Cc: |
Description
Trying to compile pulseaudio, both GIT and v0.9.21 fail with the following error:
CC module_udev_detect_la-module-udev-detect.lo
modules/module-udev-detect.c: In function 'setup_inotify':
modules/module-udev-detect.c:620: warning: implicit declaration of function 'inotify_init1'
modules/module-udev-detect.c:620: error: 'IN_CLOEXEC' undeclared (first use in this function)
modules/module-udev-detect.c:620: error: (Each undeclared identifier is reported only once
modules/module-udev-detect.c:620: error: for each function it appears in.)
modules/module-udev-detect.c:620: error: 'IN_NONBLOCK' undeclared (first use in this function)
make[3]: *** [module_udev_detect_la-module-udev-detect.lo] Error 1
make[3]: Leaving directory `/home/rosc/work/pulse/pulseaudio/src'
Vanilla slackware system, kernel 2.6.33.1, glibc-1.2.10, not sure what other info you may need. Tried substituting the linux/inotify.h instead of sys/inotify.h but that just produced different errors.
Clues please? :)
