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

2 messages, 2 authors, 2014-10-09 · open the first message on its own page

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

From: Michal Sojka <hidden>
Date: 2014-10-09 12:59:21

Hi Alexei,

the following commit causes a failure of my linux build.

    commit 99c55f7d47c0dc6fc64729f37bf435abf43f4c60
    Author: Alexei Starovoitov [off-list ref]
    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

    

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

From: Alexei Starovoitov <hidden>
Date: 2014-10-09 15:26:27

On Thu, Oct 9, 2014 at 5:59 AM, Michal Sojka [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help