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]

systemtap failing to compile on Ubuntu Hardy


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?


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