From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21148 invoked by alias); 26 Mar 2010 06:37:27 -0000 Received: (qmail 21141 invoked by uid 22791); 26 Mar 2010 06:37:26 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-pz0-f197.google.com (HELO mail-pz0-f197.google.com) (209.85.222.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Mar 2010 06:37:22 +0000 Received: by pzk35 with SMTP id 35so911237pzk.24 for ; Thu, 25 Mar 2010 23:37:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.211.8 with HTTP; Thu, 25 Mar 2010 23:37:20 -0700 (PDT) In-Reply-To: <861674c01003252335u6c836235x829374454c73693d@mail.gmail.com> References: <861674c01003252335u6c836235x829374454c73693d@mail.gmail.com> Date: Fri, 26 Mar 2010 06:37:00 -0000 Received: by 10.143.85.9 with SMTP id n9mr206699wfl.4.1269585440544; Thu, 25 Mar 2010 23:37:20 -0700 (PDT) Message-ID: <861674c01003252337j5a060507u7a8f9a2f5a35f4f@mail.gmail.com> Subject: Compilation failed on pfiles tool From: LiuChenhong To: SystemTap Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 2010-q1/txt/msg00781.txt.bz2 Hi, everyone, =C2=A0=C2=A0=C2=A0=C2=A0 I downloaded pfiles tool from http://sources.redhat.com/systemtap/wiki/WSPfiles , but I can't run the script, it came up with compilation failed. I revised the line "stap -x $pid -g -u -e" to "stap -x $pid -gkvv -u -e" and messages are as follows: ~/programming/systemtap sudo ./pfiles `pgrep pidgin` SystemTap translator/driver (version 0.9.8/0.141 non-git sources) Copyright (C) 2005-2009 Red Hat, Inc. and others This is free software; see the source for copying conditions. Session arch: i686 release: 2.6.31-20-generic Created temporary directory "/tmp/stapGCWfNy" Searched '/usr/share/systemtap/tapset/ i686/*.stp', found 3 Searched '/usr/share/systemtap/tapset/*.stp', found 51 Pass 1: parsed user script and 54 library script(s) in 500usr/10sys/524real= ms. Pass 2: analyzed script: 1 probe(s), 192 function(s), 17 embed(s), 0 global(s) in 290usr/320sys/596real ms. Pass 3: translated to C into "/tmp/stapGCWfNy/stap_9037.c" in 30usr/0sys/32real ms. Running make -C "/lib/modules/2.6.31-20-generic/build" M=3D"/tmp/stapGCWfNy" modules >/dev/null /tmp/stapGCWfNy/stap_9037.c: In function =E2=80=98function_socket_ipv6_peer= name=E2=80=99: /tmp/stapGCWfNy/stap_9037.c:15382: error: expected =E2=80=98)=E2=80=99 befo= re =E2=80=98NIP6_FMT=E2=80=99 /tmp/stapGCWfNy/stap_9037.c: In function =E2=80=98function_socket_ipv6_sock= name=E2=80=99: /tmp/stapGCWfNy/stap_9037.c:15424: error: expected =E2=80=98)=E2=80=99 befo= re =E2=80=98NIP6_FMT=E2=80=99 make[1]: *** [/tmp/stapGCWfNy/stap_9037.o] error 1 make: *** [_module_/tmp/stapGCWfNy] error 2 Error 2 No such file or directory Pass 4: compiled C into "stap_9037.ko" in 4810usr/820sys/5778real ms. Pass 4: compilation failed.=C2=A0 Try again with another '--vp 0001' option. Keeping temporary directory "/tmp/stapGCWfNy" So, can what's the problem?