GCC 3.0.3: fastjar error

PAD HOSMANE phosmane@pop.fedworld.gov
Mon Feb 18 17:58:00 GMT 2002


Hi,
  I am building GCC 3.0.3 on HP-UX 10.20 (hppa2.0-hp-hpux10.20). I am using
HP ANSIC C Compiler, binutils 2.11.2, GNU make 3.79.1. I ran configure with
the following option

./configure --prefix=/opt/gcc3.0.3 --with-as=/opt/binutils-2.11.2/bin/as --e
nable-packages=c --with-gnu-as --enable-version-specfic-runtime-libs --enabl
e-languages=c++ --disable-languages=java. When i run "make bootstap",  it
gives the following error show below after completing stage 1,2,3,4. Any
idea why this error is coming?

I even tried with
./configure --prefix=/opt/gcc3.0.3 --with-as=/opt/binutils-2.11.2/bin/as --e
nable-packages=c --with-gnu-as --enable-version-specfic-runtime-libs --enabl
e-languages=c++,java, still it gives the same error.

Any hints!!!!
Thanks


make[2]: Leaving directory `/man/gcc-3.0.3/zlib'
make[2]: Entering directory `/man/gcc-3.0.3/fastjar'
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./../zlib    -g -c jartool.c
cc: "dostime.h", line 22: error 1000: Unexpected symbol: "*".
cc: "pushback.h", line 22: error 1000: Unexpected symbol: "ub1".
cc: "pushback.h", line 30: error 1000: Unexpected symbol: "*".
cc: "pushback.h", line 31: error 1000: Unexpected symbol: "*".
cc: "pushback.h", line 32: error 1000: Unexpected symbol: "*".
cc: "compress.h", line 83: error 1000: Unexpected symbol: "*".
cc: "compress.h", line 85: error 1000: Unexpected symbol: "*".
cc: "compress.h", line 85: error 1000: Unexpected symbol: "ub4".
cc: "jartool.c", line 217: error 1000: Unexpected symbol: "*".
cc: "dostime.h", line 20: error 1705: Function prototypes are an ANSI
feature.
cc: "dostime.h", line 21: error 1705: Function prototypes are an ANSI
feature.
cc: "dostime.h", line 22: error 1506: Parameters allowed in function
definition only.
cc: "pushback.h", line 22: error 1573: Type of "pb_buff" is undefined due to
an illegal declaration.
cc: "pushback.h", line 22: error 1578: Size of struct or union member is
unknown.
cc: "pushback.h", line 30: error 1705: Function prototypes are an ANSI
feature.
cc: "pushback.h", line 30: error 1573: Type of "<<<NULL_SYMBOL>>>" is
undefined due to an illegal declaration.
cc: "pushback.h", line 31: error 1705: Function prototypes are an ANSI
feature.
cc: "pushback.h", line 31: error 1573: Type of "<<<NULL_SYMBOL>>>" is
undefined due to an illegal declaration.
cc: "pushback.h", line 32: error 1705: Function prototypes are an ANSI
feature.
cc: "pushback.h", line 32: error 1573: Type of "<<<NULL_SYMBOL>>>" is
undefined due to an illegal declaration.
cc: "compress.h", line 74: error 1705: Function prototypes are an ANSI
feature.
cc: "compress.h", line 77: error 1705: Function prototypes are an ANSI
feature.
cc: "compress.h", line 80: error 1705: Function prototypes are an ANSI
feature.
cc: "compress.h", line 82: error 1705: Function prototypes are an ANSI
feature.
cc: "compress.h", line 83: error 1506: Parameters allowed in function
definition only.
cc: "compress.h", line 84: error 1705: Function prototypes are an ANSI
feature.
cc: "compress.h", line 85: error 1705: Function prototypes are an ANSI
feature.
cc: "compress.h", line 85: error 1573: Type of "<<<NULL_SYMBOL>>>" is
undefined due to an illegal declaration.
cc: "jartool.c", line 213: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 214: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 215: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 217: error 1506: Parameters allowed in function
definition only.
cc: "jartool.c", line 218: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 219: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 220: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 221: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 222: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 223: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 224: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 225: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 249: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 597: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 610: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 743: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 897: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 1043: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 1183: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 1206: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1216: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1230: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1242: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1288: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1416: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1443: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1476: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 1634: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1639: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1654: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1668: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1717: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1771: error 1000: Unexpected symbol: "*".
cc: "jartool.c", line 1773: error 1000: Unexpected symbol: "buff".
cc: "jartool.c", line 1771: error 1705: Function prototypes are an ANSI
feature.
cc: "jartool.c", line 1771: error 1573: Type of "pbf" is undefined due to an
illegal declaration.
cc: "jartool.c", line 1773: error 1573: Type of "buff" is undefined due to
an illegal declaration.
cc: "jartool.c", line 1780: error 1588: "tc" undefined.
cc: "jartool.c", line 1780: error 1564: Expression in while must be scalar.
cc: "jartool.c", line 1781: warning 563: Argument #1 is not the correct
type.
cc: "jartool.c", line 1781: warning 563: Argument #2 is not the correct
type.
cc: "jartool.c", line 1781: error 1552: First expression of ?: must be
arithmetic.
cc: "jartool.c", line 1781: warning 563: Argument #3 is not the correct
type.
cc: "jartool.c", line 1785: error 1549: Modifiable lvalue required for
assignment operator.
cc: "jartool.c", line 1795: error 1705: Function prototypes are an ANSI
feature.
make[2]: *** [jartool.o] Error 1
make[2]: Leaving directory `/man/gcc-3.0.3/fastjar'
make[1]: *** [all-fastjar] Error 2
make[1]: Leaving directory `/man/gcc-3.0.3'
make: *** [bootstrap] Error 2





More information about the Gcc-help mailing list