<?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: Error when compile a  C file  with a aC++ compiler in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930551#M719968</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;Sorry for the delay but busy today&lt;BR /&gt;&lt;BR /&gt;Normally, if fastbind detects any unsatisfied symbols while building the fastbind information, it generates an error message and does not modify the executable file. When you invoke fastbind with the -u option however, it allows unresolved symbols.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thus it is because of no main statement and you could try the -u&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;      Steve Steel</description>
    <pubDate>Wed, 19 Mar 2003 13:50:22 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2003-03-19T13:50:22Z</dc:date>
    <item>
      <title>Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930547#M719964</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I can not compiler any programme with a aC++ compilerversion A.03.37.&lt;BR /&gt;&lt;BR /&gt;cyb_hpux[ /cyborg/global/g500i/prog ] $ aCC -V&lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.37&lt;BR /&gt;cyb_hpux[ /cyborg/global/g500i/prog ] $ aCC  cybstdio.c&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   main (Not referenced yet! Probably due to -u option)&lt;BR /&gt;=============================================&lt;BR /&gt;Swlist result :&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# Bundle(s):&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;  B3913DB                       C.03.37        HP aC++ Compiler (S800)&lt;BR /&gt;  B5456CA                       C.01.18.04     HP-UX Development Kit for Java*&lt;BR /&gt;  B5725AA                       B.3.4.115      HP-UX Installation Utilities (Ign&lt;BR /&gt;ite-UX)&lt;BR /&gt;  B6192AA                       B.11.00.10     DCE/9000 Programming &amp;amp; Administra&lt;BR /&gt;tion Tools Media and Manuals&lt;BR /&gt;  B9788AA                       1.3.0.01.02    Java 2 SDK 1.3 for HP-UX (700/800&lt;BR /&gt;), PA1.1 + PA2.0 Add On&lt;BR /&gt;  B9789AA                       1.3.0.01.02    Java 2 RTE 1.3 for HP-UX (700/800&lt;BR /&gt;), PA1.1 + PA2.0 Add On&lt;BR /&gt;  HPUXEng32RT                   B.11.00.01     English HP-UX 32-bit Runtime Envi&lt;BR /&gt;ronment&lt;BR /&gt;  Ignite-UX-11-00               B.3.4.115      HP-UX Installation Utilities for&lt;BR /&gt;Installing 11.00 Systems&lt;BR /&gt;  OnlineDiag                    B.11.00.18.09  HPUX 11.0 Support Tools Bundle, S&lt;BR /&gt;ep 2001&lt;BR /&gt;  QPK1100                       B.11.00.54.7   Quality Pack for HP-UX 11.00, Sep&lt;BR /&gt;tember 2001&lt;BR /&gt;  T1302AA                       A.01.03        HP-UX Workload Manager Toolkits&lt;BR /&gt;#&lt;BR /&gt;# Product(s) not contained in a Bundle:&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;  BLINKLINK                     B.11.00        Blink Link (HP Incremental Linkin&lt;BR /&gt;g Facility)&lt;BR /&gt;  PHCO_22020                    1.0            ksh(1) cumulative patch&lt;BR /&gt;  PHCO_23792                    1.0            libpthreads cumulative patch.&lt;BR /&gt;  PHCO_26111                    1.0            libc cumulative header file patch&lt;BR /&gt;&lt;BR /&gt;  PHCO_27731                    1.0            libc cumulative patch&lt;BR /&gt;  PHKL_27813                    1.0            POSIX AIO;getdirentries;MVFS;rcp;&lt;BR /&gt;mmap/IDS&lt;BR /&gt;  PHKL_27980                    1.0            VxFS 3.1 cumulative patch: CR_EIE&lt;BR /&gt;M&lt;BR /&gt;  PHSS_24303                    1.0            ld(1) and linker tools cumulative&lt;BR /&gt; patch&lt;BR /&gt;  PHSS_24381                    1.0            LIBCL patch&lt;BR /&gt;  PHSS_25028                    1.0            CPSlib Cumulative Patch (omp supp&lt;BR /&gt;ort 11.x)&lt;BR /&gt;  PHSS_26320                    1.0            MILLI/ASM cumulative patch&lt;BR /&gt;  PHSS_26945                    1.0            HP aC++ -AA runtime libraries (aC&lt;BR /&gt;C A.03.37)&lt;BR /&gt;&lt;BR /&gt;==============================================&lt;BR /&gt;&lt;BR /&gt;What should I need again?&lt;BR /&gt;&lt;BR /&gt;In other term, when to find "HP aC++ Revision B.11.06" and "HPPAK HP Programmer's Analysis"&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2003 08:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930547#M719964</guid>
      <dc:creator>Engo Armand-Blaise</dc:creator>
      <dc:date>2003-03-19T08:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930548#M719965</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Via &lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Will get you languages and tools&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also up your patches&lt;BR /&gt;&lt;BR /&gt;PHCO_22020 replaced by PHCO_27418&lt;BR /&gt;PHCO_23792 replaced by PHCO_26960&lt;BR /&gt;PHKL_27813 replaced by PHKL_28202&lt;BR /&gt;PHSS_24303 replaced by PHSS_26559&lt;BR /&gt;PHSS_24381 replaced by PHSS_28302&lt;BR /&gt;PHSS_25028 replaced by PHSS_27699&lt;BR /&gt;&lt;BR /&gt;                 Steve Steel</description>
      <pubDate>Wed, 19 Mar 2003 08:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930548#M719965</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-03-19T08:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930549#M719966</link>
      <description>Thank  you for updating the patches. I'm running B.11. with 32 bits and I still have the same error after rebooting the Server....&lt;BR /&gt;&lt;BR /&gt;Is it because of there is no main statement in the source C program?&lt;BR /&gt;&lt;BR /&gt;Please Let me know.</description>
      <pubDate>Wed, 19 Mar 2003 10:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930549#M719966</guid>
      <dc:creator>Engo Armand-Blaise</dc:creator>
      <dc:date>2003-03-19T10:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930550#M719967</link>
      <description>After updating the all patches step by step, ?I have the same Error :&lt;BR /&gt;&lt;BR /&gt;cyb_hpux[ /cyborg/global/g500i/prog ] $ aCC -V&lt;BR /&gt;aCC: HP ANSI C++ B3910B A.03.39&lt;BR /&gt;cyb_hpux[ /cyborg/global/g500i/prog ] $ aCC  cybstdio.c&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   main (Not referenced yet! Probably due to -u option)&lt;BR /&gt;==============================================&lt;BR /&gt;cybstdio.c [program to compile]&lt;BR /&gt;&lt;BR /&gt;Contains of this program :&lt;BR /&gt;/*&lt;BR /&gt; * --------------------------------------------------------------------------&lt;BR /&gt; * VCS Archive: $Archive:   //cybgenpurp/pvcs/pvcs66/cybprod/archives/eCyborg/ST/Server/Prog/Unix/Source-Delivered/Common/cybstdio.c-arc  $&lt;BR /&gt; * --------------------------------------------------------------------------&lt;BR /&gt; * Name             : $Workfile:   cybstdio.c  $&lt;BR /&gt; * Author           : Carl Haynes&lt;BR /&gt; * Created          : June 13 2001&lt;BR /&gt; * Revision Number  : $Revision:   1.1  $&lt;BR /&gt; * Last Edited by   : $Author: Carlh&lt;BR /&gt; *                    $Date:   03 May 2002 09:55:10  $&lt;BR /&gt; *&lt;BR /&gt; * Copyright 1998-2001, Cyborg Systems, All Rights Reserved An Unpublished&lt;BR /&gt; * Work of Cyborg Systems. This software and documentation contained herein&lt;BR /&gt; * are copyrighted works which include confidential information and trade&lt;BR /&gt; * secrets proprietary to Cyborg Systems, and shall not be copied, duplicated,&lt;BR /&gt; * disclosed or used, in whole or in part, except pursuant to the License&lt;BR /&gt; * Agreement or as otherwise expressly approved by Cyborg Systems.&lt;BR /&gt; * --------------------------------------------------------------------------&lt;BR /&gt; * Description&lt;BR /&gt; * File01 Control program standard I/O routines.&lt;BR /&gt; * --------------------------------------------------------------------------&lt;BR /&gt; * Notes:                                                               &lt;BR /&gt; * -----                                                                &lt;BR /&gt; * 1.   WIN32/Microsoft Visual C++ 6.0                                  &lt;BR /&gt; *      Compilation requires option -MD to produce an object file that is&lt;BR /&gt; *      compatible with object files produced by Merant Net Express 3.1&lt;BR /&gt; * --------------------------------------------------------------------------&lt;BR /&gt; */&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;&lt;BR /&gt;#ifdef __cplusplus&lt;BR /&gt;extern "C"&lt;BR /&gt;{&lt;BR /&gt;extern int CYB_GET_INPUT(char* buffer);&lt;BR /&gt;extern void CYB_DISPLAY(const char* const start, int length);&lt;BR /&gt;}&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;/*&lt;BR /&gt; * CYB_GET_INPUT: This routine uses getchar to read input from stdin,&lt;BR /&gt; * places this input into buffer, then returns control to the calling&lt;BR /&gt; * routine.&lt;BR /&gt; *&lt;BR /&gt; * Return value:&lt;BR /&gt; *   0 indicates success.&lt;BR /&gt; *  -1 indicates a read error or end-of-file condition.&lt;BR /&gt; */&lt;BR /&gt;int CYB_GET_INPUT(char* buffer)&lt;BR /&gt;{&lt;BR /&gt; int ch = getchar();&lt;BR /&gt; if (ch == EOF)&lt;BR /&gt;  return -1;&lt;BR /&gt; *buffer = (char)ch;&lt;BR /&gt; return 0;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/*&lt;BR /&gt; * CYB_DISPLAY: This routine uses putchar to write the content of memory&lt;BR /&gt; * pointed to by the 'start' parameter to stdout. The number of bytes &lt;BR /&gt; * output is determined by the value of the 'length' parameter. All&lt;BR /&gt; * buffered output streams are flushed before control is returned to the&lt;BR /&gt; * calling routine.&lt;BR /&gt; */&lt;BR /&gt;void CYB_DISPLAY(const char* const start, int length)&lt;BR /&gt;{&lt;BR /&gt;    int count = length;&lt;BR /&gt;    const char* cp = start;&lt;BR /&gt;    while (count-- &amp;gt; 0)&lt;BR /&gt;        putchar((int)*cp++);&lt;BR /&gt;    fflush(NULL);&lt;BR /&gt; return;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==============================================&lt;BR /&gt;See the attached file :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;swlist_file {result from "swlist" command]&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Wed, 19 Mar 2003 13:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930550#M719967</guid>
      <dc:creator>Engo Armand-Blaise</dc:creator>
      <dc:date>2003-03-19T13:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930551#M719968</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Sorry for the delay but busy today&lt;BR /&gt;&lt;BR /&gt;Normally, if fastbind detects any unsatisfied symbols while building the fastbind information, it generates an error message and does not modify the executable file. When you invoke fastbind with the -u option however, it allows unresolved symbols.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thus it is because of no main statement and you could try the -u&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;      Steve Steel</description>
      <pubDate>Wed, 19 Mar 2003 13:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930551#M719968</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-03-19T13:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930552#M719969</link>
      <description>That is perfect.&lt;BR /&gt;&lt;BR /&gt;I used the -u option to compile my source program. But, what is about the output file, I mean the executable one.&lt;BR /&gt;&lt;BR /&gt;I don't have any result.</description>
      <pubDate>Wed, 19 Mar 2003 14:10:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930552#M719969</guid>
      <dc:creator>Engo Armand-Blaise</dc:creator>
      <dc:date>2003-03-19T14:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930553#M719970</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;add the MAIN&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also see&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel</description>
      <pubDate>Wed, 19 Mar 2003 14:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930553#M719970</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-03-19T14:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930554#M719971</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I see your problemm.&lt;BR /&gt;But everythink is absolutelly perfect.&lt;BR /&gt;&lt;BR /&gt;aCC tries to make an executable, as you can see actually it is LINKER who generates error (/usr/ccs/bin/ld).&lt;BR /&gt;&lt;BR /&gt;If you only want to compile and get object only for futher linking, you should add option -c:&lt;BR /&gt;&lt;BR /&gt;aCC -c cybstdio.c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2003 15:34:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930554#M719971</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-03-19T15:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error when compile a  C file  with a aC++ compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930555#M719972</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I see your problemm.&lt;BR /&gt;But everything is absolutely perfect.&lt;BR /&gt;&lt;BR /&gt;aCC tries to make an executable, as you can see actually it is LINKER who generates error (/usr/ccs/bin/ld).&lt;BR /&gt;&lt;BR /&gt;If you only want to compile and get object only for futher linking, you should add option -c:&lt;BR /&gt;&lt;BR /&gt;aCC -c cybstdio.c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;Adam&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2003 15:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-compile-a-c-file-with-a-ac-compiler/m-p/2930555#M719972</guid>
      <dc:creator>Adam J Markiewicz</dc:creator>
      <dc:date>2003-03-19T15:34:53Z</dc:date>
    </item>
  </channel>
</rss>

