From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Kicinski Subject: Re: [PATCH bpf-next 3/4] samples: bpf: fix build after move to compiling full libbpf.a Date: Sat, 12 May 2018 12:38:05 -0700 Message-ID: <20180512123757.7970f381@cakuba> References: <20180512001729.21634-1-jakub.kicinski@netronome.com> <20180512001729.21634-4-jakub.kicinski@netronome.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: oss-drivers@netronome.com, netdev@vger.kernel.org, =?UTF-8?B?QmrDtnJu?= =?UTF-8?B?IFTDtnBlbA==?= To: alexei.starovoitov@gmail.com, daniel@iogearbox.net Return-path: Received: from mail-oi0-f52.google.com ([209.85.218.52]:39372 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbeELTiQ (ORCPT ); Sat, 12 May 2018 15:38:16 -0400 Received: by mail-oi0-f52.google.com with SMTP id n65-v6so7515873oig.6 for ; Sat, 12 May 2018 12:38:16 -0700 (PDT) In-Reply-To: <20180512001729.21634-4-jakub.kicinski@netronome.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 11 May 2018 17:17:28 -0700, Jakub Kicinski wrote: > There are many ways users may compile samples, some of them got > broken by commit 5f9380572b4b ("samples: bpf: compile and link > against full libbpf"). Improve path resolution and make libbpf > building a dependency of source files to force its build. >=20 > Samples should now again build with any of: > cd samples/bpf; make > make samples/bpf > make -C samples/bpf > cd samples/bpf; make O=3Dbuilddir > make samples/bpf O=3Dbuilddir > make -C samples/bpf O=3Dbuilddir >=20 > Fixes: 5f9380572b4b ("samples: bpf: compile and link against full libbpf") > Reported-by: Bj=C3=B6rn T=C3=B6pel > Signed-off-by: Jakub Kicinski Unfortunately Bj=C3=B6rn reports this still doesn't fix the build for him. Investigating further.