<?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 Re: libpthread.1 + HPUX 11.11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048259#M434366</link>
    <description>pthread_create doesn't exist in libpthread.1 on 11.11.  It is only there on 11.23.&lt;BR /&gt;&lt;BR /&gt;When you use &lt;PTHREAD.H&gt; it creates a pthread_create stub that calls the real function __pthread_create_system.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;So I am getting the unresolved symbol pthread_create in the application.&lt;BR /&gt;&lt;BR /&gt;If you get an unsat, it means you have illegally called pthread_create without the proper header file, &lt;PTHREAD.H&gt;.&lt;/PTHREAD.H&gt;&lt;/PTHREAD.H&gt;</description>
    <pubDate>Mon, 21 May 2007 23:49:47 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-05-21T23:49:47Z</dc:date>
    <item>
      <title>libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048258#M434365</link>
      <description>Hi , &lt;BR /&gt;My application and third parties like boost uses libpthread to create threads. &lt;BR /&gt;&lt;BR /&gt;I had applied latest available patches for pthread . &lt;BR /&gt;&lt;BR /&gt;I am not able to find the symbol pthread_create in libpthread.1 . So I am getting the unresolved symbol pthread_create in the application.&lt;BR /&gt;&lt;BR /&gt;Can anyone please point me out from where I can get the libpthread.1 for 11.11 which contains these symbols ?&lt;BR /&gt;&lt;BR /&gt;bash-2.04# what libpthread.1 &lt;BR /&gt;libpthread.1:&lt;BR /&gt;         specific.c $Date: 2004/03/03 03:30:19 $Revision: r11.11/1 PATCH_11.11 (PHCO_30544)&lt;BR /&gt;         pthread.c $Date: 2007/03/30 02:03:32 $Revision: r11.11/4 PATCH_11.11 (PHCO_36229)&lt;BR /&gt;         stack.c $Date: 2007/03/30 02:03:40 $Revision: r11.11/1 PATCH_11.11 (PHCO_36229)&lt;BR /&gt;         cancel.c $Date: 2007/04/16 03:37:13 $Revision: r11.11/4 PATCH_11.11 (PHCO_36229)&lt;BR /&gt;         pthread_attr.c $Date: 2007/03/30 02:03:36 $Revision: r11.11/1 PATCH_11.11 (PHCO_36229)&lt;BR /&gt;        Pthread Interfaces &lt;BR /&gt;         $Revision: libpthread.1:    R11.11_BL2007_0420_1 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bash-2.04# nm libpthread.1 | grep pthread_create&lt;BR /&gt;__pthread_create_system|     35316|uext  |stub   |&lt;BR /&gt;__pthread_create_system|     48508|extern|entry  |&lt;BR /&gt;__pthread_create_system|     48532|extern|code   |$CODE$&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Pramod&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 May 2007 23:37:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048258#M434365</guid>
      <dc:creator>pramodsharma</dc:creator>
      <dc:date>2007-05-21T23:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048259#M434366</link>
      <description>pthread_create doesn't exist in libpthread.1 on 11.11.  It is only there on 11.23.&lt;BR /&gt;&lt;BR /&gt;When you use &lt;PTHREAD.H&gt; it creates a pthread_create stub that calls the real function __pthread_create_system.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;So I am getting the unresolved symbol pthread_create in the application.&lt;BR /&gt;&lt;BR /&gt;If you get an unsat, it means you have illegally called pthread_create without the proper header file, &lt;PTHREAD.H&gt;.&lt;/PTHREAD.H&gt;&lt;/PTHREAD.H&gt;</description>
      <pubDate>Mon, 21 May 2007 23:49:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048259#M434366</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-21T23:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048260#M434367</link>
      <description>Thanks Dennis for the quick response. &lt;BR /&gt;I understand the problem at least . I didn't use illegaly , in fact I was developing in 11.23 and then running the same binary on 11.11 . So it comes from there .&lt;BR /&gt;&lt;BR /&gt;Can I use some compiler flag or something while developing it on 11.23 that it becomes compatible with 11.11 ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pramod</description>
      <pubDate>Mon, 21 May 2007 23:58:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048260#M434367</guid>
      <dc:creator>pramodsharma</dc:creator>
      <dc:date>2007-05-21T23:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048261#M434368</link>
      <description>&amp;gt;Can I use some compiler flag or something while developing it on 11.23 that it becomes compatible with 11.11?&lt;BR /&gt;&lt;BR /&gt;No, HP-UX is only forward compatible and your header files are completely different.&lt;BR /&gt;&lt;BR /&gt;The only other solution is to set up a SDK:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2548,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2548,00.html&lt;/A&gt;</description>
      <pubDate>Tue, 22 May 2007 00:23:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048261#M434368</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-22T00:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048262#M434369</link>
      <description>Got it .. PTHREAD_COMPAT_MODE.&lt;BR /&gt;Thanks Dennis it was much of help .</description>
      <pubDate>Tue, 22 May 2007 00:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048262#M434369</guid>
      <dc:creator>pramodsharma</dc:creator>
      <dc:date>2007-05-22T00:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048263#M434370</link>
      <description>&amp;gt;PTHREAD_COMPAT_MODE.&lt;BR /&gt;&lt;BR /&gt;This will not let you compile on 11.23 and move back to 11.11.  It may remove that pthread_create unsat though.</description>
      <pubDate>Tue, 22 May 2007 00:29:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048263#M434370</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-22T00:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048264#M434371</link>
      <description>No it does. I just tested it .&lt;BR /&gt;Compile a code with PTHREAD_COMPAT_MODE on 11.23 and then was able to run on both 11.23 and 11.11&lt;BR /&gt;&lt;BR /&gt;sh-2.04# nm testthread | grep pthread&lt;BR /&gt;__pthread_create_system|          |undef |code   |&lt;BR /&gt;__pthread_create_system|     12240|uext  |stub   |&lt;BR /&gt;pthread_create      |     12216|extern|entry  |&lt;BR /&gt;pthread_create      |     12264|extern|code   |$CODE$</description>
      <pubDate>Tue, 22 May 2007 00:44:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048264#M434371</guid>
      <dc:creator>pramodsharma</dc:creator>
      <dc:date>2007-05-22T00:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048265#M434372</link>
      <description>&amp;gt;No it does. I just tested it .&lt;BR /&gt;Compile a code with PTHREAD_COMPAT_MODE on 11.23 and then was able to run on both 11.23 and 11.11&lt;BR /&gt;&lt;BR /&gt;Let me make this very clear.  This is NOT supported!&lt;BR /&gt;&lt;BR /&gt;If your 11.23 system headers just happen to make use of 11.23 kernel functionality, this will NOT work on 11.11.</description>
      <pubDate>Tue, 22 May 2007 01:20:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048265#M434372</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-05-22T01:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048266#M434373</link>
      <description>Yes I understand the implications. Will forward this to management.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 May 2007 01:48:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048266#M434373</guid>
      <dc:creator>pramodsharma</dc:creator>
      <dc:date>2007-05-22T01:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: libpthread.1 + HPUX 11.11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048267#M434374</link>
      <description>Thanks</description>
      <pubDate>Tue, 22 May 2007 01:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libpthread-1-hpux-11-11/m-p/5048267#M434374</guid>
      <dc:creator>pramodsharma</dc:creator>
      <dc:date>2007-05-22T01:49:45Z</dc:date>
    </item>
  </channel>
</rss>

