Linker error in function sys_bpf: undefined reference to `anon_inode_getfd'

From: Michal Sojka
Date: Thu Oct 09 2014 - 08:59:24 EST


Hi Alexei,

the following commit causes a failure of my linux build.

commit 99c55f7d47c0dc6fc64729f37bf435abf43f4c60
Author: Alexei Starovoitov <ast@xxxxxxxxxxxx>
Date: Fri Sep 26 00:16:57 2014 -0700

bpf: introduce BPF syscall and maps

The error is:

kernel/built-in.o: In function `sys_bpf':
(.text+0x3b4fc): undefined reference to `anon_inode_getfd'

My .config (for powerpc arch) is attached.

Best regards,
-Michal


Attachment: .config
Description: Binary data