Thread: Valgrind compiling

  1. #1
    Registered User Fauveboy's Avatar
    Join Date
    Apr 2014
    Posts
    42

    Valgrind compiling

    I've started learning c from here Exercise 4: Introducing Valgrind following the instructions Im in the valgrind directory and when It explains to use the command make the terminal line says 'make: *** No targets specified and no makefile found. Stop.' I still haven't solved this yet and wondered if other people have ever experienced this? What can I do?

    Thank you very much for reading

    Joel

  2. #2
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,909
    No, never experienced it. Of course, like most sane people, I don't build stuff by hand unnecessarily. I let the lovely package managers (yum, apt, etc) handle that for me. One simple command and I have all I need. I see no need to slow down/stall your C learning by telling you to get familiar with autoconf (just one of the many things I don't care for in Mr. Shaw's method of teaching -- though he does call it "the hard way").

    As for your actual problem, it might help if you copy-pasted terminal output so we could see what you actually did. Maybe you simply missed a step. Also, this is not, strictly speaking, a C question, so in the future, such questions might be better suited for the Tech board or Linux sub-forums.

  3. #3
    Registered User
    Join Date
    Nov 2012
    Posts
    1,393
    'make: *** No targets specified and no makefile found. Stop.'
    For many Linux source packages you have to run ./configure first (this is what generates the Makefile). Go to the page you liked above and read the steps again carefully, it mentions configure as well.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using Valgrind
    By peripatein in forum C Programming
    Replies: 10
    Last Post: 05-24-2013, 03:48 PM
  2. Valgrind
    By anirban in forum C Programming
    Replies: 2
    Last Post: 10-26-2010, 10:07 PM
  3. How Far Should You Go To Use Valgrind?
    By jeffcobb in forum C++ Programming
    Replies: 36
    Last Post: 02-25-2010, 05:02 PM
  4. troubles compiling valgrind with ulibc
    By cerr in forum Linux Programming
    Replies: 1
    Last Post: 01-19-2010, 01:24 PM
  5. Is valgrind always right?
    By g4j31a5 in forum Linux Programming
    Replies: 3
    Last Post: 07-16-2007, 10:39 PM