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]

Re: build changes: --with-elfutils option


Roland,

I tried to build systemtap with the --with-elfutils option on my RHEL4 U2 ppc64 box. But it fail to to build elfutils.
So I tried to build elfutils-0.118 seperately without systetmatp, and got the same error.


./configure
make
.
.
.
if gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I.. -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 -g -O2 -MT elf_begin.o -MD -MP -MF ".deps/elf_begin.Tpo" -c -o elf_begin.o elf_begin.c; \
then mv -f ".deps/elf_begin.Tpo" ".deps/elf_begin.Po"; else rm -f ".deps/elf_begin.Tpo"; exit 1; fi
elf_begin.c: In function `get_shnum':
elf_begin.c:100: warning: signed and unsigned type in conditional expression
elf_begin.c:101: warning: signed and unsigned type in conditional expression
elf_begin.c:113: warning: signed and unsigned type in conditional expression
elf_begin.c:114: warning: signed and unsigned type in conditional expression
elf_begin.c:155: warning: signed and unsigned type in conditional expression
elf_begin.c:197: warning: signed and unsigned type in conditional expression
elf_begin.c: In function `file_read_elf':
elf_begin.c:297: warning: signed and unsigned type in conditional expression
elf_begin.c:298: warning: signed and unsigned type in conditional expression
elf_begin.c:299: warning: signed and unsigned type in conditional expression
elf_begin.c:300: warning: signed and unsigned type in conditional expression
elf_begin.c:301: warning: signed and unsigned type in conditional expression
elf_begin.c:302: warning: signed and unsigned type in conditional expression
elf_begin.c:303: warning: signed and unsigned type in conditional expression
elf_begin.c:304: warning: signed and unsigned type in conditional expression
elf_begin.c:305: warning: signed and unsigned type in conditional expression
elf_begin.c:306: warning: signed and unsigned type in conditional expression
elf_begin.c:307: warning: signed and unsigned type in conditional expression
elf_begin.c:308: warning: signed and unsigned type in conditional expression
elf_begin.c:309: warning: signed and unsigned type in conditional expression
elf_begin.c:372: warning: signed and unsigned type in conditional expression
elf_begin.c:373: warning: signed and unsigned type in conditional expression
elf_begin.c:374: warning: signed and unsigned type in conditional expression
elf_begin.c:375: warning: signed and unsigned type in conditional expression
elf_begin.c:376: warning: signed and unsigned type in conditional expression
elf_begin.c:377: warning: signed and unsigned type in conditional expression
elf_begin.c:378: warning: signed and unsigned type in conditional expression
elf_begin.c:379: warning: signed and unsigned type in conditional expression
elf_begin.c:380: warning: signed and unsigned type in conditional expression
elf_begin.c:381: warning: signed and unsigned type in conditional expression
elf_begin.c:382: warning: signed and unsigned type in conditional expression
elf_begin.c:383: warning: signed and unsigned type in conditional expression
elf_begin.c:384: warning: signed and unsigned type in conditional expression
make[2]: *** [elf_begin.o] Error 1
make[2]: Leaving directory `/home/nguyhien/mytests/snapshots/elfutils-0.118/libelf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nguyhien/mytests/snapshots/elfutils-0.118'
make: *** [all] Error 2


Thanks for your help,
Hien.

Roland McGrath wrote:

I've committed changes relating to PR 1916. This is to make it easier to
build elfutils locally in the systemtap build, as we have done in the RPM
builds.


configure now accepts an option --with-elfutils=SRCDIR, where SRCDIR is a
directory containing the elfutils source tree, either an absolute directory
name or one relative to the systemtap source directory where configure is.
You'll see it also run elfutils' configure script at the end.




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