Article View: gnu.gcc.bug
Article #1268stdio.h badly fixed in 2.3.1 on DGUX5.4.1?
From: Dave Greenberg
Date: Thu, 05 Nov 1992 04:02
Date: Thu, 05 Nov 1992 04:02
74 lines
3365 bytes
3365 bytes
I am having problems installing libg++ on my Data General AViiON 310.
The problem seems to be with the "fixed" version of stdio.h as the same
problem occurs in other ordinary c programs.
I am running DGUX5.4.1 which uses gcc 1.96 as its C compiler. DGUX5.4.2
is expected soon and will include gcc 2.2.3 (DG's derivative of 2.2.2?).
I have installed gcc-2.3.1 (obtained from prep.ai.mit.edu), without
difficulty pretty much out of the box:
i.e.
eval `sde-target m88kbcs`
./configure --target=m88k-dgux5.4.1
make LANGUAGES=c
etc up to and including the make stage 3 compiler.
make compare gave no diagnostics,
and I installed the stage 2 LANGEAGES="c c++ proto",
finally I ran make install-fixincludes.
In compiling libg++ I get the following:
/usr1/local/bin/gcc -c -g -D_M88KBCS_TARGET -I. -I./../include
-DUSG getopt.c
In file included from getopt.c:37:
/usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:594:
parse error
before `__va_list__'
/usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:595:
parse error
before `__va_list__'
/usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:596:
parse error
before `__va_list__'
/usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:664:
parse error
before `__va_list__'
/usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:665:
parse error
before `__va_list__'
/usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:667:
parse error
before `__va_list__'
*** Error code 1
Stop.
*** Error code 1
Stop.
If the offending stdio.h is removed from the 2.3.1 include directory (I
assume this means that the 1.96 stdio.h is used) then the following
error comes up when compiling my own stuff (I did not test libg++).
(My own stuff compiles fine on the sparc version of 2.3.1 created from
the same sources.)
undefined first referenced
symbol in file
___iob /usr/tmp/cca213801.o
ld fatal: Symbol referencing errors. No output written to a.out
I have been using
/usr1/local/bin/gcc -D_M88KBCS_TARGET to compile and test.
Any fixes, suggestions, obvious ommissions or even flames for missing
the relevent parts somewhere in the documentation, greatfully received.
Dave
--
_______________________________________________________________________
|David A. Greenberg email dgreenbe@sable.bio.dfo.ca|
|Bedford Institute of Oceanography OMNET c/o J.LODER |
|P.O. Box 1006 phone (902) 426-2431 |
|Dartmouth, Nova Scotia fax (902) 426-7827 |
|CANADA B2Y-4A2 home (902) 865-7511 |
_______________________________________________________________________
Technical Details
Message-ID:
<9211051202.AA14414@sable.bio.dfo.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!ames!saimiri.primate.wisc.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sable.bio.dfo.ca!dgreenbeShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!ames!saimiri.primate.wisc.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sable.bio.dfo.ca!dgreenbe From: dgreenbe@sable.bio.dfo.ca (Dave Greenberg) Subject: stdio.h badly fixed in 2.3.1 on DGUX5.4.1? Message-ID: <9211051202.AA14414@sable.bio.dfo.ca> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 5 Nov 1992 04:02:08 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 75