From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14053 invoked by alias); 18 Dec 2009 18:17:01 -0000 Received: (qmail 14041 invoked by uid 22791); 18 Dec 2009 18:17:00 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Dec 2009 18:16:57 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBIIGtpp011898 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 18 Dec 2009 13:16:55 -0500 Received: from colt.bricoworks.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBIIGqpk018944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Dec 2009 13:16:54 -0500 Message-ID: <4B2BC714.6070903@redhat.com> Date: Fri, 18 Dec 2009 18:17:00 -0000 From: Tim Moore User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Thunderbird/3.0b4 MIME-Version: 1.0 To: wenji.huang@oracle.com CC: SystemTAP Subject: Re: Compilation error for latest source on non-utrace kernel References: <4B2B5485.4020708@oracle.com> In-Reply-To: <4B2B5485.4020708@oracle.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00988.txt.bz2 On 12/18/2009 11:08 AM, Wenji Huang wrote: > Hi, > > I got the compilation error for latest stap on non-utrace kernel. > See, > I've pushed a fix for this, commit 471fca5e53a239f7. If it still doesn't work, let me know and/or file a bug. Thanks, Tim > $stap -e 'probe begin{}' > WARNING: side-effect-free probe 'probe_1891': keyword at :1:1 > source: probe begin{} > ^ > In file included from /usr/local/share/systemtap/runtime/runtime.h:38, > from > /tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.c:51: > /usr/local/share/systemtap/runtime/uprobes/uprobes.h:3:26: error: > linux/utrace.h: No such file or directory > make[1]: *** > [/tmp/stapGtUpNK/stap_3a25160e1d3069b04e62dde4009020e6_464.o] Error 1 > make: *** [_module_/tmp/stapGtUpNK] Error 2 > Pass 4: compilation failed. Try again with another '--vp 0001' option. > > It's introduced by commit, > commit 5e562a69a5432566c6ae78344ae51b80ced7f15b > Author: Tim Moore > Date: Wed Dec 16 12:00:55 2009 +0100 > > set the IP in return probes to the returned-to instruction > > "uprobes/uprobes.h" will unconditionally be added to runtime.h on > non-utrace kernel. > > Regards, > Wenji