Subject: Re: link failures with bpf_map_xxx_elem_proto calls from net/core/filiter.c

From: Alexei Starovoitov <[email-masked]>
Date: Wed, 04 Mar 2015 07:44:35 -0800

On 3/4/15 12:56 AM, Or Gerlitz wrote:
> On 3/4/2015 10:42 AM, Or Gerlitz wrote:
>> Hi Daniel,
>>
>> With net-next (and probably net or Linus tree too), I am getting these
>> link failures
>>
>> net/built-in.o:(.rodata+0x2210): undefined reference to
>> `bpf_map_lookup_elem_proto'
>> net/built-in.o:(.rodata+0x2218): undefined reference to
>> `bpf_map_update_elem_proto'
>> net/built-in.o:(.rodata+0x2220): undefined reference to
>> `bpf_map_delete_elem_proto'
>>
>
> suddenly solved after make clean and make, probably a leftover from the
> fact that net-next was rebased tonight from 3.19 to 4.0-rc2

that actually a real issue and Daniel has a patch that fixes it.
Will be submitted soon.