Hello Everyone,

I would like to ask you guys for your valuable help. I've been trying to
compile valgrind 2.4.1 (downloaded from release archive valgrind.org) on
Fedora Core 3 and Redhat Linux 8 for a valgrind survey reason. It is
because valgrind 2.4.1's 'configure' demands Linux Kernel 2.4 or 2.6 and
glibc 2.2, 2.3 or 2.4. I am having some problem with the 'make' which is
the following:

Making all in coregrind

make[2]: Entering directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind'

rm -f vg_toolint.c

/usr/bin/perl ./gen_toolint.pl callwrap     < ./toolfuncs.def >
vg_toolint.c || rm -f vg_toolint.c

/usr/bin/perl ./gen_toolint.pl missingfuncs < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c

/usr/bin/perl ./gen_toolint.pl initfunc     < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c

/usr/bin/perl ./gen_toolint.pl initdlsym    < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c

/usr/bin/perl ./gen_toolint.pl structdef    < ./toolfuncs.def >>
vg_toolint.c || rm -f vg_toolint.c

rm -f vg_toolint.h

/usr/bin/perl ./gen_toolint.pl proto  < ./toolfuncs.def >  vg_toolint.h ||
rm -f vg_toolint.h

/usr/bin/perl ./gen_toolint.pl struct < ./toolfuncs.def >> vg_toolint.h ||
rm -f vg_toolint.h

make  all-recursive

make[3]: Entering directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind'

Making all in x86

make[4]: Entering directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind/x86'

gcc -Wl,--verbose -nostdlib 2>&1 | sed \

-e '1,/^=====\+$/d' \

-e '/^=====\+$/d' \

-e 's/0x08048000/kickstart_base/g' > stage2.lds || rm -f stage2.lds

source='gen_offsets.c' object='gen_offsets.o' libtool=no \

depfile='.deps/gen_offsets.Po' tmpdepfile='.deps/gen_offsets.TPo' \

depmode=gcc3 /bin/sh ../../depcomp \

gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../coregrind -I../../coregrind
-I../.. -I../../coregrind/x86 -I../../coregrind/x86 -I../../coregrind/linux
-I../../coregrind/x86-linux -I../../include -I../../include
-I../../include/x86 -I../../include/linux -I../../include/x86-linux
-Winline -Wall -Wshadow -O -g -msse -c `test -f 'gen_offsets.c' || echo
'./'`gen_offsets.c

gcc  -Winline -Wall -Wshadow -O -g -msse   -o gen_offsets  gen_offsets.o

./gen_offsets > core_arch_asm_offsets.h.new

make  all-am

make[5]: Entering directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind/x86'

make[5]: Leaving directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind/x86'

make[4]: Leaving directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind/x86'

make[3]: Leaving directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind'

make[2]: Leaving directory
`/home/mbp/.gnome-desktop/valgrind-2.4.1/coregrind'

make[1]: Leaving directory `/home/mbp/.gnome-desktop/valgrind-2.4.1'

make[5]: *** No rule to make target `cpuid.S', needed by `cpuid.o'.  Stop.

make[4]: *** [all] Error 2

make[3]: *** [all-recursive] Error 1

make[2]: *** [all] Error 2

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2
........................................

Even if I try to 'make -i' just to go with it, it gives the following
errors (just errors here):

make[5]: *** No rule to make target `cpuid.S', needed by `cpuid.o'.  Stop.

make[4]: [all] Error 2 (ignored)

make[4]: *** No rule to make target `syscall.S', needed by `syscall.o'.
Stop.

make[3]: [all-recursive] Error 1 (ignored)

make[3]: *** No rule to make target `../coregrind/lib_replace_malloc.a',
needed

by `vgpreload_memcheck.so'.  Stop.

make[2]: [all-recursive] Error 1 (ignored)

make[3]: *** No rule to make target `../coregrind/lib_replace_malloc.a',
needed

by `vgpreload_addrcheck.so'.  Stop.

make[2]: [all-recursive] Error 1 (ignored)

make[3]: *** No rule to make target `../coregrind/lib_replace_malloc.a',
needed

by `vgpreload_massif.so'.  Stop.

make[2]: [all-recursive] Error 1 (ignored)
................................

I've tried valgrind 3.7 on Fedora core 3 and it got installed but I want to
try valgrind 2.4.1 for the said reason.

Any help would be greatly appreciated. Thanks,

Mohammad Ali
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to