<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem Undefined Reference after running Program with IntelPCM in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Problem-Undefined-Reference-after-running-Program-with-IntelPCM/m-p/1129925#M6377</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have a problem after running my program. i found error after compiling&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;g++ -std=c++11 -Wall -fopenmp main.cpp -o main -D WITH_COUNTER -I C:\IntelPCM\pcm-master\x64\Release -L C:\IntelPCM\pcm-master -L C:\IntelPCM\pcmlib.so&lt;/P&gt;

&lt;P&gt;The error listed below :&lt;/P&gt;

&lt;P&gt;C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0x97b): undefined reference to `PCM::getInstance()'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0x991): undefined reference to `PCM::resetPMU()'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0xa32): undefined reference to `PCM::program(PCM::ProgramMode, void const*)'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0xa8d): undefined reference to `PCM::resetPMU()'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0xafa): undefined reference to `PCM::getUArchCodename(int) const'&lt;BR /&gt;
	&lt;BR /&gt;
	collect2.exe: error: ld returned 1 exit status&lt;/P&gt;

&lt;P&gt;I use Intel PCM running on Windows with gcc compiler.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Sep 2018 02:34:33 GMT</pubDate>
    <dc:creator>Khairil__Dwi</dc:creator>
    <dc:date>2018-09-17T02:34:33Z</dc:date>
    <item>
      <title>Problem Undefined Reference after running Program with IntelPCM</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Problem-Undefined-Reference-after-running-Program-with-IntelPCM/m-p/1129925#M6377</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I have a problem after running my program. i found error after compiling&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;g++ -std=c++11 -Wall -fopenmp main.cpp -o main -D WITH_COUNTER -I C:\IntelPCM\pcm-master\x64\Release -L C:\IntelPCM\pcm-master -L C:\IntelPCM\pcmlib.so&lt;/P&gt;

&lt;P&gt;The error listed below :&lt;/P&gt;

&lt;P&gt;C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0x97b): undefined reference to `PCM::getInstance()'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0x991): undefined reference to `PCM::resetPMU()'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0xa32): undefined reference to `PCM::program(PCM::ProgramMode, void const*)'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0xa8d): undefined reference to `PCM::resetPMU()'&lt;BR /&gt;
	C:\Users\KhairiL\AppData\Local\Temp\ccOTct74.o:main.cpp:(.text+0xafa): undefined reference to `PCM::getUArchCodename(int) const'&lt;BR /&gt;
	&lt;BR /&gt;
	collect2.exe: error: ld returned 1 exit status&lt;/P&gt;

&lt;P&gt;I use Intel PCM running on Windows with gcc compiler.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Sep 2018 02:34:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Problem-Undefined-Reference-after-running-Program-with-IntelPCM/m-p/1129925#M6377</guid>
      <dc:creator>Khairil__Dwi</dc:creator>
      <dc:date>2018-09-17T02:34:33Z</dc:date>
    </item>
    <item>
      <title>Hm... "Windows with gcc</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Problem-Undefined-Reference-after-running-Program-with-IntelPCM/m-p/1129926#M6378</link>
      <description>&lt;P&gt;Hm... "&lt;SPAN style="font-size: 12px;"&gt;Windows with gcc compiler&lt;/SPAN&gt;": this combination has never been tested (not sure we can support it, you will &lt;SPAN style="font-size: 13.008px;"&gt;definitely will run into other issues because in PCM source code Windows platform is identified by Microsoft Visual C++ compiler defines).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Roman&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 06:45:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Problem-Undefined-Reference-after-running-Program-with-IntelPCM/m-p/1129926#M6378</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2018-09-18T06:45:14Z</dc:date>
    </item>
    <item>
      <title>Hi Roman,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Problem-Undefined-Reference-after-running-Program-with-IntelPCM/m-p/1129927#M6379</link>
      <description>&lt;P&gt;Hi Roman,&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Hm.., but can you explaine to me, how to solve this undefined reference problem?&lt;/P&gt;

&lt;P&gt;Khairil&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 12:48:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Problem-Undefined-Reference-after-running-Program-with-IntelPCM/m-p/1129927#M6379</guid>
      <dc:creator>Khairil__Dwi</dc:creator>
      <dc:date>2018-09-18T12:48:47Z</dc:date>
    </item>
  </channel>
</rss>

