valgrind


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu valgrind
# 1  
Old 01-06-2011
valgrind

Hello,
I want to install and run a tool called Daikon on my Ubuntu(latest version)
While compiling I got this error-------->

Code:
checking the GLIBC_VERSION version... unsupported version
configure: error: Valgrind requires glibc version 2.2 - 2.11
make[1]: *** [kvasir] Error 1
make[1]: Leaving directory `/home/parama/Desktop/daikonparent/daikon'
make: *** [all] Error 2


So, I changed the Valgrind to the latest version after which it compiled.
But the latest version of Valgrind does not have a tool called 'fjalar'---------->valgrind: failed to start tool 'fjalar' for platform 'x86-linux': No such file or directory
Now I need this fjalar for my project.

For this I think I need to downgrade my glibc version :
ie get 2.2 - 2.11. My current version is
version 2.12.1 How do I downgrade it? Please help!!SmilieSmilieSmilieSmilie

am new to all this!! SmilieSmilieSmilie

Last edited by radoulov; 01-06-2011 at 06:51 AM.. Reason: Code tags, please!
# 2  
Old 01-06-2011
# 3  
Old 01-07-2011
Hi..
I have downloaded it... But daikon has to compile with this.. I can't tweak the script.. The valgrind I have does not have fjalar..

---------- Post updated at 10:00 AM ---------- Previous update was at 09:54 AM ----------

when I run an example am getting this:
parama@ubuntu:~/Desktop/daikon/examples/c-examples/wordplay$ kvasir-dtrace ./wordplay -f words.txt ’daikon dynamic invariant detector’
valgrind: failed to start tool 'fjalar' for platform 'x86-linux': No such file or directory
# 4  
Old 01-07-2011
Yes, you have to download and build fjalar and configure things so valgrind finds it. The error messages read like it is an executatble, not in PATH for execvp(), but it might be a library call (which demands a compatible linkage) or similar dynamic file search. I am not into valgrind, but I have installed a lot of open source and chased its dependencies.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using Valgrind with already running process

I have a process(c program) which runs as daemon and is causing memory leak. Is there any way to detect memory leak in this already running process? Just like we attach gdb to a live process to debug it, can I use valgrind to detect memory leak in such live process? When I tried using valgrind... (3 Replies)
Discussion started by: rupeshkp728
3 Replies

2. Programming

Valgrind Error : Conditional jump or move depends on uninitialised value(s)

Hi Friends, I am using valgrind, to check errors, there are no errors in my code but this the output put i get, i need to suppress these errors, please help me do so... Conditional jump or move depends on uninitialised value(s) ==2350== at 0x400AF0F: (within /lib/ld-2.11.1.so)... (0 Replies)
Discussion started by: niranjanvg
0 Replies

3. Programming

Valgrind error

I get this Valgrind error while using malloc but if I use calloc then there is no error. I allocate 8 bytes for the string inside sprintf, 12 for the ip and 1 for the string terminator. This totals 21, so why is it talking about 20 bytes and 18 bytes ? Partial code: char ip =... (3 Replies)
Discussion started by: cyler
3 Replies

4. AIX

valgrind - pthread memory leaks on AIX

Hi all, I have written a small code just to invoke main and return immediately. When built with libpthread on AIX box, valgrind throws lots of memory leak errors. But when built without libpthread, no issues at all. Here is the sample run for your look. Any idea where I might be going wrong?... (3 Replies)
Discussion started by: visionofarun
3 Replies

5. UNIX for Dummies Questions & Answers

valgrind Conditional jump or move depends on uninitialised value(s)

Hi, I know similar questions appeared here already, still i didnt find answer to my problem yet. Im getting the following message from valgrind (version 2): ==15414== 1 errors in context 1 of 6: ==15414== Conditional jump or move depends on uninitialised value(s) ==15414== at... (2 Replies)
Discussion started by: evasz
2 Replies

6. Programming

valgrind (Conditional jump or move depends on uninitialised value(s))

Hi everybody, I wrote a small subroutine 'GetStringDelim()' to return a substring from a string enclosed by a string 'Limit1' and a char 'Limit2'. It works perfectly and I don't get an error message together with valgrind, if I set the 3rd parameter in GetStringDelim() to NULL (see below). ... (3 Replies)
Discussion started by: MIB_Maik
3 Replies

7. AIX

Can Valgrind work well on AIX?

As Valgrind announced, 3.3.0 and 3.3.1 version can support AIX 5.3. But I met a block issue when I used Valgrind on AIX After installing Valgrind3.3.1 successfully on AIX5.3, I typed the following command of Valgrind: valgrind -d --tool=memcheck ls Then, the following result from Valgrind is... (0 Replies)
Discussion started by: adasong
0 Replies
Login or Register to Ask a Question