|
From: Martin G. <mar...@gm...> - 2007-05-30 17:57:48
|
Hi,
I'm new to the list and new to valgrind.
My problem is, that i really would like to try the omega tool - i
grabbed the svn - applied the omega patch and tried to compile valgrind
with omega.
I had to manually 'hack' the omega/Makefile.am to be able to include
omega in the building process (Ubuntu Edgy 32bit - automake 1.9.6).
After getting that far that configure is configuring omega, too i typed
make - the result is:
make[3]: Entering directory `/home/mattn/dev/valgrind/omega'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../VEX/pub
-DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -m32
-mpreferred-stack-boundary=2 -O -g -Wmissing-prototypes -Winline -Wall
-Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -O2
-Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement
-fno-stack-protector -MT omega_x86_linux-o_main.o -MD -MP -MF
".deps/omega_x86_linux-o_main.Tpo" -c -o omega_x86_linux-o_main.o `test
-f 'o_main.c' || echo './'`o_main.c; \
then mv -f ".deps/omega_x86_linux-o_main.Tpo"
".deps/omega_x86_linux-o_main.Po"; else rm -f
".deps/omega_x86_linux-o_main.Tpo"; exit 1; fi
o_main.c:2586: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
o_main.c: In function 'o_pre_clo_init':
o_main.c:3535: error: 'o_instrument' undeclared (first use in this
function)
o_main.c:3535: error: (Each undeclared identifier is reported only once
o_main.c:3535: error: for each function it appears in.)
make[3]: *** [omega_x86_linux-o_main.o] Error 1
Isn't omega working with the current trunk? Do I need a special
revision?
Best regards and thanks for your help
Martin
PS. I tried to search the ml-archives - but sourceforge.net presented
505 - so I'm sorry if such a topic already exists.
------
UFO:Alien Invasion http://ufoai.sf.net
|
|
From: Brad H. <br...@fr...> - 2007-06-11 20:49:25
|
On Thursday 31 May 2007 03:57, Martin Gerhardy wrote: > make[3]: Entering directory `/home/mattn/dev/valgrind/omega' > if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../VEX/pub > -DVGA_x86=3D1 -DVGO_linux=3D1 -DVGP_x86_linux=3D1 -m32 > -mpreferred-stack-boundary=3D2 -O -g -Wmissing-prototypes -Winline -Wall > -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -O2 > -Wno-long-long -Wno-pointer-sign -Wdeclaration-after-statement > -fno-stack-protector -MT omega_x86_linux-o_main.o -MD -MP -MF > ".deps/omega_x86_linux-o_main.Tpo" -c -o omega_x86_linux-o_main.o `test > -f 'o_main.c' || echo './'`o_main.c; \ > then mv -f ".deps/omega_x86_linux-o_main.Tpo" > ".deps/omega_x86_linux-o_main.Po"; else rm -f > ".deps/omega_x86_linux-o_main.Tpo"; exit 1; fi > o_main.c:2586: error: expected '=3D', ',', ';', 'asm' or '__attribute__' > before '*' token Without looking at the code, this probably refers to a type IRBB (the=20 covergrind code did). Try changing that to IRSB. Brad |