From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SNj67-00055Q-Cc for ptxdist@pengutronix.de; Fri, 27 Apr 2012 13:12:23 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SNj67-0002As-BA for ptxdist@pengutronix.de; Fri, 27 Apr 2012 13:12:23 +0200 Date: Fri, 27 Apr 2012 13:12:23 +0200 From: Michael Olbrich Message-ID: <20120427111223.GA5566@pengutronix.de> References: <4F994FC8.1030906@albatros-sl.es> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4F994FC8.1030906@albatros-sl.es> Subject: Re: [ptxdist] Udev 172/181 doesn't find ptxdist kernel headers and fails to compile Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Apr 26, 2012 at 03:38:16PM +0200, =CD=F1igo L=F3pez-Barranco wrote: > I'm trying to build ptxdist-2012.04.0 but it fails to compile using > both versions of udev complaining about some undeclared defines: > = > src/libudev-monitor.c: In function 'udev_monitor_new_from_socket': > src/libudev-monitor.c:153: error: 'SOCK_NONBLOCK' undeclared (first > use in this function) > src/libudev-monitor.c:153: error: (Each undeclared identifier is > reported only once > ... > = > Searching in the list's archives found this message with a patch > adding the kernel headers path to the udev rules for toolchains > without kernel headers (or old ones): > = > http://thread.gmane.org/gmane.comp.embedded.ptxdist.devel/7997/focus=3D81= 40 > = > I've checked that this is already included in my udev.make file, > that I've selected the kernel headers (2.6.39) in ptxdist menu and > that SOCK_NONBLOCK and other missing defines are present in the > kernel headers, so I don't know what else to check now. > = > The gcc version is 4.3.2 and the platform is x86 (586). And the glibc version? I think you need support for the NONBLOCK stuff from there too. Michael -- = Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- = ptxdist mailing list ptxdist@pengutronix.de