public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Chris Platt <rufy@home.com>
To: gcc-help@gcc.gnu.org
Subject: Problems compiling GCC-2.95.2
Date: Wed, 09 Feb 2000 12:28:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.10.10002091222360.22890-100000@c917318-a.ptbrg1.sfba.home.com> (raw)

Hi there.  I have the following system:

Linux kernel 2.2.13
Glibc 2.1.2
EGCS-1.1.2
Binutils 2.9.1.0.25

I'm trying to compile GCC-2.95.2 using --prefix=/usr --enable-shared.  I
get the following output:

<SNIP>
Bootstrapping the compiler
make[1]: Entering directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
make CC="gcc" libdir=/usr/lib LANGUAGES="c "
make[2]: Entering directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
(cd intl && make all)
make[3]: Entering directory `/usr/local/src/gcc-2.95.2/objdir/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/gcc-2.95.2/objdir/gcc/intl'
gcc -c  -DIN_GCC     -g  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config -I../../gcc/../include ../../gcc/cp/g++spec.c
In file included from /usr/include/stdio.h:57,
                 from ../../gcc/system.h:32,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/libio.h:363: conflicting types for `__restrict'
/usr/include/libio.h:363: previous declaration of `__restrict'
/usr/include/libio.h:364: conflicting types for `__restrict'
/usr/include/libio.h:363: previous declaration of `__restrict'
/usr/include/libio.h:365: conflicting types for `__restrict'
/usr/include/libio.h:365: previous declaration of `__restrict'
In file included from ../../gcc/system.h:32,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/stdio.h:178: parse error before `__filename'
/usr/include/stdio.h:181: parse error before `__filename'
/usr/include/stdio.h:228: parse error before `__stream'
/usr/include/stdio.h:232: parse error before `__stream'
/usr/include/stdio.h:238: parse error before `__stream'
/usr/include/stdio.h:247: parse error before `__stream'
/usr/include/stdio.h:250: parse error before `__format'
/usr/include/stdio.h:252: parse error before `__s'
/usr/include/stdio.h:256: parse error before `__s'
/usr/include/stdio.h:260: parse error before `__format'
/usr/include/stdio.h:263: parse error before `__s'
/usr/include/stdio.h:269: parse error before `__s'
/usr/include/stdio.h:273: parse error before `__s'
/usr/include/stdio.h:277: parse error before `__s'
/usr/include/stdio.h:306: parse error before `__stream'
/usr/include/stdio.h:309: parse error before `__format'
/usr/include/stdio.h:311: parse error before `__s'
/usr/include/stdio.h:389: parse error before `__s'
/usr/include/stdio.h:424: parse error before `__s'
/usr/include/stdio.h:442: parse error before `__ptr'
/usr/include/stdio.h:445: parse error before `__ptr'
/usr/include/stdio.h:450: parse error before `__ptr'
/usr/include/stdio.h:452: parse error before `__ptr'
/usr/include/stdio.h:495: parse error before `__stream'
In file included from ../../gcc/system.h:132,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/string.h:37: parse error before `__dest'
/usr/include/string.h:71: parse error before `__dest'
/usr/include/string.h:74: parse error before `__dest'
/usr/include/string.h:78: parse error before `__dest'
/usr/include/string.h:81: parse error before `__dest'
/usr/include/string.h:92: parse error before `__dest'
/usr/include/string.h:176: parse error before `__s'
/usr/include/string.h:181: parse error before `__s'
/usr/include/string.h:185: parse error before `__s'
/usr/include/string.h:282: parse error before `__stringp'
In file included from ../../gcc/system.h:145,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/stdlib.h:96: parse error before `__nptr'
/usr/include/stdlib.h:109: parse error before `__nptr'
/usr/include/stdlib.h:112: parse error before `__nptr'
/usr/include/stdlib.h:119: parse error before `__nptr'
/usr/include/stdlib.h:123: parse error before `__nptr'
/usr/include/stdlib.h:133: parse error before `__nptr'
/usr/include/stdlib.h:137: parse error before `__nptr'
/usr/include/stdlib.h:196: parse error before `__nptr'
/usr/include/stdlib.h:199: parse error before `__nptr'
/usr/include/stdlib.h:202: parse error before `__nptr'
/usr/include/stdlib.h:206: parse error before `__nptr'
/usr/include/stdlib.h:213: parse error before `__nptr'
/usr/include/stdlib.h:221: parse error before `__nptr'
/usr/include/stdlib.h:229: parse error before `__nptr'
/usr/include/stdlib.h:379: parse error before `__buf'
/usr/include/stdlib.h:385: parse error before `__statebuf'
/usr/include/stdlib.h:389: parse error before `__statebuf'
/usr/include/stdlib.h:438: parse error before `__buffer'
/usr/include/stdlib.h:441: parse error before `__buffer'
/usr/include/stdlib.h:445: parse error before `__buffer'
/usr/include/stdlib.h:448: parse error before `__buffer'
/usr/include/stdlib.h:452: parse error before `__buffer'
/usr/include/stdlib.h:455: parse error before `__buffer'
In file included from ../../gcc/system.h:145,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/stdlib.h:595: parse error before `__name'
/usr/include/stdlib.h:651: parse error before `__decpt'
/usr/include/stdlib.h:657: parse error before `__decpt'
/usr/include/stdlib.h:667: parse error before `__decpt'
/usr/include/stdlib.h:669: parse error before `__decpt'
/usr/include/stdlib.h:676: parse error before `__decpt'
/usr/include/stdlib.h:679: parse error before `__decpt'
/usr/include/stdlib.h:684: parse error before `__decpt'
/usr/include/stdlib.h:687: parse error before `__decpt'
/usr/include/stdlib.h:698: parse error before `__pwc'
/usr/include/stdlib.h:706: parse error before `__pwcs'
/usr/include/stdlib.h:709: parse error before `__s'
In file included from /usr/include/sys/time.h:24,
                 from ../../gcc/system.h:189,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/time.h:135: parse error before `__s'
/usr/include/time.h:158: parse error before `__timer'
/usr/include/time.h:160: parse error before `__timer'
/usr/include/time.h:165: parse error before `__timer'
/usr/include/time.h:181: parse error before `__tp'
/usr/include/time.h:185: parse error before `__timer'
make[2]: *** [g++spec.o] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
make: *** [bootstrap] Error 2
<SNIP>


