<?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: dce 1.8 TxSeries 5.0 application build in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952085#M720117</link>
    <description>Well I know who the likely customer is so I have an interest getting this resolved. Unfortuantly DCE Programming is not my strong suit so could you help by giving me some more details ....&lt;BR /&gt;&lt;BR /&gt;A core file is produced .... so "file core" produces what exactly ?&lt;BR /&gt;&lt;BR /&gt;Have you tried passing this through say gdb to generate a stack trace at all ?&lt;BR /&gt;&lt;BR /&gt;I've seen the following : &lt;BR /&gt;&lt;BR /&gt;The way to compile a libcma pthread program for HPUX 11.0 is to use the&lt;BR /&gt;following syntax:&lt;BR /&gt;Uder HPUX 11.0 compile using :&lt;BR /&gt;     cc -Aa -D_REENTRANT -D_HPUX_SOURCE -D_PTHREADS_DRAFT4 source.c -lcma&lt;BR /&gt;&lt;BR /&gt;Under HPUX 10.20 compile using:&lt;BR /&gt;     "cc -Aa -D_REENTRANT -D_HPUX source.c -lcma&lt;BR /&gt;&lt;BR /&gt;The reason you need D_PTHREADS_DRAFT4 under HPUX 11 is that the normal default&lt;BR /&gt;compile/run&lt;BR /&gt;time is for kernel threads..This compile option insures you are really using&lt;BR /&gt;libcma instead of kernel threads.&lt;BR /&gt;(It is possible to compile and then have strange run time results if you omitt&lt;BR /&gt;this option).&lt;BR /&gt;&lt;BR /&gt;Not to sure if this is still relevant ie default at 11.11 so have asked a Programming colleague to take a look at this when he gets time ..... the above earlier requested outputs therefore would be some use &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 16 Apr 2003 07:35:44 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2003-04-16T07:35:44Z</dc:date>
    <item>
      <title>dce 1.8 TxSeries 5.0 application build</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952084#M720116</link>
      <description>hi,&lt;BR /&gt;I am trying to build a sample DCE/TxSeries application on hpux11.11&lt;BR /&gt;&lt;BR /&gt;uname -mrsv&lt;BR /&gt;HP-UX B.11.11 U 9000/800&lt;BR /&gt;&lt;BR /&gt;DCE 1.8 and TxSeries/Encina 5.0 are installed. I wrote a sample program, compiled and try to start. Its core dumping. I tried out many machine options.&lt;BR /&gt;&lt;BR /&gt;my makefile reads like this...&lt;BR /&gt;&lt;BR /&gt;COMPILE_DEFS= -D_REENTRANT -D_POSIX_C_SOURCE=199506L -D_POSIX_D10_THREADS -Dunix -Dhpux -Dhp9000s800 +DD32&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;LDFLAGS = -z -Wl,-Bimmediate,-Bnonfatal,+s +z -lEncMonServ -lEncServer -lEncClient -lEncina -ldcekt -lpthread -lc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have gone through DCE samples as well as Encina and used them in the makefile, but no use. When starting the server, it coredumps in the pthread init part.&lt;BR /&gt;&lt;BR /&gt;Can anyone please guide me in giving the correct machine definitions, pthread/kernel reentrant libraries.&lt;BR /&gt;&lt;BR /&gt;thanks in advance,&lt;BR /&gt;Umapathy&lt;BR /&gt;&lt;BR /&gt;ps: I have cross posted this in general section also.</description>
      <pubDate>Tue, 15 Apr 2003 20:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952084#M720116</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-04-15T20:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: dce 1.8 TxSeries 5.0 application build</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952085#M720117</link>
      <description>Well I know who the likely customer is so I have an interest getting this resolved. Unfortuantly DCE Programming is not my strong suit so could you help by giving me some more details ....&lt;BR /&gt;&lt;BR /&gt;A core file is produced .... so "file core" produces what exactly ?&lt;BR /&gt;&lt;BR /&gt;Have you tried passing this through say gdb to generate a stack trace at all ?&lt;BR /&gt;&lt;BR /&gt;I've seen the following : &lt;BR /&gt;&lt;BR /&gt;The way to compile a libcma pthread program for HPUX 11.0 is to use the&lt;BR /&gt;following syntax:&lt;BR /&gt;Uder HPUX 11.0 compile using :&lt;BR /&gt;     cc -Aa -D_REENTRANT -D_HPUX_SOURCE -D_PTHREADS_DRAFT4 source.c -lcma&lt;BR /&gt;&lt;BR /&gt;Under HPUX 10.20 compile using:&lt;BR /&gt;     "cc -Aa -D_REENTRANT -D_HPUX source.c -lcma&lt;BR /&gt;&lt;BR /&gt;The reason you need D_PTHREADS_DRAFT4 under HPUX 11 is that the normal default&lt;BR /&gt;compile/run&lt;BR /&gt;time is for kernel threads..This compile option insures you are really using&lt;BR /&gt;libcma instead of kernel threads.&lt;BR /&gt;(It is possible to compile and then have strange run time results if you omitt&lt;BR /&gt;this option).&lt;BR /&gt;&lt;BR /&gt;Not to sure if this is still relevant ie default at 11.11 so have asked a Programming colleague to take a look at this when he gets time ..... the above earlier requested outputs therefore would be some use &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 07:35:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952085#M720117</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-04-16T07:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: dce 1.8 TxSeries 5.0 application build</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952086#M720118</link>
      <description>Andy Bennett my Programming colleague seems to think at least initially the MAKE file and associated flags look OK so the gdb stack trace &amp;amp; file core would be handy .....</description>
      <pubDate>Wed, 16 Apr 2003 08:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952086#M720118</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2003-04-16T08:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: dce 1.8 TxSeries 5.0 application build</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952087#M720119</link>
      <description>hi Alex,&lt;BR /&gt;   Thanks for the response.  Well I was trying out different combinations, the stacktrace is &lt;BR /&gt;&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc0064060 in _lwp_kill () from /usr/lib/libpthread.1&lt;BR /&gt;#1  0xc005c278 in __vp_kill () from /usr/lib/libpthread.1&lt;BR /&gt;#2  0xc005f1cc in pthread_kill () from /usr/lib/libpthread.1&lt;BR /&gt;#3  0xc474f918 in bde_thread_GenCore () from /usr/lib/libEncina.sl&lt;BR /&gt;#4  0xc4726894 in bde_FailFast () from /usr/lib/libEncina.sl&lt;BR /&gt;#5  0xc475bef0 in trace_Fatal () from /usr/lib/libEncina.sl&lt;BR /&gt;#6  0xc4eece44 in monUtil_FatalError () from /usr/lib/libEncMonServ.sl&lt;BR /&gt;#7  0xc4e43960 in CleanupCdsEntries () from /usr/lib/libEncMonServ.sl&lt;BR /&gt;#8  0xc474c884 in BaseStartFunc () from /usr/lib/libEncina.sl&lt;BR /&gt;#9  0xc005acc0 in __pthread_body () from /usr/lib/libpthread.1&lt;BR /&gt;#10 0xc0063d04 in __pthread_start () from /usr/lib/libpthread.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I felt there is an error/missing definition for the pthreads compliance.  I was going through the white paper for 'porting DCE threads programs to hpux 11.0 POSIX Threads'.&lt;BR /&gt;&lt;BR /&gt;They say the 'Concert Multi Thread Architecture' (CMA) libcma is no longer needed in hpux11i and instead of we can use the kernel threads (libpthread) itself with libdcekt.&lt;BR /&gt;&lt;BR /&gt;I was trying out exactly the same thing, but got confused in finding the correct definition -D_POSIX_D10_THREADS or -D_PTHREADS_DRAFT_4.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Umapathy&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Apr 2003 08:18:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952087#M720119</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-04-16T08:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: dce 1.8 TxSeries 5.0 application build</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952088#M720120</link>
      <description>Alex,&lt;BR /&gt;output of file core&lt;BR /&gt;core:           core file from 'samp_server_t'&lt;BR /&gt;&lt;BR /&gt;The gdb lists at the start&lt;BR /&gt;&lt;BR /&gt;warning: core file may not match specified executable file.&lt;BR /&gt;Core was generated by `samp_server_t'.&lt;BR /&gt;Program terminated with signal 6, Aborted.&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Umapathy</description>
      <pubDate>Wed, 16 Apr 2003 08:42:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dce-1-8-txseries-5-0-application-build/m-p/2952088#M720120</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-04-16T08:42:50Z</dc:date>
    </item>
  </channel>
</rss>

