<?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 pst_processor compiler problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242532#M676672</link>
    <description>When I compile a program ,would like to get cpu usage ,compile &lt;BR /&gt;Referenced object 'psp_logical_id' is&lt;BR /&gt;    not a member of struct pst_processor&lt;BR /&gt;    ["/usr/include/sys/pstat/global_pstat_body.h", line 316].&lt;BR /&gt;                    cpu[i].id = (int)s_pst_processor.psp_logical_id;&lt;BR /&gt;                                                    &lt;BR /&gt;Error 187: "cpuusage3.cpp", line 123 # Referenced object 'psp_processor_state'&lt;BR /&gt;    is not a member of struct pst_processor&lt;BR /&gt;    ["/usr/include/sys/pstat/global_pstat_body.h", line 316].&lt;BR /&gt;                    cpu[i].online = s_pst_processor.psp_processor_state==P&lt;BR /&gt;&lt;BR /&gt;how to solved this problem&lt;BR /&gt;is any patch to install,&lt;BR /&gt;thanks</description>
    <pubDate>Sat, 05 Jun 2010 08:30:50 GMT</pubDate>
    <dc:creator>eric wang_2</dc:creator>
    <dc:date>2010-06-05T08:30:50Z</dc:date>
    <item>
      <title>pst_processor compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242532#M676672</link>
      <description>When I compile a program ,would like to get cpu usage ,compile &lt;BR /&gt;Referenced object 'psp_logical_id' is&lt;BR /&gt;    not a member of struct pst_processor&lt;BR /&gt;    ["/usr/include/sys/pstat/global_pstat_body.h", line 316].&lt;BR /&gt;                    cpu[i].id = (int)s_pst_processor.psp_logical_id;&lt;BR /&gt;                                                    &lt;BR /&gt;Error 187: "cpuusage3.cpp", line 123 # Referenced object 'psp_processor_state'&lt;BR /&gt;    is not a member of struct pst_processor&lt;BR /&gt;    ["/usr/include/sys/pstat/global_pstat_body.h", line 316].&lt;BR /&gt;                    cpu[i].online = s_pst_processor.psp_processor_state==P&lt;BR /&gt;&lt;BR /&gt;how to solved this problem&lt;BR /&gt;is any patch to install,&lt;BR /&gt;thanks</description>
      <pubDate>Sat, 05 Jun 2010 08:30:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242532#M676672</guid>
      <dc:creator>eric wang_2</dc:creator>
      <dc:date>2010-06-05T08:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: pst_processor compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242533#M676673</link>
      <description>What are the fields in struct pst_processor?  Is there some intermediate struct?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is any patch to install?&lt;BR /&gt;&lt;BR /&gt;Why should there be?  This is a user problem.</description>
      <pubDate>Sat, 05 Jun 2010 08:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242533#M676673</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-06-05T08:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: pst_processor compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242534#M676674</link>
      <description>hi Eric:&lt;BR /&gt;&lt;BR /&gt;I presume that this thread is really a continuation of your earlier one:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1432820" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1432820&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You really should have continued your discussion there or linked this thread to it when you opened it.&lt;BR /&gt;&lt;BR /&gt;That said, I previously pointed you to not only the 'pstat(2)' manpages but also suggested you look at the various 'pstat()' header files that exist:&lt;BR /&gt;&lt;BR /&gt;# 'ls -l /usr/include/sys/pstat*&lt;BR /&gt;&lt;BR /&gt;Note the "*" in the above.  It exposes more than just 'pstat.h'.  The manpages note that the various structures, and identifiers are found in  &lt;SYS&gt; and &lt;SYS&gt;.&lt;BR /&gt;&lt;BR /&gt;Have you confirmed that you correctly included all of the necessary header files?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Sat, 05 Jun 2010 16:51:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242534#M676674</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-06-05T16:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: pst_processor compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242535#M676675</link>
      <description>I have solved my problem by add define &lt;BR /&gt;thanks</description>
      <pubDate>Sun, 06 Jun 2010 05:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242535#M676675</guid>
      <dc:creator>eric wang_2</dc:creator>
      <dc:date>2010-06-06T05:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: pst_processor compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242536#M676676</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I have solved my problem by add define&lt;BR /&gt;thanks&lt;BR /&gt;&lt;BR /&gt;It would still be appropriate for you to assign points to your threads for the suggestions you received.  Please see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/pageList.do?userId=WW161729&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/pageList.do?userId=WW161729&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 06 Jun 2010 11:06:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242536#M676676</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-06-06T11:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: pst_processor compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242537#M676677</link>
      <description>&amp;gt;I have solved my problem by add define&lt;BR /&gt;&lt;BR /&gt;Which define was that?  Other than -D_PSTAT64 or some of the namespace macros, you shouldn't need some defines.</description>
      <pubDate>Sun, 06 Jun 2010 17:42:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242537#M676677</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-06-06T17:42:58Z</dc:date>
    </item>
    <item>
      <title>Re: pst_processor compiler problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242538#M676678</link>
      <description>You must be on 11.11 and you would need to use -D_ICOD_BASE_INFO to get to that field.</description>
      <pubDate>Tue, 08 Jun 2010 20:25:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pst-processor-compiler-problem/m-p/5242538#M676678</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-06-08T20:25:28Z</dc:date>
    </item>
  </channel>
</rss>

