I did not have problems compiling with mpatrol and ACE
May be your link order is messed up
But my application core dumps , may be because i am using JNI
BIN = xxx
LSRC = $(addsuffix .cpp,$(BIN))
LDLIBS = -L$(JAVA_HOME)/jre/lib/i386 -
L$(JAVA_HOME)/jre/lib/i386/client -ljava -ljvm -lverify -lmpatrol -
lbfd
VLDLIBS = $(LDLIBS:%=%$(VAR))
BUILD = $(VBIN)
--- In
mpatrol@yahoogroups.com, "xiehf2000" <xiehaifeng@s...> wrote:
> We use ACE(Adaptive Communication Environment which is a platform)
as
> our support platform. ACE encapsulate most of OS's call such as
> memory operation. When we add #include "mpatrol.h" in the sources,
it
> can't be compiled.
> I want to know in this case, can we still use mpatrol to detect
> memory leak? (We use SUN OS 5.8, compiler is SUN workshop CC)
> Any help would be appreciate!
>
> hfxie.