jvm-profiling-tools / perf-map-agent

A java agent to generate method mappings to use with the linux `perf` tool
GNU General Public License v2.0
1.65k stars 260 forks source link

make will not build perf-map-agent: fatal error: 'error.h' file not found #41

Closed base698 closed 7 years ago

base698 commented 8 years ago
$ make
[ 50%] Built target attach-main
[ 66%] Building C object CMakeFiles/perfmap.dir/src/c/perf-map-file.c.o
/Users/justinthomas/tools/perf-map-agent/src/c/perf-map-file.c:24:10: fatal error: 'error.h' file not found
#include <error.h>
         ^
1 error generated.
make[2]: *** [CMakeFiles/perfmap.dir/src/c/perf-map-file.c.o] Error 1
make[1]: *** [CMakeFiles/perfmap.dir/all] Error 2
make: *** [all] Error 2
jrudolph commented 8 years ago

Is this Linux? Not sure if he build has been tested with anything else.

base698 commented 8 years ago

Whoops, it was not, thanks for the help. It works fine in Linux :)

On Fri, Sep 2, 2016 at 5:55 AM, Johannes Rudolph notifications@github.com wrote:

Is this Linux? Not sure if he build has been tested with anything else.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jrudolph/perf-map-agent/issues/41#issuecomment-244367105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMqmif25tgTt8LvuVwXKMJk7bCrYLS8ks5qmBzSgaJpZM4Jy0JY .

jrudolph commented 7 years ago

Closing. #33 and #43 track and suggest a few things to make the agent build on better on OSX.