#812: compile error: 'IN_CLOEXEC' undeclared 'IN_NONBLOCK' undeclared
--------------------+-------------------------------------------------------
 Reporter:  rosc    |       Owner:  lennart     
     Type:  defect  |      Status:  new         
Milestone:          |   Component:  build-system
 Keywords:          |  
--------------------+-------------------------------------------------------
 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? :)

-- 
Ticket URL: <http://pulseaudio.org/ticket/812>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
_______________________________________________
pulseaudio-tickets mailing list
pulseaudio-tickets@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets

Reply via email to