Thread (3 messages) 3 messages, 2 authors, 2017-06-22

Re: [PATCH] samples/bpf: fix a build problem

flat view

From: Yonghong Song <hidden>
Date: 2017-06-22 15:39:43


On 6/22/17 8:36 AM, David Miller wrote:
From: Yonghong Song <redacted>
Date: Wed, 21 Jun 2017 13:48:27 -0700
quoted
tracex5_kern.c build failed with the following error message:
   ../samples/bpf/tracex5_kern.c:12:10: fatal error: 'syscall_nrs.h' file not found
   #include "syscall_nrs.h"
The generated file syscall_nrs.h is put in build/samples/bpf directory,
but this directory is not in include path, hence build failed.

The fix is to add $(obj) into the clang compilation path.

Signed-off-by: Yonghong Song <redacted>
Applied, thanks.

Please be clear in the future that your patch is targetting 'net-next' by
specifying this in your subject lines:

	[PATCH net-next] ...
Thanks, Dave. Sorry, I forgot to tag the branch name. I will make sure it happen in the future.
I had to figure this out by hand.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help