On Tuesday 03 November 2009 11:05:10 Garrett Cooper wrote: > On Tue, Nov 3, 2009 at 7:50 AM, Mike Frysinger wrote: > > On Tuesday 03 November 2009 08:01:08 Garrett Cooper wrote: > >> >> On Tue, 2009-11-03 at 09:26 +0530, Munipradeep Beerakam wrote: > >> >> > I got the following warning messages while running "./configure" on > >> >> > the ltp-full-20091031. However, make and make install worked fine. > >> >> > > >> >> > configure: WARNING: linux/genetlink.h: present but cannot be > >> >> > compiled configure: WARNING: linux/genetlink.h: check for > >> >> > missing prerequisite headers? > >> >> > configure: WARNING: linux/genetlink.h: see the Autoconf > >> >> > documentation configure: WARNING: linux/genetlink.h: section > >> >> > "Present But Cannot Be Compiled" > >> >> > configure: WARNING: linux/genetlink.h: proceeding with the > >> >> > preprocessor's result > >> >> > configure: WARNING: linux/genetlink.h: in the future, the compiler > >> >> > will take precedence > >> >> > configure: WARNING: ## > >> >> > ------------------------------------------------ ## > >> >> > configure: WARNING: ## Report this to > >> >> > ltp-results@lists.sourceforge.net ## > >> >> > configure: WARNING: ## > >> >> > ------------------------------------------------ ## > >> > >> Yeah -- I need to find the header that defines u32 (instead of > >> uint32 or uint32_t). Does anyone know which one was that again? I > >> thought it was a kernel specific datatype (and in that event it > >> shouldn't be exported). > > > > correct -- nothing in userspace should be using u32. if the kernel > > headers are, they're broken and need fixing, so complain to lkml/your > > distro. > > That's what I figured -- ok. The test and the app should also be > converted to straight linux/genetlink.h, because linux/genetlink.h is > a superset of linux/netlink.h. we should get Subrata to generate the release with newer versions of autotools (like autoconf-2.64) so that these warnings dont show up. if the header cant be compiled, then we want it marked as not usable and so the related tests get skipped. -mike