Skip to contentSkip to conversation

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

DISCUSSION Michal Sojka 2 participants 2 messages Oct 9, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Michal Sojka

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.