gcc 2.7.2.1 and sysmisc.h under DU4.0A

From: Fabrizio Bocchino <bocchino_at_oapa23.astropa.unipa.it>
Date: Wed, 19 Nov 1997 20:22:19 +0100

Hi!

there is a persistent error which I get each time I try
to compile certain sources with gcc 2.7.2.1 under DU4.0A
on a DEC alphaserver 2100 4/275.

That happens, for instance trying to compile ghostscript
5.03, but many other programs as well.

I have overcomed it using cc instead of gcc whenever is possible,
but I don't manage to understand if it is a gcc problem or
a real syntax error in the system include file sysmisc.h

Here is a typical log (a makefile is running here)

cd /pool30/francesco/MARX/marx_2.04-dist/jdfits/src/objs; gcc -c -g -O2 -fno-str
ength-reduce -Dunix -I. /pool30/francesco/MARX/marx_2.04-dist/jdfits/src/syscon
f.c
In file included from /usr/include/sys/timers.h:46,
                 from /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2.1/include/ti
me.h:167,
                 from /pool30/francesco/MARX/marx_2.04-dist/jdfits/src/jdfits.h:
22,
                 from /pool30/francesco/MARX/marx_2.04-dist/jdfits/src/sysconf.c
:14:
/usr/include/sys/sysmisc.h:100: parse error before `pthread_attr_t'
/usr/include/sys/sysmisc.h:100: warning: no semicolon at end of struct or union
/usr/include/sys/sysmisc.h:100: warning: no semicolon at end of struct or union
/usr/include/sys/sysmisc.h:102: warning: data definition has no type or storage
class
/usr/include/sys/sysmisc.h:103: parse error before `}'
/usr/include/sys/sysmisc.h:103: warning: data definition has no type or storage
class

The parse error in /usr/include/sys/sysmisc.h, line 100, repeat
itself in the same way when I compile other sources.

Needless to say, I have never modified the sysmisc.h file.
I am not a C programmer, but it seems there is nothing strange
at line 100 of sysmisc.h

Any hints?

-- 
Dr. Fabrizio Bocchino                                Tel +39-91-233254
Osservatorio Astronomico "G.S.Vaiana"                Fax +39-91-233444
Piazza del Parlamento 1         E-mail: bocchino_at_oapa.astropa.unipa.it
90134 Palermo, ITALY             http://www.astropa.unipa.it/~bocchino
Received on Wed Nov 19 1997 - 20:57:03 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT