From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Schwarzott Date: Tue, 17 Nov 2009 09:53:09 +0000 Subject: Re: Udev 147 (and above) dependencies Message-Id: <200911171053.09453.zzam@gentoo.org> List-Id: References: <2CAE5634D52E194BA393187E0568E1AC040BDA7F@ftrdmel1> In-Reply-To: <2CAE5634D52E194BA393187E0568E1AC040BDA7F@ftrdmel1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Dienstag, 17. November 2009, Kay Sievers wrote: > On Tue, Nov 17, 2009 at 08:46, Matthias Schwarzott wrote: > > On Dienstag, 17. November 2009, mblanchard.ext@orange-ftgroup.com 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 Date: Mon Jan 19 10:37:38 2009 +0100 include/linux: Add bsg.h to the Kernel exported headers Matthias