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

Greg KH gregkh at linuxfoundation.org
Tue Aug 19 05:37:12 PDT 2014


On Tue, Aug 19, 2014 at 01:45:29PM +0200, Daniel Mack wrote:
> Yes, I already merged the patches I've been holding back until 3.17-rc1
> was released.

Ah, sorry, missed that.

> However, there was one missing detail to fix the build in test/ which I
> pushed now. Does it work for you?

Nope, build is still broken:


me/gregkh/linux/kdbus/test'
  TARGET_CC kdbus-enum.o
In file included from ../kdbus.h:23:0,
                 from kdbus-util.h:13,
                 from kdbus-enum.c:20:
/lib/modules/3.16.0+/build/include/uapi/linux/types.h:9:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" [-Wcpp]
 #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
  ^
In file included from /lib/modules/3.16.0+/build/include/uapi/linux/posix_types.h:4:0,
                 from /lib/modules/3.16.0+/build/include/uapi/linux/types.h:13,
                 from ../kdbus.h:23,
                 from kdbus-util.h:13,
                 from kdbus-enum.c:20:
/lib/modules/3.16.0+/build/include/uapi/linux/stddef.h:1:28: fatal error: linux/compiler.h: No such file or directory
 #include <linux/compiler.h>
                            ^
compilation terminated.


Oh wait, I'm pointing it at a 3.16.0 release at the moment, let's change
that...  Nope, still broken, as you are relying on memfd.h to be included on
the system:

$ KERNELDIR=../gregkh/ make
make -C ../gregkh/ M=/home/gregkh/linux/kdbus
make[1]: Entering directory '/home/gregkh/linux/gregkh'
  Building modules, stage 2.
  MODPOST 1 modules
make[1]: Leaving directory '/home/gregkh/linux/gregkh'
make -C test KERNELDIR=../gregkh/ KBUILD_MODNAME=kdbus
make[1]: Entering directory '/home/gregkh/linux/kdbus/test'
  TARGET_CC kdbus-enum.o
  TARGET_CC kdbus-util.o
kdbus-util.c:27:25: fatal error: linux/memfd.h: No such file or directory
 #include <linux/memfd.h>
                         ^
compilation terminated.

I'll reboot into 3.17-rc1 and see if that solves this...

thanks,

greg k-h


More information about the systemd-devel mailing list