I've looked in the header files involved, and nothing seems out of the
ordinary.  I found another occurance of this problem in last month's
archives, but no answers were ever posted.  I've tried compiling 2.95 and
2.95.1 and both of these crash with the same messages.  Recompiling
egcs-1.1.2 works fine, and installing a fresh copy didn't solve this
problem.

Any help would be appreciated!


Chris Platt (rufy@home.com)

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS$ d- s+:+ a26 C++++ ULC++++ P++ L+++ E W+ N+ o K- w O- M-- V-- PS+ PE+
Y+ PGP++ t+ 5 X+ R tv+ b++ DI+++ D++ G++ e++ h---- r+++ y++++*
------END GEEK CODE BLOCK------

WARNING: multiple messages have this Message-ID
From: Chris Platt <rufy@home.com>
To: gcc-help@gcc.gnu.org
Subject: Problems compiling GCC-2.95.2
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.10.10002091222360.22890-100000@c917318-a.ptbrg1.sfba.home.com> (raw)
Message-ID: <20000401000000.fp1rzNLyQ4cksF09qzTF63orQw9VQrtrFh_KupWLJx0@z> (raw)

Hi there.  I have the following system:

Linux kernel 2.2.13
Glibc 2.1.2
EGCS-1.1.2
Binutils 2.9.1.0.25

I'm trying to compile GCC-2.95.2 using --prefix=/usr --enable-shared.  I
get the following output:

<SNIP>
Bootstrapping the compiler
make[1]: Entering directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
make CC="gcc" libdir=/usr/lib LANGUAGES="c "
make[2]: Entering directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
(cd intl && make all)
make[3]: Entering directory `/usr/local/src/gcc-2.95.2/objdir/gcc/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/src/gcc-2.95.2/objdir/gcc/intl'
gcc -c  -DIN_GCC     -g  -DHAVE_CONFIG_H    -I. -I../../gcc -I../../gcc/config -I../../gcc/../include ../../gcc/cp/g++spec.c
In file included from /usr/include/stdio.h:57,
                 from ../../gcc/system.h:32,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/libio.h:363: conflicting types for `__restrict'
