From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11500 invoked by alias); 17 May 2010 15:31:46 -0000 Received: (qmail 11485 invoked by uid 22791); 17 May 2010 15:31:44 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Mon, 17 May 2010 15:31:33 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o4HFUt51027091 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 17 May 2010 11:30:55 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o4HFUrpF021645; Mon, 17 May 2010 11:30:54 -0400 Subject: Re: Using the systemtap configure script on Ubuntu 9.04 From: Mark Wielaard To: gkosteva@comcast.net Cc: systemtap@sourceware.org In-Reply-To: <911997035.21154591274107659376.JavaMail.root@sz0020a.westchester.pa.mail.comcast.net> References: <911997035.21154591274107659376.JavaMail.root@sz0020a.westchester.pa.mail.comcast.net> Content-Type: text/plain; charset="UTF-8" Date: Tue, 18 May 2010 02:44:00 -0000 Message-ID: <1274110253.2583.21.camel@hermans.wildebeest.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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-q2/txt/msg00364.txt.bz2 On Mon, 2010-05-17 at 14:47 +0000, gkosteva@comcast.net wrote: > "In order to compile the tool and scripts, elfutils package shall be available on the host. > elfutils 0.143 package can be downloaded from following location [5] > No need to install elfutils on the host; only the untar'ed file is required." > > so is elfutils required? line 1 says yes, line 3 says no ??? You don't have to install it, systemtap can use the sources to build and link against itself when configure is given the --with-elfutils=/path/to/elfutils-sources option. > > From my compile environment on the PC, I attempt to run ./configure to generate > the proper make files and get the following error message: > > ----------------------------------------------------------------- > [IMX BUILD]> cd systemtap-1.2/ > [IMX BUILD]> ./configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking whether ln -s works... yes > checking for gcc... arm-none-linux-gnueabi-gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... configure: error: in `/home/gkosteva/SVN_trunk/embedded/celiav1/imx31/stage/systemtap-1.2': > configure: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > [IMX BUILD]> > --------------------------------------------------------------------- > > Any ideas how/why the configure script is not working? Look in config.log for more details. I assume you are trying to cross-compile and something in your toolchain isn't setup correctly. config.log will tell you what. It might be easier to build and run systemtap on the arm box directly. Cheers, Mark