From: Kay Sievers Date: Wed, 23 Aug 2006 08:40:43 +0000 Subject: Re: [ANNOUNCE] udev 098 release Message-Id: <1156322443.16989.28.camel@pim.off.vrfy.org> List-Id: References: <20060822235654.GA4267@vrfy.org> In-Reply-To: <20060822235654.GA4267@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, 2006-08-23 at 08:40 +0200, Tobias Powalowski wrote: > Hi, klibc build is broken, could you please help me on this: > > udev_db.c: In function 'udev_db_get_device': > udev_db.c:120: error: storage size of 'stats' isn't known > udev_db.c:123: warning: declaration of 'major' shadows a global declaration > /usr/lib/klibc/include/sys/sysmacros.h:17: warning: shadowed declaration is > here > udev_db.c:123: warning: declaration of 'minor' shadows a global declaration > /usr/lib/klibc/include/sys/sysmacros.h:23: warning: shadowed declaration is > here > udev_db.c:133: warning: implicit declaration of function 'lstat' > udev_db.c:133: warning: nested extern declaration of 'lstat' > udev_db.c:137: error: 'S_IFMT' undeclared (first use in this function) > udev_db.c:137: error: (Each undeclared identifier is reported only once > udev_db.c:137: error: for each function it appears in.) > udev_db.c:137: error: 'S_IFLNK' undeclared (first use in this function) > udev_db.c:120: warning: unused variable 'stats' > udev_db.c: In function 'udev_db_lookup_name': > udev_db.c:246: error: storage size of 'stats' isn't known > udev_db.c:267: error: 'S_IFMT' undeclared (first use in this function) > udev_db.c:267: error: 'S_IFLNK' undeclared (first use in this function) > udev_db.c:246: warning: unused variable 'stats' > make: *** [udev_db.o] Error 1 adding: #include #include should fix that error. But right, klibc must also provide getpwnmam() and getgrnam(), at least as dummy implementations that return "unknown user" to make udev build again with klibc. Udev will no longer implement common libc features that are missing from klibc. One of the next versions will also depend on fnmatch() and maybe getopt_long(). Kay ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel