According to the output below, your valgrind seems to be at least located in
 /android/external/valgrind-3.7.0/coregrind
and so you might try:
   /android/external/valgrind-3.7.0/coregrind/valgrind

But this looks like this Valgrind has not been installed and/or compiled
according to the "official way".

Cfr my previous mail: I succeeded having a Valgrind running on Android,
doing *precisely* what is documented in README.android.

It looks like what you did does not match the README.android
and this might very well be the source of the problem.

Philippe

>-----Original Message-----
>From: Александар Миленковић [mailto:[email protected]] 
>Sent: Friday 11 November 2011 16:30
>To: Alexander Potapenko
>Cc: [email protected]
>Subject: Re: [Valgrind-users] Valgrind on Android (Gingerbread)
>
><ommited>:/android/external/valgrind-3.7.0/coregrind$ file valgrind
>valgrind: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically
>linked, for GNU/Linux 2.6.16, not stripped
>
>
><ommited>:/android/external/valgrind-3.7.0/coregrind$ head valgrind
> ELF    ( @ 4  4  ($! p             ȍȍ  ȍ 
>     -  -       -                         1        
>  ȍ (  Q td     GNU   -       /          
>                    
>                    0  T  # H Ć   0       0 0  S 
>     /  
>       @- 4@      0  S   $0  S 
><0  - S   0     @    /ᨕ
>0  0      ,  0  S 
> 0  S 
>   O-   /         @  % `P &
>:    E @@㔟        @      
>   '  pP          t  `   Pf           Ɏ 0  0   `          
>                                                                      
>
>   Y  P ȅ       @
>V        p@-   M M @              @  /  
>@  0  5    /      P          @            @  /  
>@  0  &      㬖 PP                 @  /  
>@  0         *     `        V   @                 @  /    @  0 
>        0  ?O  * 
>   0  #S 2     0  !S /  V  
>
>Thank you for your response Aleksandr,
>
>Aleksandar
>
>On Fri, Nov 11, 2011 at 4:26 PM, Alexander Potapenko 
><[email protected]> wrote:
>> Can you try:
>>
>> $ file `which valgrind`
>> and
>> $ head `which valgrind`
>> ?
>>
>> On Fri, Nov 11, 2011 at 7:21 PM, Александар Миленковић
>> <[email protected]> wrote:
>>> Unfortunately, the . is necessary for some reason.
>>>
>>> Here's a more complete log.
>>>
>>> # . /valgrind --leak-check=yes testapp
>>> .: Can't open /valgrind
>>> # ./valgrind --leak-check=yes testapp
>>> ./valgrind: not found
>>> # . valgrind --leak-check=yes testapp
>>> /system/bin/valgrind: 1: Syntax error: word unexpected 
>(expecting ")")
>>> # valgrind --leak-check=yes ./system/bin/testapp
>>> valgrind: not found
>>>
>>> Thanks for your time Phillipe.
>>>
>>> Aleksandar
>>>
>>> 
>---------------------------------------------------------------
>---------------
>>> RSA(R) Conference 2012
>>> Save $700 by Nov 18
>>> Register now
>>> http://p.sf.net/sfu/rsa-sfdev2dev1
>>> _______________________________________________
>>> Valgrind-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>>>
>>
>>
>>
>> --
>> Alexander Potapenko
>> Software Engineer
>> Google Moscow
>>
>---------------------------------------------------------------
>---------------
>RSA(R) Conference 2012
>Save $700 by Nov 18
>Register now
>http://p.sf.net/sfu/rsa-sfdev2dev1
>_______________________________________________
>Valgrind-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/valgrind-users
>

____
 
This message and any files transmitted with it are legally privileged and 
intended for the sole use of the individual(s) or entity to whom they are 
addressed. If you are not the intended recipient, please notify the sender by 
reply and delete the message and any attachments from your system. Any 
unauthorised use or disclosure of the content of this message is strictly 
prohibited and may be unlawful.
 
Nothing in this e-mail message amounts to a contractual or legal commitment on 
the part of EUROCONTROL, unless it is confirmed by appropriately signed hard 
copy.
 
Any views expressed in this message are those of the sender.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to