On Mon, Jun 10, 2019 at 12:03 PM Hechao Li wrote:
>
> Andrii Nakryiko wrote on Mon [2019-Jun-10
> 11:05:28 -0700]:
> > On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote:
> > >
> > > I got an error when compiling selftests/bpf:
> > >
> > > libbpf.c:411:10: error: implicit declaration of function '
> On Jun 10, 2019, at 12:02 PM, Hechao Li wrote:
>
> Andrii Nakryiko wrote on Mon [2019-Jun-10
> 11:05:28 -0700]:
>> On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote:
>>>
>>> I got an error when compiling selftests/bpf:
>>>
>>> libbpf.c:411:10: error: implicit declaration of function 'real
Andrii Nakryiko wrote on Mon [2019-Jun-10 11:05:28
-0700]:
> On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote:
> >
> > I got an error when compiling selftests/bpf:
> >
> > libbpf.c:411:10: error: implicit declaration of function 'reallocarray';
> > did you mean 'realloc'? [-Werror=implicit-functi
On Mon, Jun 10, 2019 at 9:57 AM Hechao Li wrote:
>
> I got an error when compiling selftests/bpf:
>
> libbpf.c:411:10: error: implicit declaration of function 'reallocarray';
> did you mean 'realloc'? [-Werror=implicit-function-declaration]
> progs = reallocarray(progs, nr_progs + 1, sizeof(prog
I got an error when compiling selftests/bpf:
libbpf.c:411:10: error: implicit declaration of function 'reallocarray';
did you mean 'realloc'? [-Werror=implicit-function-declaration]
progs = reallocarray(progs, nr_progs + 1, sizeof(progs[0]));
It was caused by feature-reallocarray=1 in FEATURE-D