🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Dave Greenberg Thu, 05 Nov 1992 04:02
stdio.h badly fixed in 2.3.1 on DGUX5.4.1?
#1268
Author: Dave Greenberg
Date: Thu, 05 Nov 1992 04:02
74 lines
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           |
_______________________________________________________________________
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads