2014-10-09 12:59:21

by Michal Sojka

[permalink] [raw]
Subject: Linker error in function sys_bpf: undefined reference to `anon_inode_getfd'

Hi Alexei,

the following commit causes a failure of my linux build.

commit 99c55f7d47c0dc6fc64729f37bf435abf43f4c60
Author: Alexei Starovoitov <[email protected]>
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



Attachments:
.config (28.78 kB)

2014-10-09 15:26:27

by Alexei Starovoitov

[permalink] [raw]
Subject: Re: Linker error in function sys_bpf: undefined reference to `anon_inode_getfd'

On Thu, Oct 9, 2014 at 5:59 AM, Michal Sojka <[email protected]> wrote:
> The error is:
>
> kernel/built-in.o: In function `sys_bpf':
> (.text+0x3b4fc): undefined reference to `anon_inode_getfd'

Thanks for the report. Working on a fix.