Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
1605 Discussions

Error building Intel Performance Counter Monitor kext on OSX 10.9

Jorge_G_
Beginner
132 Views

Hello. I have a problem building the pcm kext. I am using OSX 10.9. 

In file included from /PCM2.7_PATH/MacMSRDriver/PcmMsr/PcmMsrClient.cpp:15: 

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Kernel.framework/Headers/IOKit/IOLib.h:327:6: error: 

conflicting types for 'Debugger' 

void Debugger(const char * reason); 

I´ll appreciate your help. 

Regards,

Jorge

0 Kudos
2 Replies
Patrick_K_Intel
Employee
132 Views

You can try removing /usr/include from the "Header Search Path" in Xcode. If you're building on OX 10.9 you'll likely also want to change the SDK to 10.9.

Jorge_G_
Beginner
132 Views

It works. Thanks.

 

Reply