[systemd-devel] kdbus: merge 3.17 branch into master?

Djalal Harouni tixxdz at opendz.org
Tue Aug 19 07:09:06 PDT 2014


On Tue, Aug 19, 2014 at 08:56:14AM -0500, Greg KH wrote:
> On Tue, Aug 19, 2014 at 03:24:39PM +0200, Daniel Mack wrote:
> > On 08/19/2014 02:47 PM, Greg KH wrote:
> > > In file included from /lib/modules/3.17.0-rc1+/build/include/uapi/linux/posix_types.h:4:0,
> > >                  from /lib/modules/3.17.0-rc1+/build/include/uapi/linux/types.h:13,
> > >                  from ../kdbus.h:23,
> > 
> > Ok, got it now. No idea why it worked on my system, but a fix for now is
> > to make cpp look at the system include file search pathes first, and
> > then fall back to $(KERNELDIR)/include/uapi.
> > 
> > Care to test again?
> 
> Close, I now get a bunch of these warnings:
> 
> 	cc1: note: obsolete option -I- used, please use -iquote instead
> 
> and then finally a failure of:
> 
> kdbus-util.c:173:16: error: ‘__NR_memfd_create’ undeclared (first use in
> this function)
>   ret = syscall(__NR_memfd_create, name, MFD_ALLOW_SEALING);
I also confirm, HEAD gives these errors!

However yesterday before any change to Makefile, I got the same error
that was first reported by Greg, and to compile and test kdbus, I just
added "export KERNELDIR" to the root Makefile, didn't bother to search...

-- 
Djalal Harouni
http://opendz.org


More information about the systemd-devel mailing list