This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
systemtap failing to compile on Ubuntu Hardy
- From: "Anup C Shan" <anupcshan at gmail dot com>
- To: systemtap at sources dot redhat dot com
- Date: Fri, 9 May 2008 13:58:31 +0530
- Subject: 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:mime-version:content-type:content-transfer-encoding:content-disposition; bh=KCTNJz5y8rS7KoaHVvo0lhmeSqxeCjtOm/vF5lW9Swk=; b=INW0MHm6en7no9dbq7sqD/khu/c+dGKLdq7kPs/f3LQaRyMCOxEVZvEflp9CUhoebgxMCoHfFC0XKsStXd2JOybgbKHVOYCePOuIXPljUmpOXpcL4/SKkbu/tYdrZrCvS1YFd5tog33XkvFZmsL49DylTpiYioIJNmVyudiSSc4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Da1j3S8VVo7pjDBBG7E354SbNUT6W3TJxZ8//QYwpTQP3Vt/medXm6JxFnWbfTNS1+jqUALvTaEkx/9YuR9/97lGSMohUlO4mXZ729EpDex+lwzyfKXn4Gj6QFkRhQtoF10KlCUFTxutTDw7h6AVf+ZbJi6f8CA5TyIzlE4+wxA=
I attempted to compile systemtap on Ubuntu 8.04 with the following
configuration :
elfutils version 0.131 (patched with elfutils-portability.patch)
systemtap version 0.7
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
But compiling systemtap-9may gave the following error :
ldgeneric.c:(.text+0x7843): warning: the use of `mktemp' is dangerous,
better use `mkstemp' or `mkdtemp'
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H
-DSRCDIR=\"/home/anup/systemtap/elfutils-0.131/src\"
-DOBJDIR=\"/home/anup/systemtap/systemtap-9may/build-elfutils/src\"
-I. -I.. -I/home/anup/systemtap/elfutils-0.131/src
-I/home/anup/systemtap/elfutils-0.131/src
-I/home/anup/systemtap/elfutils-0.131/src/../libelf
-I/home/anup/systemtap/elfutils-0.131/src/../libebl
-I/home/anup/systemtap/elfutils-0.131/src/../libdw
-I/home/anup/systemtap/elfutils-0.131/src/../libdwfl
-I/home/anup/systemtap/elfutils-0.131/src/../lib -I.. -Wall -Wshadow
-std=gnu99 -Werror -Wunused -Wextra -Wformat=2 -fgnu89-inline
-fstack-protector-all -D_FORTIFY_SOURCE=2 -fpie -MT elflint.o -MD -MP
-MF .deps/elflint.Tpo -c -o elflint.o
/home/anup/systemtap/elfutils-0.131/src/elflint.c
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
rm i386_ld.o
make[3]: Leaving directory
`/home/anup/systemtap/systemtap-9may/build-elfutils/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/anup/systemtap/systemtap-9may/build-elfutils'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/anup/systemtap/systemtap-9may/build-elfutils'
make: *** [stamp-elfutils] Error 2
Any ideas on how to fix this?