<?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 when using Pro*C from C or C++!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030940#M742501</link>
    <description>We are trying to compile our code in 64 BIT IA using aCC version 6.10. The code compiles fine. But when a C/C++ program calls a Pro *C program, it goves the following Error. Can somebody help? I am not sure which option we should use to compile the Pro *C program?&lt;BR /&gt;&lt;BR /&gt;Core was generated by `CCDBGenSvr'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;SEGV_MAPERR - Address not mapped to object&lt;BR /&gt;&lt;BR /&gt;warning: Load module /mnt/ims/oracle/product/10.2.0/client/lib/libclntsh.so.10.1 has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /mnt/ims/oracle/product/10.2.0/client/lib/libnnz10.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;#0  0xc00000000031c520:0 in T_19_462b_cl___doprnt_main+0x8620 ()&lt;BR /&gt;   from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc00000000031c520:0 in T_19_462b_cl___doprnt_main+0x8620 ()&lt;BR /&gt;   from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#1  0xc00000000030bbd0:0 in _doprnt+0x30 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#2  0xc0000000003316c0:0 in vsprintf+0xa0 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#3  0xc0000000050f85e0:0 in userlog () at tmulog.c:51&lt;BR /&gt;#4  0x40000000000052e0:0 in hatpReadErrorCodes ()&lt;BR /&gt;    at /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/reconora.c:509&lt;BR /&gt;#5  0x4000000000002840:0 in tpsvrinit ()&lt;BR /&gt;    at /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/CCDBGenInit.c:377&lt;BR /&gt;#6  0xc00000000511fb60:0 in _tmmain () at stdmain.c:222&lt;BR /&gt;#7  0xc0000000050f8270:0 in _tmstartserver () at tmstrtsrvr.c:128&lt;BR /&gt;#8  0x4000000000002210:0 in main () at BS-1a3b.c:76&lt;BR /&gt;</description>
    <pubDate>Mon, 02 Jul 2007 19:19:38 GMT</pubDate>
    <dc:creator>Giri Shankar</dc:creator>
    <dc:date>2007-07-02T19:19:38Z</dc:date>
    <item>
      <title>Problem when using Pro*C from C or C++!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030940#M742501</link>
      <description>We are trying to compile our code in 64 BIT IA using aCC version 6.10. The code compiles fine. But when a C/C++ program calls a Pro *C program, it goves the following Error. Can somebody help? I am not sure which option we should use to compile the Pro *C program?&lt;BR /&gt;&lt;BR /&gt;Core was generated by `CCDBGenSvr'.&lt;BR /&gt;Program terminated with signal 11, Segmentation fault.&lt;BR /&gt;SEGV_MAPERR - Address not mapped to object&lt;BR /&gt;&lt;BR /&gt;warning: Load module /mnt/ims/oracle/product/10.2.0/client/lib/libclntsh.so.10.1 has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;warning: Load module /mnt/ims/oracle/product/10.2.0/client/lib/libnnz10.so has been stripped.&lt;BR /&gt;Debugging information is not available.&lt;BR /&gt;&lt;BR /&gt;#0  0xc00000000031c520:0 in T_19_462b_cl___doprnt_main+0x8620 ()&lt;BR /&gt;   from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;(gdb) bt&lt;BR /&gt;#0  0xc00000000031c520:0 in T_19_462b_cl___doprnt_main+0x8620 ()&lt;BR /&gt;   from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#1  0xc00000000030bbd0:0 in _doprnt+0x30 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#2  0xc0000000003316c0:0 in vsprintf+0xa0 () from /usr/lib/hpux64/libc.so.1&lt;BR /&gt;#3  0xc0000000050f85e0:0 in userlog () at tmulog.c:51&lt;BR /&gt;#4  0x40000000000052e0:0 in hatpReadErrorCodes ()&lt;BR /&gt;    at /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/reconora.c:509&lt;BR /&gt;#5  0x4000000000002840:0 in tpsvrinit ()&lt;BR /&gt;    at /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/CCDBGenInit.c:377&lt;BR /&gt;#6  0xc00000000511fb60:0 in _tmmain () at stdmain.c:222&lt;BR /&gt;#7  0xc0000000050f8270:0 in _tmstartserver () at tmstrtsrvr.c:128&lt;BR /&gt;#8  0x4000000000002210:0 in main () at BS-1a3b.c:76&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jul 2007 19:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030940#M742501</guid>
      <dc:creator>Giri Shankar</dc:creator>
      <dc:date>2007-07-02T19:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when using Pro*C from C or C++!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030941#M742502</link>
      <description>This is the complier option we are giving...&lt;BR /&gt;&lt;BR /&gt;aCC +DD64 +Olit=all -Wl,+s -D__BIGMSGQUEUE_ENABLED  -mt  -I$TUXDIR/include -o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/bin/cpmUpdCustSvr BS-5dd6.c  -L${TUXDIR}/lib /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpmUpdCustInit.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpm_cfg.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpmUpdCustMain.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpmUpdCustSeg.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpmUpdCustPersDetSeg.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpmUpdCustCompSeg.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpmUpdPsychoSeg.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/cpmUpdStatSeg.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/dedup_config.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/dedup_config_prt.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/ddConsolidate.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/ddConsolidate_tables.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/profiler.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/reconora.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/txn_type_masking_utils.o /mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink/obj/llist.o  -ltux -lbuft  -lsql -lusort -lrms -lfs -lfml -lfml32 -lengine  -lnsl -L/mnt/ims/oracle/product/10.2.0/client/lib -lclntsh -lsql -L/mnt/classic/home/isacfai/sources/06_18_2007/fai/fai-midtier/svcelink -L/opt/perf/lib/hpux64 -larm -lnsl -lrms -lssl -lcrypto -ltux -lbuft  -lsql -lusort -lrms -lfs -lfml -lfml32 -lengine  -lnsl +s</description>
      <pubDate>Mon, 02 Jul 2007 19:46:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030941#M742502</guid>
      <dc:creator>Giri Shankar</dc:creator>
      <dc:date>2007-07-02T19:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when using Pro*C from C or C++!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030942#M742503</link>
      <description>Have you successfully ported to 64 bit before?  (Did you use +w64bit and +wlint?)  If not, why not make sure your application works in 32 bit before you port?&lt;BR /&gt;&lt;BR /&gt;The latest patch is A.06.14, PHSS_35975.&lt;BR /&gt;&lt;BR /&gt;Usually, if you are aborting in _doprnt, you have passed bad args to vsprintf.  Since you are in the main thread, it is not likely you have a thread stack overflow.&lt;BR /&gt;&lt;BR /&gt;Which frame is your call to Pro*C?&lt;BR /&gt;&lt;BR /&gt;I'm not sure what this trailing "+s" is for?  You have -Wl,+s and +s isn't a valid compiler option.</description>
      <pubDate>Mon, 02 Jul 2007 20:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030942#M742503</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-07-02T20:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when using Pro*C from C or C++!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030943#M742504</link>
      <description>hi Dennis,&lt;BR /&gt;&lt;BR /&gt;Thanks for the info.&lt;BR /&gt;&lt;BR /&gt;I booted the 32 bit application and it compiles and works fine. I only get this when I build it in 64 bit and try to boot the application. And I get this only when I access pro*C programs from a C ++ or a C program.&lt;BR /&gt;&lt;BR /&gt;Girish</description>
      <pubDate>Tue, 03 Jul 2007 13:05:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030943#M742504</guid>
      <dc:creator>Girish Aravindakshan</dc:creator>
      <dc:date>2007-07-03T13:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when using Pro*C from C or C++!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030944#M742505</link>
      <description>&amp;gt;I only get this when I build it in 64 bit&lt;BR /&gt;&lt;BR /&gt;It looks like either you or Pro*C didn't port to 64 bit correctly.&lt;BR /&gt;Was frame #8 your last frame before calling Pro*C?</description>
      <pubDate>Tue, 03 Jul 2007 13:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-using-pro-c-from-c-or-c/m-p/4030944#M742505</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-07-03T13:20:23Z</dc:date>
    </item>
  </channel>
</rss>

