From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653643321909.tru64-unix-managers.marc@archive.invalid> From: Sung Moon Kang Date: Thu, 22 Nov 2001 01:17:42 +0000 To: tru64-unix-managers Subject: Installing gcc 3.0.2 in v5.1A X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653643321909 Well, this seems to be a problem that has afflicted many others; unfortunately, I can't seem to dig up many summaries. After spending several hours, I finally managed to start copmiling gcc 3.0.2. I had to uninstall Compaq C Compiler v6.4, gcc/g++ v2.9-gnupro-99r1 (from the OS install CDs), and manually remove all remaining 'stuff' from previous gcc installs. I also installed automake 1.5 (altho I'm not sure if that helped any). Anyway, I found one suggestions from the listserv which seemed to help: I created a script file /sbin/as (chmoded properly to be executable) which basically says: #!/bin/sh /usr/bin/as -oldas $* Then I configured gcc with "../gcc-3.0.2/configure --with-as=/sbin/as". That goes fine. Then I use GNU Make 3.79.1 (executed as "gmake") to compile the programs. Everything seems to go fine, until I get: gmake: *** [backspace.o] Error 1 and everything errors out afterwards. I did some digging, and it seems that the fault is in: /build/alphaev56-dec-osf5.1/libf2c/libI77 If I use the Makefile there, I get: /temp/build/gcc/xgcc -B/temp/build/gcc/ -B/usr/local/alphaev5\ 6-dec-osf5.1/bin/ -B/usr/local/alphaev56-dec-osf5.1/lib/ -isystem /usr/local/al\ phaev56-dec-osf5.1/include -c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../.\ ./gcc-3.0.2/libf2c/libI77 -I.. -I../../../../gcc-3.0.2/libf2c/libI77/.. -DHAVE\ _CONFIG_H -g -mieee ../../../../gcc-3.0.2/libf2c/libI77/backspace.c In file included from ../../../../gcc-3.0.2/libf2c/libI77/fio.h:1, from ../../../../gcc-3.0.2/libf2c/libI77/backspace.c:4: /temp/build/gcc/include/stdio.h:241: parse error before "__va_list" /temp/build/gcc/include/stdio.h:242: parse error before "__va_list" /temp/build/gcc/include/stdio.h:243: parse error before "__va_list" gmake: *** [backspace.o] Error 1 This is where all this is pretty much ancient Greek to me, so I don't know what's wrong and how to go about fixing it. The machine I'm trying to install this on is a Digital Personal Workstation 433au running Tru64 UNIX v5.1A (Rev. 1885) (Patch Kit 3). I can't discount the possibility that I'm doing something *really* dumb. Please someone point that out to me if that is the case. Many thanx in advance.