From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,96ccda1736c1a3b9,start X-Google-Attributes: gid103376,public From: Ronald Abdur-Raheem Ali Subject: gperf (C2Ada) build problem... Date: 1998/06/15 Message-ID: <35856D9A.2BDE6EB4@WriteMe.com>#1/1 X-Deja-AN: 362913490 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 NNTP-Posting-Date: 15 Jun 1998 19:00:27 GMT Content-Type: text/plain; charset=us-ascii X-Trace: news1.exit109.com 897937227 11392 208.225.73.26 (15 Jun 1998 19:00:27 GMT) Organization: None Newsgroups: comp.lang.ada Date: 1998-06-15T19:00:27+00:00 List-Id: If someone can assist with this unique problem ... I'm building the C2Ada translator from Inmet.com, which requires that python and gperf be built first. I'm running on a Sun - Sparc Enterprise 2, with SunOS 5.0, and gnat versions 3.05 and 3.10, which both reference gcc version 2.7.2. The latest version of C2Ada calls for python version 1.3, I built version 1.4 successfully. When I build gperf with gnat 3.05, I get the following error message: #-------------------------------------------------------------- gcc -DLO_CAL -DGATHER_STATISTICS -O -p -g -fstrength-reduce -fomit-frame-pointer -fdelayed-branch -finline-functions -c getopt.c getopt.c: In function `getopt': getopt.c:189: argument `argv' doesn't match prototype /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:249: prototype declaration getopt.c:189: argument `optstring' doesn't match prototype /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/stdio.h:249: prototype declaration *** Error code 1 make: Fatal error: Command failed for target `getopt.o' Current working directory /extdisk0/users/AliR/spc/c2ada/gperf/cperf-2.1a/src *** Error code 1 make: Fatal error: Command failed for target `gperf' SunServer > AliR @ /extdisk0/users/AliR/spc/c2ada/gperf/cperf-2.1a # 244% #-------------------------------------------------------------- AND, When I build gperf with gnat 3.10, I get the following error message: #-------------------------------------------------------------- gcc -DLO_CAL -DGATHER_STATISTICS -O -p -g -fstrength-reduce -fomit-frame-pointer -fdelayed-branch -finline-functions -o gperf options.o iterator.o main.o perfect.o keylist.o listnode.o xmalloc.o hashtable.o boolarray.o readline.o stderr.o version.o getopt.o ld: fatal: file mcrt1.o: cannot open file; errno=2 ld: fatal: File processing errors. No output written to gperf *** Error code 1 make: Fatal error: Command failed for target `gperf' Current working directory /extdisk0/users/AliR/spc/c2ada/gperf/cperf-2.1a/src *** Error code 1 make: Fatal error: Command failed for target `gperf' SunServer > AliR @ /extdisk0/users/AliR/spc/c2ada/gperf/cperf-2.1a # 251% #-------------------------------------------------------------- The file "mcrt1.o" cannot be found on our system, although "crt1.o" was found in the heirarchy of both versions of gnat. Can someone suggest a fix for this situation? RonAli@WriteMe.com 1-732-933-4070 x141 1-732-933-4088 Fax