From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: compile issue in latest iproute2 Date: Sat, 22 Apr 2017 17:00:34 +0200 Message-ID: <58FB7012.4080907@iogearbox.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" To: Jamal Hadi Salim , Stephen Hemminger Return-path: Received: from www62.your-server.de ([213.133.104.62]:56650 "EHLO www62.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424781AbdDVPAl (ORCPT ); Sat, 22 Apr 2017 11:00:41 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On 04/22/2017 02:31 PM, Jamal Hadi Salim wrote: > > I dont think is a kernel uapi - but it was failing compiling > when HAVE_ELF is false. > ----- > jhs@jhs-UX:~/git-trees/others/iproute-with-ck$ git diff include/bpf_util.h > diff --git a/include/bpf_util.h b/include/bpf_util.h > index 5361dab..edca339 100644 > --- a/include/bpf_util.h > +++ b/include/bpf_util.h > @@ -266,7 +266,7 @@ int bpf_send_map_fds(const char *path, const char *obj); > int bpf_recv_map_fds(const char *path, int *fds, struct bpf_map_aux *aux, > unsigned int entries); > #else > -static inline int bpf_send_map_fds(const char *path, const char *obj) > +inline int bpf_send_map_fds(const char *path, const char *obj) > { > return 0; > } > ----- > > Let me know if you want a formal patch or feel free to take it. Will resolve it and send a patch later today, thanks!