[lkml]   [2019]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question about "asm/rwonce.h: No such file or directory"
On 11/13/19 3:53 PM, Masahiro Yamada wrote:
> On Wed, Nov 13, 2019 at 4:17 PM Xiao Yang <> wrote:
>> On 11/13/19 2:57 PM, Masahiro Yamada wrote:
>>> Sorry, I really do not understand what you are doing.
>>> include/linux/compiler.h is only for kernel-space.
>>> Shrug if a user-land program includes it.
>> Hi Masahiro,
>> For building tools/bpf, it is good to fix the compiler error by Daniel's
>> patch(i.e. use linux/filter from linux header).
>> linux/compiler.h may be used by other code in kernel. Is it possible to
>> trigger the same error when the other code
>> including linux/compiler.h is built? Is this kind of code able to find
>> the location of <asm/rwonce.h>?
> <asm/rwonce.h> is also kernel-only header.
> The kernel code can find <asm/rwonce.h>, but user-land code cannot.

Hi Masahiro,

Sorry, I am not familar with it.

Thanks a lot for your explanation and I have seen the LINUXINCLUDE
variable in Makefile.

I will try to send a patch as Daniel suggested.

Best Regards,

Xiao Yang

>> Best Regards,
>> Xiao Yang

 \ /
  Last update: 2019-11-13 09:36    [W:0.073 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site