On Dienstag, 17. November 2009, Kay Sievers wrote: > On Tue, Nov 17, 2009 at 08:46, Matthias Schwarzott <zzam@xxxxxxxxxx> wrote: > > On Dienstag, 17. November 2009, mblanchard.ext@xxxxxxxxxxxxxxxxxx wrote: > >> I tried to compile the lastest Udev 147 on a system running linux kernel > >> 2.6.31 and glibc 2.8. This attempt failed because the SOCK_CLOEXEC > >> constant is not defined in my glibc header /usr/include/bits/socket.h. > >> After a small investigation, I found the following: kernel support of > >> SOCK_CLOEXEC was introduced in the 2.6.27 release. However, the glibc > >> support was introduced in glibc 2.9. I believe this dependency should be > >> precised in the Udev README. > > > > I think udev-147 even requires kernel 2.6.29 headers, as this is the > > first release in which bsg.h is exported. > > bsg was added in 2.6.23. > Yes, and this commit exported it to userspace, so it got installed below /usr/include. So 2.6.29 were the first linux-headers to contain bsg.h commit a229fc61ef0ee3c30fd193beee0eeb87410227f1 Author: Boaz Harrosh <bharrosh@xxxxxxxxxxx> Date: Mon Jan 19 10:37:38 2009 +0100 include/linux: Add bsg.h to the Kernel exported headers Matthias -- 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