lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABexPfHnpZDHhcvum6bUy=vcqNvfxEY9bWAzAPm-j_p0tm2BFw@mail.gmail.com>
Date:	Sun, 3 Jun 2012 21:59:14 +0800
From:	Zhihua Che <zhihua.che@...il.com>
To:	bing deng <deng8bing@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [build error] building failed with sample kernel code enabled

2012/6/3 bing deng <deng8bing@...il.com>:
>
>
> On Sun, Jun 3, 2012 at 7:23 PM, Zhihua Che <zhihua.che@...il.com> wrote:
>>
>> 2012/6/3 Zhihua Che <zhihua.che@...il.com>:
>> > 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.
>>
>>
>> I forgot it.  I've checked the existence of seccomp.h. it's in the source
>> tree.
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@...r.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>
>
> Are the header linux/seccomp.h or directory included in the make file?
>
> Best Regards,
> Bing


I find the LINUXINCLUDE variable in MAKEFILE, it contains the
directory  path 'include' where the linux/seccomp.h is.
So I guess it's included in the searching path.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