🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50024

gcc 2.5.4 MIPS/ULTRIX v4.3

#50024
From: Jay Vassos-Libove
Date: Sun, 28 Nov 1993 06:36
49 lines
2215 bytes
I just compiled gcc 2.5.4 on MIPS/ULTRIX v4.3 on a DECstation
5000/133.  The compile went fine; all the way through stage2
and "make compare", so I "make install"'ed and tried to
compile xv version 3.00a with the new gcc compiler...

It bombed out thus:

# make
( cd jpeg ; make CC='gcc -g -traditional' libjpeg.a )
./ansi2knr jcmaster.c tmpansi.c
gcc -g -traditional -O  -c tmpansi.c
In file included from jinclude.h:47,
                 from jcmaster.c:13:
/usr/local/lib/gcc-lib/mips-dec-ultrix4.3/2.5.4/include/sys/types.h:106: syntax error before `char'
(and similar errors for lines 107-111 and 117)

Here are lines 106-117 of that ....../types.h file:

 ...
typedef	volatile char		v_char;		/* line 106 */
typedef	volatile short		v_short;
typedef	volatile long		v_long;
typedef	volatile unsigned char	vu_char;
typedef	volatile unsigned short	vu_short;
typedef	volatile unsigned long	vu_long;

typedef
#ifdef __mips
	signed
#endif /* __mips */
		char	s_char;			/* line 117 */
 ...

Any ideas on why this is happenning? Did I use the wrong
compiler switches?  Did I miss something in the FAQ/README/
INSTALL documentation?

Thanks...
-Jay
libove@alf.dec.com
(Do not "R"eply to this message; this news posting host
does NOT know e-mail very well.)

--

Jay Vassos-Libove                  libove@alf.dec.com
Digital Equipment Corporation      decwrl!alf.dec.com!libove
Atlanta Customer Support Center    Opinions? They're mine, mine, all mine!
Alpharetta, Georgia                and D.E.C. Can't have 'em!
Technical Details
Message-ID: <LIBOVE.93Nov28063621@foobil.ilo.dec.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!caen!crl.dec.com!crl.dec.com!netnews.alf.dec.com!netnews.alf.dec.com!libove

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,902d7bf162509ff5,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-28 03:43:48 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!spool.mu.edu!caen!crl.dec.com!crl.dec.com!netnews.alf.dec.com!netnews.alf.dec.com!libove
From: libove@foobil.ilo.dec.com (Jay Vassos-Libove)
Newsgroups: gnu.gcc.help
Subject: gcc 2.5.4 MIPS/ULTRIX v4.3
Date: 28 Nov 93 06:36:21
Organization: Digital Equipment Corporation, Atlanta Customer Support Center
Lines: 49
Distribution: world
Message-ID: <LIBOVE.93Nov28063621@foobil.ilo.dec.com>
NNTP-Posting-Host: foobil.ilo.dec.com