This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compilation problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]