Solaris gcc 2.95.2 inst probs

Shawn R. Watt shawnw@sunbelt.nawcad.navy.mil
Mon Dec 18 12:10:00 GMT 2000


Help.  I am running Solaris 2.6. I downloaded the source, used Sun compiler 4.2
to configure and all appears to have worked fine.  When I try to build using
'make bootstrap' I get the following:
test x"no" != xyes || \
  /opt/SUNWspro/bin/CC -c -DHAVE_CONFIG_H -g -I. -I./../include   argv.c -o 
pic/argv.o
/opt/SUNWspro/bin/CC -c -DHAVE_CONFIG_H -g -I. -I./../include  argv.c
"argv.c", line 97: Error: argv is not defined.
"argv.c", line 103: Warning: The variable argv has not yet been assigned a 
value.
"argv.c", line 116: Error: Cannot assign void* to char*.
"argv.c", line 122: Error: The function strcpy must have a prototype.
"argv.c", line 151: Error: Badly formed expression.
"argv.c", line 156: Error: vector is not defined.
"argv.c", line 158: Error: vector is not defined.
"argv.c", line 162: Error: vector is not defined.
"argv.c", line 213: Error: Badly formed expression.
"argv.c", line 226: Error: input is not defined.
"argv.c", line 228: Error: input is not defined.
"argv.c", line 234: Error: input is not defined.
"argv.c", line 234: Error: input is not defined.
"argv.c", line 236: Error: input is not defined.
"argv.c", line 265: Error: input is not defined.
"argv.c", line 267: Error: input is not defined.
"argv.c", line 267: Error: input is not defined.
"argv.c", line 276: Error: input is not defined.
"argv.c", line 278: Error: input is not defined.
"argv.c", line 284: Error: input is not defined.
"argv.c", line 290: Error: input is not defined.
"argv.c", line 295: Error: input is not defined.
"argv.c", line 301: Error: input is not defined.
"argv.c", line 306: Error: input is not defined.
"argv.c", line 310: Error: input is not defined.
"argv.c", line 316: Error: input is not defined.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `argv.o'
Current working directory /var/tmp/gcc/gcc-2.95.2/libiberty
*** Error code 1
make: Fatal error: Command failed for target `all-libiberty'

Any help will be appreciated.

Thank you,


Shawn Watt
System Administrator
shawnw@sunbelt.nawcad.navy.mil
============================
Naval Air Warfare Center
Patuxent River, MD
Tel: (301) 757-2885
Fax: (301) 757-2895


More information about the Gcc-help mailing list