This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SystemTap 3.0 doesn't work on Ubuntu 14.04.4 LTS


On Wed, 2016-03-30 at 00:53 +0300, Aleksander Alekseev wrote:
> Hello
> 
> Thanks for your replies!
> 
> > What issues do you have?
> > It is certainly supposed to build against elfutils 0.165.
> 
> `make` fails like this:
> 
> http://pastebin.com/raw/afHGbFpE
>
> In file included from include-elfutils/gelf.h:32:0,
>                  from include-elfutils/elfutils/libdw.h:32,
>                  from session.h:29,
>                  from tapset-dynprobe.cxx:12:
> include-elfutils/libelf.h:280:8: error: âElf32_Chdrâ does not name a type
>  extern Elf32_Chdr *elf32_getchdr (Elf_Scn *__scn);
>         ^

That is because your glibc is old and elf.h doesn't contain the new
definitions. That has been fixed by:
https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=344ca0775da729e1bfdd61bb88ba4c64befece07
Which should also be included in the debian/ubuntu package sources.

It should also be in 0.166 to be released later this week.

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]