This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
compilation problem
- From: "Jun Koi" <junkoi2004 at gmail dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Wed, 13 Aug 2008 12:51:23 +0900
- Subject: compilation problem
- 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=3TPGNH8fL2ROSo1PsJnvz5go1P9COtH7MZ4IueCTmxY=; b=nQ72ngb0LiaNehOQEIqKWNDnxMuDxtdkzbm+SSWxwOKoZT5k/6n9KW/TyKPV/LnMzH ew8iB+5TIikwDCvD/g3dooTagJotfa+yxS7pfAfoCaczSWaCMDL+OykmXDZTQ8TmfCOP mtGRSPwXddXWQw7cs2NY7Y/33ZHm/dEOolJcA=
- 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=b9sExBfjaypt2996gGpYlkfgYoru6+Jzc6bRoND8R8tW5eqNfXk+h2wVEx8gZb3MxI RKCvlKp+lhj1SzDE/QPaxBStOt0NkGxU+Cwm1y+KPUl2MeKmE+i9/AlaitDT3p1wKWmg oJqDUIlFXM5gEcUQ6zEUPs+bOEh5aZDsSLrns=
Hi,
I am trying to compile systemtap 0.7. To do so, I first try to compile
and install elfutils-0.131 (latest version?). However, this failed!
Here is how I did:
- Get elfutils-0.131.tar.gz and elfutils-portability.patch from
http://sourceware.mirrors.tds.net/pub/sourceware.org/systemtap/elfutils/
- Patch elfutils-0.131 with elfutils-portability.patch (Is this really
necessary? If so, why it is separated?)
- Run ./configure, then make inside elfutils-0.131/.
This results in error like below:
..........
Making all in libebl
make[2]: Entering directory `/home/jun/projects/elfutils-0.131/libebl'
gcc -D_GNU_SOURCE -DHAVE_CONFIG_H
-DOBJDIR=\"/home/jun/projects/elfutils-0.131/libebl\" -I. -I.. -I.
-I../libelf -I../libdw -I../lib -I.. -fpic -Wall -Wshadow -Werror
-Wunused -Wextra -Wformat=2 -std=gnu99 -g -O2 -MT eblopenbackend.o -MD
-MP -MF .deps/eblopenbackend.Tpo -c -o eblopenbackend.o
eblopenbackend.c
cc1: warnings being treated as errors
In file included from ./libebl.h:54,
from ./libeblP.h:54,
from eblopenbackend.c:63:
../libdw/libdw.h:639: warning: C99 inline functions are not supported;
using GNU89
../libdw/libdw.h:639: warning: to disable this warning use
-fgnu89-inline or the gnu_inline function attribute
../libdw/libdw.h:646: warning: C99 inline functions are not supported;
using GNU89
make[2]: *** [eblopenbackend.o] Error 1
make[2]: Leaving directory `/home/jun/projects/elfutils-0.131/libebl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jun/projects/elfutils-0.131'
make: *** [all] Error 2
My machine is x86, compiler gcc 4.2.3 on Ubuntu 8.04
How can I fix this?
Many thanks,
Jun