* gcc 2.7.2.1 and sysmisc.h under DU4.0A
@ 1997-11-19 19:22 Fabrizio Bocchino
0 siblings, 0 replies; only message in thread
From: Fabrizio Bocchino @ 1997-11-19 19:22 UTC (permalink / raw)
To: tru64-unix-managers
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@oapa.astropa.unipa.it
90134 Palermo, ITALY http://www.astropa.unipa.it/~bocchino
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-11-19 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-19 19:22 gcc 2.7.2.1 and sysmisc.h under DU4.0A Fabrizio Bocchino
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox