Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
1724 Discussions

Error building Intel Performance Counter Monitor kext on OSX 10.9

Jorge_G_
Beginner
476 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
476 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.

0 Kudos
Jorge_G_
Beginner
476 Views

It works. Thanks.

 

0 Kudos
Reply