libudev/libudev-monitor.c:142: error: 'SOCK_CLOEXEC' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I suspect you've heard this one before, but I'm trying to upgrade udev
on a slackware 12.2 box (running 2.6.32.8 kernel).  First, configure
complained about introspection not being found but I disabled that.
The build then dies with:

libudev/libudev-monitor.c: In function 'udev_monitor_new_from_socket':
libudev/libudev-monitor.c:142: error: 'SOCK_CLOEXEC' undeclared (first
use in this function)
libudev/libudev-monitor.c:142: error: (Each undeclared identifier is
reported only once
libudev/libudev-monitor.c:142: error: for each function it appears in.)
libudev/libudev-monitor.c: In function 'udev_monitor_new_from_netlink':
libudev/libudev-monitor.c:199: error: 'SOCK_CLOEXEC' undeclared (first
use in this function)

I gather this is because my libc is too old (libc-2.7).  I'm not going
to upgrade that just now.  Is there another workaround?


I don't subscribe, so please CC me directly.

Thanks in advance

David


--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux