khtml compile + Valgrind
Nicolas Goutte
nicolasg at snafu.de
Thu Mar 2 08:41:41 GMT 2006
On Wednesday 01 March 2006 21:39, David Faure wrote:
> On Wednesday 01 March 2006 20:02, Martin Koller wrote:
> > Hi,
> >
> > with a current snapshot I get the following errors
> >
> > /home/KDE4/source/kdelibs/khtml/misc/arena.cpp: In function `void*
> > khtml::ArenaAllocate(khtml::ArenaPool*, unsigned int)':
> > /home/KDE4/source/kdelibs/khtml/misc/arena.cpp:156: error: `
> > VALGRIND_MEMPOOL_ALLOC' undeclared (first use this function)
> > ...
> >
> > Shouldn't there be some valgrind include and probably ifdefd ?
> > BTW: in my /usr/include/valgrind/valgrind.h I don't have this define, but
> > it's rather old valgrind-2.0.0; in config.h I find
> > #define HAVE_VALGRIND_MEMCHECK_H 1
>
> So you have valgrind/memcheck.h but it doesn't define
> VALGRIND_MEMPOOL_ALLOC? Sounds like we need to refine the configure
> check...
I had loocked at it, when I had similar problems. As far as I saw, KDE does
not check the version of Valgrind nor the usability. So I had to delete my
old Valgrind.
Have a nice day!
More information about the kde-core-devel
mailing list