|
From: <jen...@ta...> - 2010-09-20 15:57:49
|
Hi Rich, Thanks again for the message and sorry I could not reply to you earlier. I tried to put valgrind on our file server under the directory: "/mnt/chlorine/valgrind" using the script attached (make without install), and then mount the same directory on our arm-linux target; also I did "export VALGRIND_LIB=/mnt/chlorine/valgrind/memcheck" on the target platform; But when I run "./coregrind/valgrind", I got the same error "No such file or directory". I wonder could you spot anything I have done wrong so far? Regards Jenny -----Original Message----- From: Rich Coe <Ric...@me...> To: jen...@ta... Sent: Fri, 17 Sep 2010 16:35 Subject: Re: [Valgrind-developers] valgrind can not be located on target platform Hi Jenny, In the file README_DEVELOPERS, top of the vg tree, the first section 'Building and not installing it' describes running valgrind in-place. Rich On Fri, 17 Sep 2010 06:37:05 -0400 jen...@ta... wrote: > Hi Richard, > > Thank you very much for replying to my message, I was away for a while, > so sorry for getting back to you late. > > I wonder could you tell me where I can find "developer notes for > running valgrind 'in-place'" please? > > Our arm-linux platform has a cut down version of linux, so I can not > run "strace" "ldconfig" etc., I wonder could you tell me is there > another way to find out which library valgrind is looking for when it > gives the "No such file or directory" error message please? > > Really appreciate your help! > > Regards > > Jenny > > > -----Original Message----- > From: Rich Coe <Ric...@me...> > To: jen...@ta... > Sent: Thu, 16 Sep 2010 16:16 > Subject: Re: [Valgrind-developers] valgrind can not be located on > target platform > > I don't if anyone else replied. > > If you look at the developer notes for running valgrind 'in-place' it > might > help. valgrind the binary is merely the front end of several binaries > and needs to be able to find those other objects in order to run. > > Rich > > On Sun, 12 Sep 2010 15:19:19 -0400 > jen...@ta... wrote: > > Hi there, > > > > I am trying to run Valgrind on our arm-linux platform to help > debuging > > the memory leak problem. > > > > After cross compiled Valgrind on Red Hat Linux using the script as > > attached,I try to run Valgrind from the target platform as such > > "/mnt/chlorine/testing_log/mem/Cross-compile/bin/valgrind", I got "No > > such file or Directory" error message. > > > > There was no error reported during the compilation and installation > and > > I have edited $PATH at the target platform to point to > > /mnt/chlorine/testing_log/mem/Cross-compile/bin, and done "chmod+x" > to > > the .../bin folder. > > > > I wonder has anybody else experienced the same problem before? Have I > > done anything wrong during the compilation/ installation? > > > > Many thanks for your help in advance! > > > > Regards > > > > Jenny > > > > > > > > > -- > > > > > -- |