Search the web
Sign In
New User? Sign Up
mpatrol · mpatrol library discussion group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
mpatrol linking problem   Message List  
Reply | Forward Message #1019 of 1198 |
RE: [mpatrol] mpatrol linking problem

Hi bd,

Thanks for the help. The native built passes and I got everything ok.
The
Xcompile also passes, the only issue is the linking: why it could not
find:
reference to `__mp_initsection', I suppose its definition should be
libmpatrol.so which I specified during linking ?

thanks

howard


-----Original Message-----
From: mpatrol@yahoogroups.com [mailto:mpatrol@yahoogroups.com] On Behalf
Of Banibrata Dutta
Sent: Thursday, August 31, 2006 3:05 PM
To: mpatrol@yahoogroups.com
Subject: Re: [mpatrol] mpatrol linking problem

Hello Howard:

Are you suspecting leak or other memory problems in
3rd party library or system-libraries of PPC, for
which you don't have the source-code ? Unless that's
the case, it is always an option to do a
native-compilation on FC for FC (x86), instead of a
xcompile, and test on native (x86).

- bd

--- Howard Wang - CTR <howardw@...> wrote:

> Hi All,
>
>
>
> I am trying mpatrol to debug memory leak for ur
> system. We are using FC5
> as host to cross compile the target code which is
> powerpc processor.
>
> 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//libmpatr
> ol.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
>
>
>
>
>
>
>
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


To Post a message, send it to: mpatrol@egroups.com

To Unsubscribe, send a blank message to: mpatrol-unsubscribe@egroups.com

Yahoo! Groups Links











Thu Aug 31, 2006 8:31 pm

howardw@...
Send Email Send Email

Forward
Message #1019 of 1198 |
Expand Messages Author Sort by Date

Hi All, I am trying mpatrol to debug memory leak for ur system. We are using FC5 as host to cross compile the target code which is powerpc processor. I...
Howard Wang - CTR
howardw@...
Send Email
Aug 31, 2006
2:11 pm

Hello Howard: Are you suspecting leak or other memory problems in 3rd party library or system-libraries of PPC, for which you don't have the source-code ?...
Banibrata Dutta
banibrata_dutta
Offline Send Email
Aug 31, 2006
7:06 pm

Hi bd, Thanks for the help. The native built passes and I got everything ok. The Xcompile also passes, the only issue is the linking: why it could not find: ...
Howard Wang - CTR
howardw@...
Send Email
Aug 31, 2006
8:41 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help