Well,
I sent the mail too early.
Without much understandment of C++, I found that the problem resides
in the fact that kcachegrind was written for qt3.3
RHEL3 comes with qt3.1

A really small patch (attached to the mail) should make the code compile.

cheers,
Noam


On 10/20/05, Noam Meltzer <[EMAIL PROTECTED]> wrote:
> Hi,
> I was wondering if anyone here had any success with
> building/installing kcachegrind-0.4.6 on RHEL3.
> I managed to install all the layers before (valgrind-3.0.1,
> valgrind-callgrind-0.10.0)
> I also had to install in the build process autoconf-2.95 and automake-1.96
>
> Anyhow,
> When I try to compile kcachegrind, I fail in the end on this error below.
> Does any one has any idea what is going wrong here?
>
> 10x,
> Noam
>
> ---------------------------------
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
> -I/usr/lib/qt-3.1/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2
> -Wformat-security -Wmissing-format-attribute -fno-exceptions
> -fno-check-new -fno-common  -MT callgraphview.o -MD -MP -MF
> ".deps/callgraphview.Tpo" -c -o callgraphview.o callgraphview.cpp; \
> then mv -f ".deps/callgraphview.Tpo" ".deps/callgraphview.Po"; else rm
> -f ".deps/callgraphview.Tpo"; exit 1; fi
> callgraphview.cpp: In constructor `PannerView::PannerView(QWidget*, const
>    char*)':
> callgraphview.cpp:955: `WNoAutoErase' undeclared (first use this function)
> callgraphview.cpp:955: (Each undeclared identifier is reported only once for
>    each function it appears in.)
> make[2]: *** [callgraphview.o] Error 1
> make[2]: Leaving directory `/root/dls/kcachegrind-0.4.6/kcachegrind'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/dls/kcachegrind-0.4.6'
> make: *** [all] Error 2
>
> ------------------------
>

Attachment: valgrind.qt31.patch
Description: Binary data

Reply via email to