This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
problems elfutils-0.122 on RHEL4
- From: William Cohen <wcohen at redhat dot com>
- To: "systemtap at sourceware dot org" <systemtap at sourceware dot org>
- Date: Wed, 26 Jul 2006 10:54:39 -0400
- Subject: problems elfutils-0.122 on RHEL4
Has any one attempting to build the systemtap snapshot on RHEL4? The
snapshot requires elfutils-0.122 sources.
On the RHEL4 em64t machine elfutils fails with the following error:
if gcc -D_GNU_SOURCE -DHAVE_CONFIG_H
-DSRCDIR=\"/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src\"
-DOBJDIR=\"/home/wcohen/stap_testing_200607260830/obj/build-elfutils/src\"
-I. -I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src -I..
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libelf
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libebl
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libdw
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libdwfl
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../lib -I.. -Wall
-Wshadow -std=gnu99 -Werror -Wunused -Wextra -Wformat=2 -g -O2 -MT
elflint.o -MD -MP -MF ".deps/elflint.Tpo" -c -o elflint.o
/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/elflint.c; \
then mv -f ".deps/elflint.Tpo" ".deps/elflint.Po"; else rm -f
".deps/elflint.Tpo"; exit 1; fi
/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/elflint.c: In function
`check_versym':
/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/elflint.c:2532: warning:
comparison between signed and unsigned
make[3]: *** [elflint.o] Error 1
make[3]: Leaving directory
`/home/wcohen/stap_testing_200607260830/obj/build-elfutils/src'
On the RHEL4 i686 machine elfutils build fails with the following error:
if gcc -D_GNU_SOURCE -DHAVE_CONFIG_H
-DSRCDIR=\"/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src\"
-DOBJDIR=\"/home/wcohen/stap_testing_200607260830/obj/build-elfutils/src\"
-I. -I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src -I..
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libelf
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libebl
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libdw
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../libdwfl
-I/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/../lib -I.. -Wall
-Wshadow -std=gnu99 -Werror -Wunused -Wextra -Wformat=2 -g -O2 -MT
elflint.o -MD -MP -MF ".deps/elflint.Tpo" -c -o elflint.o
/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/elflint.c; \
then mv -f ".deps/elflint.Tpo" ".deps/elflint.Po"; else rm -f
".deps/elflint.Tpo"; exit 1; fi
In file included from /usr/include/stdio.h:34,
from /usr/include/argp.h:24,
from
/home/wcohen/rh-rpms/BUILD/elfutils-0.122/src/elflint.c:31:
/usr/lib/gcc/i386-redhat-linux/3.4.5/include/stddef.h:213: error: syntax
error before "typedef"
make[3]: *** [elflint.o] Error 1
make[3]: Leaving directory
`/home/wcohen/stap_testing_200607260830/obj/build-elfutils/src'
-Will