lkml.org 
[lkml]   [2012]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux 3.6 compile error in samples/seccomp/bpf-helper.c
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.



\
 
 \ /
  Last update: 2012-10-01 17:21    [W:0.030 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site