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 failing to compile on Ubuntu Hardy


Hi Anup,

On Fri, 2008-05-09 at 13:58 +0530, Anup C Shan wrote:
> cc1: warnings being treated as errors
> /home/anup/systemtap/elfutils-0.131/src/elflint.c: In function Ãcheck_dynamicÃ:
> /home/anup/systemtap/elfutils-0.131/src/elflint.c:1511: warning:
> initialized field overwritten
> /home/anup/systemtap/elfutils-0.131/src/elflint.c:1511: warning: (near
> initialization for Ãdependencies[2]Ã)
> make[3]: *** [elflint.o] Error 1
> [...]
> Any ideas on how to fix this?

You might want to try elfutils-0.134 from which contains this patch:

2008-01-03  Roland McGrath  <roland@redhat.com>

    * ld.h (linked_from_dso_p): Use __attribute__ ((__gnu_inline__)).
    * elflint.c (check_dynamic): Remove duplicate initializer.

You can get it from: https://fedorahosted.org/releases/e/l/elfutils/

Cheers,

Mark


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