LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   compiling oprofile error (https://www.linuxquestions.org/questions/linux-software-2/compiling-oprofile-error-4175425913/)

DKSL 09-06-2012 04:38 AM

compiling oprofile error
 
When trying to compile oprofile 0.9.8 I get this error how to fix this,

operf_utils.cpp: In function ‘void __handle_sample_event(event_t*, u64)’:
operf_utils.cpp:735: error: ‘PERF_RECORD_MISC_GUEST_KERNEL’ was not declared in this scope
operf_utils.cpp:738: error: ‘PERF_RECORD_MISC_GUEST_USER’ was not declared in this scope
make[1]: *** [operf_utils.o] Error 1

./configure --with-kernel-support works ok this happens in make install

brianL 09-06-2012 07:12 AM

If we knew which distro you were using, you might get more help. Such as the possibility of there being a ready made package.


All times are GMT -5. The time now is 08:37 AM.