Thursday, April 25, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 5021  / 1 Year ago, mon, april 17, 2023, 9:49:16

I was reading Learn C the Hard Way when I stumbled upon and followed the instructions for installing Valgrind, the C debugger. However, when I ran ./configure to setup build configurations, I got



checking for the kernel version... unsupported (3.0.0-17-generic)
configure: error: Valgrind works on kernels 2.4, 2.6


I am running Ubuntu 11.10, on the kernel Linux 3.0.0-17-generic x86_64.



The answer may be obvious but I'm not acquainted with Linux: How do I get Valgrind working on my computer? Thanks.


More From » 11.10

 Answers
3

Valgrind is installable from repository(tested on 12.04 running kernel 3.2.x). sudo apt-get install valgrind. Also available in 11.10 according to this.



Just an additional note, it's not a debugger. It's a memory fault detector.


[#39438] Tuesday, April 18, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bathtusain

Total Points: 380
Total Questions: 124
Total Answers: 111

Location: Trinidad and Tobago
Member since Sat, Apr 9, 2022
2 Years ago
;