/usr/include/libio.h:363: previous declaration of `__restrict'
/usr/include/libio.h:364: conflicting types for `__restrict'
/usr/include/libio.h:363: previous declaration of `__restrict'
/usr/include/libio.h:365: conflicting types for `__restrict'
/usr/include/libio.h:365: previous declaration of `__restrict'
In file included from ../../gcc/system.h:32,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/stdio.h:178: parse error before `__filename'
/usr/include/stdio.h:181: parse error before `__filename'
/usr/include/stdio.h:228: parse error before `__stream'
/usr/include/stdio.h:232: parse error before `__stream'
/usr/include/stdio.h:238: parse error before `__stream'
/usr/include/stdio.h:247: parse error before `__stream'
/usr/include/stdio.h:250: parse error before `__format'
/usr/include/stdio.h:252: parse error before `__s'
/usr/include/stdio.h:256: parse error before `__s'
/usr/include/stdio.h:260: parse error before `__format'
/usr/include/stdio.h:263: parse error before `__s'
/usr/include/stdio.h:269: parse error before `__s'
/usr/include/stdio.h:273: parse error before `__s'
/usr/include/stdio.h:277: parse error before `__s'
/usr/include/stdio.h:306: parse error before `__stream'
/usr/include/stdio.h:309: parse error before `__format'
/usr/include/stdio.h:311: parse error before `__s'
/usr/include/stdio.h:389: parse error before `__s'
/usr/include/stdio.h:424: parse error before `__s'
/usr/include/stdio.h:442: parse error before `__ptr'
/usr/include/stdio.h:445: parse error before `__ptr'
/usr/include/stdio.h:450: parse error before `__ptr'
/usr/include/stdio.h:452: parse error before `__ptr'
/usr/include/stdio.h:495: parse error before `__stream'
In file included from ../../gcc/system.h:132,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/string.h:37: parse error before `__dest'
/usr/include/string.h:71: parse error before `__dest'
/usr/include/string.h:74: parse error before `__dest'
/usr/include/string.h:78: parse error before `__dest'
/usr/include/string.h:81: parse error before `__dest'
/usr/include/string.h:92: parse error before `__dest'
/usr/include/string.h:176: parse error before `__s'
/usr/include/string.h:181: parse error before `__s'
/usr/include/string.h:185: parse error before `__s'
/usr/include/string.h:282: parse error before `__stringp'
In file included from ../../gcc/system.h:145,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/stdlib.h:96: parse error before `__nptr'
/usr/include/stdlib.h:109: parse error before `__nptr'
/usr/include/stdlib.h:112: parse error before `__nptr'
/usr/include/stdlib.h:119: parse error before `__nptr'
/usr/include/stdlib.h:123: parse error before `__nptr'
/usr/include/stdlib.h:133: parse error before `__nptr'
/usr/include/stdlib.h:137: parse error before `__nptr'
/usr/include/stdlib.h:196: parse error before `__nptr'
/usr/include/stdlib.h:199: parse error before `__nptr'
/usr/include/stdlib.h:202: parse error before `__nptr'
/usr/include/stdlib.h:206: parse error before `__nptr'
/usr/include/stdlib.h:213: parse error before `__nptr'
/usr/include/stdlib.h:221: parse error before `__nptr'
/usr/include/stdlib.h:229: parse error before `__nptr'
/usr/include/stdlib.h:379: parse error before `__buf'
/usr/include/stdlib.h:385: parse error before `__statebuf'
/usr/include/stdlib.h:389: parse error before `__statebuf'
/usr/include/stdlib.h:438: parse error before `__buffer'
/usr/include/stdlib.h:441: parse error before `__buffer'
/usr/include/stdlib.h:445: parse error before `__buffer'
/usr/include/stdlib.h:448: parse error before `__buffer'
/usr/include/stdlib.h:452: parse error before `__buffer'
/usr/include/stdlib.h:455: parse error before `__buffer'
In file included from ../../gcc/system.h:145,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/stdlib.h:595: parse error before `__name'
/usr/include/stdlib.h:651: parse error before `__decpt'
/usr/include/stdlib.h:657: parse error before `__decpt'
/usr/include/stdlib.h:667: parse error before `__decpt'
/usr/include/stdlib.h:669: parse error before `__decpt'
/usr/include/stdlib.h:676: parse error before `__decpt'
/usr/include/stdlib.h:679: parse error before `__decpt'
/usr/include/stdlib.h:684: parse error before `__decpt'
/usr/include/stdlib.h:687: parse error before `__decpt'
/usr/include/stdlib.h:698: parse error before `__pwc'
/usr/include/stdlib.h:706: parse error before `__pwcs'
/usr/include/stdlib.h:709: parse error before `__s'
In file included from /usr/include/sys/time.h:24,
                 from ../../gcc/system.h:189,
                 from ../../gcc/cp/g++spec.c:22:
/usr/include/time.h:135: parse error before `__s'
/usr/include/time.h:158: parse error before `__timer'
/usr/include/time.h:160: parse error before `__timer'
/usr/include/time.h:165: parse error before `__timer'
/usr/include/time.h:181: parse error before `__tp'
/usr/include/time.h:185: parse error before `__timer'
make[2]: *** [g++spec.o] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-2.95.2/objdir/gcc'
make: *** [bootstrap] Error 2
<SNIP>


I've looked in the header files involved, and nothing seems out of the
ordinary.  I found another occurance of this problem in last month's
archives, but no answers were ever posted.  I've tried compiling 2.95 and
2.95.1 and both of these crash with the same messages.  Recompiling
egcs-1.1.2 works fine, and installing a fresh copy didn't solve this
problem.

Any help would be appreciated!


Chris Platt (rufy@home.com)

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS$ d- s+:+ a26 C++++ ULC++++ P++ L+++ E W+ N+ o K- w O- M-- V-- PS+ PE+
Y+ PGP++ t+ 5 X+ R tv+ b++ DI+++ D++ G++ e++ h---- r+++ y++++*
------END GEEK CODE BLOCK------

             reply	other threads:[~2000-02-09 12:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-09 12:28 Chris Platt [this message]
2000-04-01  0:00 ` Chris Platt

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=Pine.LNX.4.10.10002091222360.22890-100000@c917318-a.ptbrg1.sfba.home.com \
    --to=rufy@home.com \
    --cc=gcc-help@gcc.gnu.org \
    /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).