Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-22 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 22, 2018 at 10:57:43AM +0800, Nick Hu escreveu: > Hi Arnaldo, > > On Thu, Oct 18, 2018 at 10:56:10PM +0800, Arnaldo Carvalho de Melo wrote: > > Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > > > The error message: > > >

Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-22 Thread Arnaldo Carvalho de Melo
Em Mon, Oct 22, 2018 at 10:57:43AM +0800, Nick Hu escreveu: > Hi Arnaldo, > > On Thu, Oct 18, 2018 at 10:56:10PM +0800, Arnaldo Carvalho de Melo wrote: > > Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > > > The error message: > > >

Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-21 Thread Nick Hu
Hi Arnaldo, On Thu, Oct 18, 2018 at 10:56:10PM +0800, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > > The error message: > > = > > util/symbol-elf.c:46:12: error: static

Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-21 Thread Nick Hu
Hi Arnaldo, On Thu, Oct 18, 2018 at 10:56:10PM +0800, Arnaldo Carvalho de Melo wrote: > Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > > The error message: > > = > > util/symbol-elf.c:46:12: error: static

Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-18 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > The error message: > = > util/symbol-elf.c:46:12: error: static declaration of 'elf_getphdrnum' > follows non-static declaration > static int elf_getphdrnum(Elf *elf,

Re: [PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-18 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 18, 2018 at 04:36:46PM +0800, Nickhu escreveu: > The error message: > = > util/symbol-elf.c:46:12: error: static declaration of 'elf_getphdrnum' > follows non-static declaration > static int elf_getphdrnum(Elf *elf,