Skip to Content.
Sympa Menu

sm-grimoire - [SM-Grimoire] Compiling valgrind 2.0.0

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Ondra Tomecka <otom7630 AT lucy.troja.mff.cuni.cz>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: [SM-Grimoire] Compiling valgrind 2.0.0
  • Date: Wed, 21 Jan 2004 11:25:13 +0100 (CET)

Hi all,

did anyone have success compiling valgrind 2.0.0 (in testing grimoire)? I
cannot find a bug for it in bugzilla (maybe I just don't know how to
search for it, but search for "valgrind" turns out nothing), but I cannot
manage to compile it. The error sent me to check what's in the headers
that it is complaining about them, and I have to admit that I'm not
familiar with the way how many things are declared in /usr/include
headers, so now I have no idea what is it complaining about.

The error is like this:
-----------------------------------------------------------------------
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include
-DVG_LIBDIR="\"/usr/lib"\" -Winline -Wall -Wshadow -O
-fomit-frame-pointer -mpreferred-stack-boundary=2 -g
-mpreferred-stack-boundary=2 -fno-omit-frame-pointer -MT vg_intercept.o
-MD -MP -MF ".deps/vg_intercept.Tpo" \
-c -o vg_intercept.o `test -f 'vg_intercept.c' || echo
'./'`vg_intercept.c; \
then mv -f ".deps/vg_intercept.Tpo" ".deps/vg_intercept.Po"; \
else rm -f ".deps/vg_intercept.Tpo"; exit 1; \
fi
In file included from vg_intercept.c:65:
/usr/include/asm/ipc.h:10: error: field `__user' has incomplete type
/usr/include/asm/ipc.h:10: error: parse error before '*' token
/usr/include/asm/ipc.h:12: error: parse error before '}' token
vg_intercept.c:448: warning: declaration of `msgtyp' shadows a global
declaration
/usr/include/asm/ipc.h:11: warning: shadowed declaration is here
vg_intercept.c: In function `vgAllRoadsLeadToRome_msgrcv':
vg_intercept.c:453: error: storage size of `tmp' isn't known
vg_intercept.c:453: warning: unused variable `tmp'
vg_intercept.c: At top level:
vg_intercept.c:487: warning: declaration of `msgtyp' shadows a global
declaration
/usr/include/asm/ipc.h:11: warning: shadowed declaration is here
make[4]: *** [vg_intercept.o] Error 1
make[4]: Leaving directory `/usr/src/valgrind-2.0.0/coregrind'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/valgrind-2.0.0/coregrind'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/valgrind-2.0.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/valgrind-2.0.0'
------------------------------------------------------------------

Did I miss something or is it a bug to be filed in our bugzilla?

Andy






Archive powered by MHonArc 2.6.24.

Top of Page