Anyone tried to compile the perf tool on DigiEL 5.7 environment?
I tried following from directory /usr/local/DigiEL-5.7/kernel/linux-2.6.35/tools/perf$ , but getting errors:
The error is:
Makefile:512: No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev
Makefile:548: *** No libelf.h/libelf found, please install libelf-dev/elfutils-libelf-devel and glibc-dev[el]. Stop.
I can see that libelf.h/libelf are present in the following path:
even if i give sysroot path in the make command getting the same error.