public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Patel, Kiran D. (GSFC-699.0)[GLOBAL SCIENCE & TECHNOLOGY INC] via gcc-help" <gcc-help@gcc.gnu.org>
To: "gcc-help@gcc.gnu.org" <gcc-help@gcc.gnu.org>
Subject: Has to install gcc-3.4.6 under Centos 7
Date: Sat, 12 Oct 2019 13:14:00 -0000	[thread overview]
Message-ID: <87C9E151-A8D1-4ADB-9DFA-2793E59090DF@nasa.gov> (raw)

I tried to fix the compilation issue with gcc3.4.6. Can you suggest how I fix the following errors:

options.h is unchanged
options.c is unchanged
/act/src/gcc-3.4.6/gcc/xgcc -B/act/src/gcc-3.4.6/gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I. -I./. -I./../include -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time -fno-omit-frame-pointer -fno-asynchronous-unwind-tables \
-c ./crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
In file included from /usr/include/stdio.h:934,
from ./tsystem.h:80,
from ./crtstuff.c:62:
/usr/include/bits/stdio.h: In function `vprintf':
/usr/include/bits/stdio.h:38: error: syntax error before "vfprintf"
In file included from /usr/include/stdio.h:934,
from ./tsystem.h:80,
from ./crtstuff.c:62:
/usr/include/bits/stdio.h:33:1: unterminated #if
/usr/include/bits/stdio.h:30:1: unterminated #ifdef
In file included from ./tsystem.h:80,
from ./crtstuff.c:62:
/usr/include/stdio.h:933:1: unterminated #ifdef
/usr/include/stdio.h:71:1: unterminated #ifdef
/usr/include/stdio.h:23:1: unterminated #ifndef
In file included from ./crtstuff.c:62:
./tsystem.h:48:1: unterminated #else
./tsystem.h:29:1: unterminated #ifndef
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/act/src/gcc-3.4.6/gcc'
make: *** [all-gcc] Error 2

Thank you for all your help,
Kiran Patel


             reply	other threads:[~2019-10-12 13:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-12 13:14 Patel, Kiran D. (GSFC-699.0)[GLOBAL SCIENCE & TECHNOLOGY INC] via gcc-help [this message]
2019-10-12 14:02 ` Kai Ruottu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87C9E151-A8D1-4ADB-9DFA-2793E59090DF@nasa.gov \
    --to=gcc-help@gcc.gnu.org \
    --cc=kiran.d.patel@nasa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).