public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Solaris gcc 2.95.2 inst probs
@ 2000-12-18 12:10 Shawn R. Watt
  2000-12-19 18:38 ` Alexandre Oliva
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn R. Watt @ 2000-12-18 12:10 UTC (permalink / raw)
  To: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Solaris gcc 2.95.2 inst probs
  2000-12-18 12:10 Solaris gcc 2.95.2 inst probs Shawn R. Watt
@ 2000-12-19 18:38 ` Alexandre Oliva
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2000-12-19 18:38 UTC (permalink / raw)
  To: Shawn R. Watt; +Cc: gcc-help

On Dec 18, 2000, "Shawn R. Watt" <shawnw@sunbelt.nawcad.navy.mil> wrote:

> /opt/SUNWspro/bin/CC -c -DHAVE_CONFIG_H -g -I. -I./../include  argv.c

Hmm...  I guess this is a C++ compiler, and GCC is written in C.  Use
`cc' instead.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-19 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-18 12:10 Solaris gcc 2.95.2 inst probs Shawn R. Watt
2000-12-19 18:38 ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).