[build error] building failed with sample kernel code enabled

From: Zhihua Che
Date: Sun Jun 03 2012 - 07:13:51 EST


Hi,

I was building kernel 3.4 with kernel sample code enabled on my
ubuntu-11.10.
The steps I followed are:
make O=xxx menuconfig
make O=xxx -j16
But it failed and complaint the following:

linux/samples/seccomp/bpf-fancy.c:13:27: fatal error: linux/seccomp.h:
No such file or
directory/home/harvey/open-projects/linux/samples/seccomp/bpf-direct.c:21:27:
fatal error: linux/seccomp.h: No such file or directory
compilation terminated.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/