Bug 377550 - No rule to make target
Summary: No rule to make target
Status: RESOLVED DUPLICATE of bug 374685
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.12.0
Platform: Other macOS
: NOR major
Target Milestone: ---
Assignee: Rhys Kidd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-13 03:43 UTC by terryeather
Modified: 2017-04-01 22:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description terryeather 2017-03-13 03:43:48 UTC
Installing on Mac OS 10.12.3
./configure ran ok
make stops with error:
Making all in coregrind
make[2]: *** No rule to make target `/usr/include/mach/mach_vm.defs', needed by `m_mach/mach_vmUser.c'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Comment 1 Rhys Kidd 2017-03-16 05:06:10 UTC
Looks very similar to the report in bz#295084 (https://bugs.kde.org/show_bug.cgi?id=295084)

Can you please confirm that you have the latest Xcode Command Line Tools installed? It is incremental on top of the basic Xcode package installed.

Can be (re)-installed via:

$ xcode-select --install
Comment 2 terryeather 2017-03-16 10:22:45 UTC
MacBook Pro (Retina, 13-inch, Late 2013) Mac OS 10.12.3 (16D32)
Installing Valgrind 3.12.0 from a tar.bz2 distribution.
Xcode 8.2.1 (8C1002).
I mistakenly believed the command line tools were now included in Xcode. Sorry.
Performed:
[terry] $ xcode-select —install
[valgrind-3.12.0] $ make clean
[valgrind-3.12.0] $ ./configure
[valgrind-3.12.0] $ make -> error
[valgrind-3.12.0] $ make install -> same error, of course

make gave an error, but a different one this time:

Undefined symbols for architecture x86_64:
  "___bzero", referenced from:
      _hijack_thread_state in libcoregrind-amd64-darwin.a(libcoregrind_amd64_darwin_a-syswrap-amd64-darwin.o)
      _RRegUniverse__init in libvex-amd64-darwin.a(libvex_amd64_darwin_a-host_generic_regs.o)
ld: symbol(s) not found for architecture x86_64
make[3]: *** [memcheck-amd64-darwin] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Many thanks for your efforts.
Not a professional, just trying to learn valgrind for Zed Shaw’s book
Learn C The Hard Way.


Terry Eather


> On 16 Mar 2017, at 3:06 pm, Rhys Kidd <bugzilla_noreply@kde.org> wrote:
> 
> https://bugs.kde.org/show_bug.cgi?id=377550
> 
> Rhys Kidd <rhyskidd@gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>         Resolution|---                         |FIXED
>           Assignee|jseward@acm.org             |rhyskidd@gmail.com
>             Status|UNCONFIRMED                 |NEEDSINFO
>                 CC|                            |rhyskidd@gmail.com
> 
> --- Comment #1 from Rhys Kidd <rhyskidd@gmail.com> ---
> Looks very similar to the report in bz#295084
> (https://bugs.kde.org/show_bug.cgi?id=295084)
> 
> Can you please confirm that you have the latest Xcode Command Line Tools
> installed? It is incremental on top of the basic Xcode package installed.
> 
> Can be (re)-installed via:
> 
> $ xcode-select --install
> 
> -- 
> You are receiving this mail because:
> You reported the bug.
Comment 3 Rhys Kidd 2017-04-01 22:27:13 UTC
Hello Terry,

This is a known bug in Valgrind 3.12 that was fixed in our latest development version.

To get hold of this code, you can use the instructions found at http://valgrind.org/downloads/repository.html

See further:
- https://bugs.kde.org/show_bug.cgi?id=374685#c2

*** This bug has been marked as a duplicate of bug 374685 ***