From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4442 invoked by alias); 18 Jul 2011 19:02:10 -0000 Received: (qmail 4434 invoked by uid 22791); 18 Jul 2011 19:02:09 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-iy0-f169.google.com (HELO mail-iy0-f169.google.com) (209.85.210.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Jul 2011 19:01:55 +0000 Received: by iyb14 with SMTP id 14so2421467iyb.0 for ; Mon, 18 Jul 2011 12:01:54 -0700 (PDT) Received: by 10.42.148.10 with SMTP id p10mr1678874icv.447.1311015714551; Mon, 18 Jul 2011 12:01:54 -0700 (PDT) Received: from zdpc.mtv.corp.google.com ([2620:0:1000:1b02:baac:6fff:fe98:ceb5]) by mx.google.com with ESMTPS id f13sm3089730ibe.27.2011.07.18.12.01.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 Jul 2011 12:01:52 -0700 (PDT) Message-ID: <4E24831E.1000005@gmail.com> Date: Mon, 18 Jul 2011 19:02:00 -0000 From: Da Zheng User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: William Cohen CC: "Turgis, Frederic" , "systemtap@sourceware.org" Subject: Re: error to run systemtap in an ARM platform References: <4E1F90A8.2080000@gmail.com> <1310722941.4510.5.camel@springer.wildebeest.org> <4E209C3F.6060806@gmail.com> <4E20A6EF.9010003@redhat.com> <4E20B11A.5020402@gmail.com> <13872098A06B02418CF379A158C0F1460162204601@dnce02.ent.ti.com> <4E243F49.9020706@redhat.com> In-Reply-To: <4E243F49.9020706@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed 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: 2011-q3/txt/msg00044.txt.bz2 Hi, I got another problem. I tried to compile the example desktop.stp in the website, but failed. $ stap --vp 01 -a arm -r /build/tegra2_seaboard/tmp/portage/sys-kernel/chromeos-kernel-9999/work/chromeos-kernel-9999/build/tegra2_seaboard -p 4 -B CROSS_COMPILE=armv7a-cros-linux-gnueabi- -k desktop.stp semantic error: failed to retrieve return value location for vfs_read (/build/tegra2_seaboard/tmp/portage/sys-kernel/chromeos-kernel-9999/work/chromeos-kernel-9999/fs/read_write.c): identifier '$return' at desktop.stp:19:7 source: if ($return>0) { ^ semantic error: failed to retrieve return value location for vfs_write (/build/tegra2_seaboard/tmp/portage/sys-kernel/chromeos-kernel-9999/work/chromeos-kernel-9999/fs/read_write.c): identifier '$return' at :29:7 source: if ($return>0) { ^ Pass 2: analyzed script: 6 probe(s), 38 function(s), 10 embed(s), 5 global(s) using 171832virt/76644res/3076shr kb, in 570usr/60sys/633real ms. Pass 2: analysis failed. Try again with another '--vp 01' option. Keeping temporary directory "/tmp/stapqT2qvo" At first, I thought the bug might be fixed in the latest version, so I download the code from the git repository, built it, but still got the same error. I checked tapset/xxx/*.stp, but I didn't find scripts mention sys_read or sys_write. How do I fix this error? BTW, I think the latest version in the git repository has another bug. If I run ./configure; make, I get cscommon.h:7:17: error: ssl.h: No such file or directory I don't know what I should install to have ssl.h I already have /usr/include/nss/ssl.h /usr/include/openssl/ssl.h It can be compiled if I use --disable-server. However, in my cross compiling environment, even though I have already used --disable-server, I still get the same compilation error. Thanks, Da