linux 3.6 compile error in samples/seccomp/bpf-helper.c
From: Christoph Hellwig
Date: Mon Oct 01 2012 - 10:41:16 EST
Seems like the seccomp example somehow expect linux/seccomp.h to
be installed instead of grabbing it from the kernel tree:
/home/hch/work/linux-2.6/samples/seccomp/bpf-direct.c:21:27: fatal error: linux/seccomp.h: No such file or directory
compilation terminated.
/home/hch/work/linux-2.6/samples/seccomp/bpf-fancy.c:13:27: fatal error: linux/seccomp.h: No such file or directory compilation terminated.
make[4]: *** [samples/seccomp/bpf-direct.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from
/home/hch/work/linux-2.6/samples/seccomp/bpf-helper.c:15:0:
/home/hch/work/linux-2.6/samples/seccomp/bpf-helper.h:20:50: 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/