Hi All,
I am trying mpatrol to debug memory
leak for
I downloaded the mpatrol code and
tried to compile the test1.c file located Under tutorial. The compile passed
but link failed:
[howardw@hwang tutorial]$
ppc_82xx-g++ -L/usr/local/include test1.o
-L/home/howardw/project/tools/memLeak/mPatrol/mpatrol/build/unix/ -lmpatrol
-lbfd -liberty
test1.o: In function `main':
test1.o(.text+0x144): the `gets'
function is dangerous and should not be used.
/home/howardw/project/tools/memLeak/mPatrol/mpatrol/build/unix//libmpatrol.so:
undefined reference to `__mp_initsection'
collect2: ld returned 1 exit status
my questions are:
1. can mpatrol be used for powerpc
based processor and cross compilation ?
2. if the answer is yes, what could
be the causes for the above error ?
thanks for the help.
Howard