Hi Serge, Quick fix (feel free to just fold it into your patch). There may be a smarter way of fixing this, but this worked for -lxc... Thanks! Mark. ERR_PTR is now used in cgroup code so we need to include err.h This fixes the build error with CGROUPS disabled: In file included from include/linux/cpuset.h:14, from mm/slub.c:19: include/linux/cgroup.h: In function 'task_from_cgroup_fd': include/linux/cgroup.h:329: error: implicit declaration of function 'ERR_PTR' include/linux/cgroup.h:329: warning: return makes pointer from integer without a cast make[2]: *** [mm/slub.o] Error 1 make[1]: *** [mm] Error 2 make: *** [sub-make] Error 2 Signed-off-by: Mark Nelson <markn@xxxxxxxxxxx> --- include/linux/cgroup.h | 1 + 1 file changed, 1 insertion(+) Index: linux/include/linux/cgroup.h =================================================================== --- linux.orig/include/linux/cgroup.h +++ linux/include/linux/cgroup.h @@ -14,6 +14,7 @@ #include <linux/nodemask.h> #include <linux/rcupdate.h> #include <linux/cgroupstats.h> +#include <linux/err.h> #ifdef CONFIG_CGROUPS _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers