comp.lang.ada
 help / color / mirror / Atom feed
From: Ronald Abdur-Raheem Ali <RonAli@WriteMe.com>
Subject: gperf (C2Ada) build problem...
Date: 1998/06/15
Date: 1998-06-15T19:00:27+00:00	[thread overview]
Message-ID: <35856D9A.2BDE6EB4@WriteMe.com> (raw)


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





             reply	other threads:[~1998-06-15  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-15  0:00 Ronald Abdur-Raheem Ali [this message]
     [not found] ` <m3lnqxipvj.fsf@zaphod.enst.fr>
1998-06-17  0:00   ` gperf (C2Ada) build problem Ronald Abdur-Raheem Ali
1998-06-17  0:00 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox