public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc build problems. (error log attached)
@ 2001-02-20 18:05 Jonathan Whiteman
  0 siblings, 0 replies; only message in thread
From: Jonathan Whiteman @ 2001-02-20 18:05 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]

having trouble building gcc-2.95.2: (this time i've attached the error messages)



i get a bunch of parse errors in a few of the header files in /usr/include/ and then make dumps out... stdio.h and libstd.h, time.h... something like that.  a few of them.



anyways.  i'm running egcs1.1.2 (redhat 6.2's egcs1.1.2-30 rpm's) and glibc2.1.3(first, redhat 6.2's 2.1.3-22 rpm's, then i recompiled glibc2.1.3 from source and installed that, thinking it might be a redhat-ism, but nothing changed in the glcc build errors)



so, i'm sorry to bother you with this.  i'm assuming there's just something simple i should know that i'm missing out on, but basically i'm trying to get gcc 2.95.2 installed and get glibc happy in a pathetic attempt to add a little more stability to my X (trying out compiling X 4.0.2 using the 2.4.1 kernel and Nvidia's crap drivers) setup without either switching to debian or redhat 7.0



any advice you could give me would be greatly appreciated.



thank you for your time

~jon

----------(attached errors:)------
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

[-- Attachment #2: make_errors.log --]
[-- Type: text/plain, Size: 6122 bytes --]

gcc -c  -DIN_GCC     -g -O2  -DHAVE_CONFIG_H    -I. -I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include \
          -DGCC_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include\" \
  -DGPLUSPLUS_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../..`echo /usr | sed -e 's|^/usr||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \
  -DCROSS_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../i686-pc-linux-gnu/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/../../../../i686-pc-linux-gnu/include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/include\" \
  -DSTD_PROTO_DIR=\"/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2\" \
  ../../gcc-2.95.2/gcc/protoize.c
In file included from /usr/include/stdio.h:57,
                 from ../../gcc-2.95.2/gcc/system.h:32,
                 from ../../gcc-2.95.2/gcc/protoize.c:60:
/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-2.95.2/gcc/system.h:32,
                 from ../../gcc-2.95.2/gcc/protoize.c:60:
/usr/include/stdio.h:182: parse error before `__filename'
/usr/include/stdio.h:185: parse error before `__filename'
/usr/include/stdio.h:232: parse error before `__stream'
/usr/include/stdio.h:236: parse error before `__stream'
/usr/include/stdio.h:251: parse error before `__stream'
/usr/include/stdio.h:254: parse error before `__format'
/usr/include/stdio.h:256: parse error before `__s'
/usr/include/stdio.h:260: parse error before `__s'
/usr/include/stdio.h:264: parse error before `__format'
/usr/include/stdio.h:267: parse error before `__s'
/usr/include/stdio.h:310: parse error before `__stream'
/usr/include/stdio.h:313: parse error before `__format'
/usr/include/stdio.h:315: parse error before `__s'
/usr/include/stdio.h:393: parse error before `__s'
/usr/include/stdio.h:428: parse error before `__s'
/usr/include/stdio.h:446: parse error before `__ptr'
/usr/include/stdio.h:449: parse error before `__ptr'
/usr/include/stdio.h:499: parse error before `__stream'
In file included from /usr/include/stdio.h:635,
                 from ../../gcc-2.95.2/gcc/system.h:32,
                 from ../../gcc-2.95.2/gcc/protoize.c:60:
/usr/include/bits/stdio.h:33: parse error before `__fmt'
/usr/include/bits/stdio.h: In function `vprintf':
/usr/include/bits/stdio.h:35: `__fmt' undeclared (first use in this function)
/usr/include/bits/stdio.h:35: (Each undeclared identifier is reported only once
/usr/include/bits/stdio.h:35: for each function it appears in.)
/usr/include/bits/stdio.h:35: `__arg' undeclared (first use in this function)
/usr/include/string.h: At top level:
In file included from ../../gcc-2.95.2/gcc/system.h:132,
                 from ../../gcc-2.95.2/gcc/protoize.c:60:
/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'
In file included from ../../gcc-2.95.2/gcc/system.h:145,
                 from ../../gcc-2.95.2/gcc/protoize.c:60:
/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: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:243: parse error before `__nptr'
/usr/include/stdlib.h: In function `strtod':
/usr/include/stdlib.h:245: `__nptr' undeclared (first use in this function)
/usr/include/stdlib.h:245: `__endptr' undeclared (first use in this function)
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:248: parse error before `__nptr'
/usr/include/stdlib.h: In function `strtol':
/usr/include/stdlib.h:251: `__nptr' undeclared (first use in this function)
/usr/include/stdlib.h:251: `__endptr' undeclared (first use in this function)
/usr/include/stdlib.h:251: `__base' undeclared (first use in this function)
/usr/include/stdlib.h: At top level:
/usr/include/stdlib.h:254: parse error before `__nptr'
/usr/include/stdlib.h: In function `strtoul':
/usr/include/stdlib.h:257: `__nptr' undeclared (first use in this function)
/usr/include/stdlib.h:257: `__endptr' undeclared (first use in this function)
/usr/include/stdlib.h:257: `__base' undeclared (first use in this function)
/usr/include/stdlib.h: At top level:
/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-2.95.2/gcc/system.h:189,
                 from ../../gcc-2.95.2/gcc/protoize.c:60:
/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'
In file included from ../../gcc-2.95.2/gcc/protoize.c:66:
/usr/include/dirent.h:161: parse error before `__dirp'
make[1]: *** [protoize.o] Error 1
make[1]: Leaving directory `/root/src/gcc-build/gcc'
make: *** [all-gcc] Error 2

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-20 18:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-20 18:05 gcc build problems. (error log attached) Jonathan Whiteman

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).