This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: systemtap failing to compile on Ubuntu Hardy
- From: "Anup C Shan" <anupcshan at gmail dot com>
- To: "Mark Wielaard" <mwielaard at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 9 May 2008 16:48:27 +0530
- Subject: Re: systemtap failing to compile on Ubuntu Hardy
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZmndPL26y1vWwGD3ph2vmPTO2Vu7fTslZ7wZEjp4cWc=; b=o9A3W7gJnUpZHK/NrU0bUKheG3kSNumd1QXNHxKCBkbbeJNX75eTvQwlfwXWdQqJW0b7WSigXILIG4BJ5YuF1I40Yzckm/5bOjhgrwdBQ8PAJiA2wPX81a5CCn70VEge/OMB+GiUiQ5G3k9Yx3kXveUOYK0dYYJoCYyj6th0G64=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gZMpXsC1VoDLyk70BGIXFxP//XSpaI5EGRFMgYQMId+qzvFhd1iwf0XTEpVV60alzL13+b1ih/pnLfvBuKJZgvn4Nv+8V1ntnzpVIGpUfpS5UPRMWgj20G+XdV+n7bbNwa7Mj+FK0iKbqHXYAvMwrekcMPNh8YsKobDCNzcUdmA=
- References: <ab332f4e0805090128i4a383cala2472404766d2314@mail.gmail.com> <1210331439.3113.2.camel@dijkstra.wildebeest.org>
Hi Mark,
On Fri, May 9, 2008 at 4:40 PM, Mark Wielaard <mwielaard@redhat.com> wrote:
> 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
>
>
Thanks..
But its still giving the same error again with elfutils-0.134 :
In file included from /home/anup/systemtap/elfutils-0.134/libebl/libebl.h:54,
from
/home/anup/systemtap/elfutils-0.134/libebl/../libasm/libasm.h:32,
from /home/anup/systemtap/elfutils-0.134/libebl/libeblP.h:54,
from
/home/anup/systemtap/elfutils-0.134/libebl/eblopenbackend.c:63:
/home/anup/systemtap/elfutils-0.134/libdw/libdw.h:649: warning: C99
inline functions are not supported; using GNU89
/home/anup/systemtap/elfutils-0.134/libdw/libdw.h:649: warning: to
disable this warning use -fgnu89-inline or the gnu_inline function
attribute
/home/anup/systemtap/elfutils-0.134/libdw/libdw.h:656: warning: C99
inline functions are not supported; using GNU89