[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] libutil.h moved to bsd/libutil.h (Was: Re: [Xen-users] Problem compiling Xen 4.2 from sources)
(Adding some CCs) On Tue, 2012-10-02 at 17:31 +0100, Giorgio Mossa wrote: > Hello everyone, > I'm working on an Ubuntu 12.04 and I wanted to test > Xen 4.2 (official repository offer just version 4.1), > so I've downloaded the source tarball from the site, > followed the instruction in the readme but when compiling > I'm getting the following error: > > In file included from libxl_bootloader.c:21:0: > /usr/include/libutil.h:33:2: error: #warning "Deprecated header, use > <bsd/libutil.h> or libbsd-overlay.pc instead." [-Werror=cpp] > cc1: all warnings being treated as errors > make[3]: *** [libxl_bootloader.o] Error 1 > > could anyone explain how to solve this problem, without disabling the > warning/errors compilation options? Looks like someone has decided to move this header from /usr/include to /usr/include/bsd and leave behind a #warning in the old location, which has broken the way we do things. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640895 seems to relate to the fallout from this. I'm not sure when the include of libutil is needed, it's not mentioned in the Linux man pages and on Linux neither of the functions we purport to need from it are actually present. Perhaps it's a BSD only thing? Probably we need to check for bsd/libutil.h in preference to libutil.h although the resolution of #640895 suggests that what we do now is correct now that the bug is fixed, in which case a bug against Ubuntu would be appropriate. Ian, Royer, What do you guys think? Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |