home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / gcc / bug / 2626 < prev    next >
Encoding:
Text File  |  1992-11-07  |  3.2 KB  |  88 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: 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
  3. From: dgreenbe@sable.bio.dfo.ca (Dave Greenberg)
  4. Subject: stdio.h badly fixed in 2.3.1 on DGUX5.4.1?
  5. Message-ID: <9211051202.AA14414@sable.bio.dfo.ca>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Thu, 5 Nov 1992 04:02:08 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 75
  12.  
  13. I am having problems installing libg++ on my Data General AViiON 310.
  14. The problem seems to be with the "fixed" version of stdio.h as the same
  15. problem occurs in other ordinary c programs.
  16. I am running DGUX5.4.1  which uses gcc 1.96 as its C compiler.  DGUX5.4.2
  17. is expected soon and will include gcc 2.2.3 (DG's derivative of 2.2.2?).
  18. I have installed gcc-2.3.1 (obtained from prep.ai.mit.edu), without
  19. difficulty pretty much out of the box:
  20. i.e.
  21. eval `sde-target m88kbcs`
  22. ./configure --target=m88k-dgux5.4.1
  23. make LANGUAGES=c
  24. etc up to and including the make stage 3 compiler.
  25. make compare  gave no diagnostics,
  26. and I installed the stage 2 LANGEAGES="c c++ proto",
  27. finally I ran    make install-fixincludes.
  28.  
  29. In compiling libg++ I get the following:
  30.  
  31.         /usr1/local/bin/gcc -c -g -D_M88KBCS_TARGET -I. -I./../include
  32. -DUSG getopt.c
  33. In file included from getopt.c:37:
  34. /usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:594:
  35. parse error
  36. before `__va_list__'
  37. /usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:595:
  38. parse error
  39. before `__va_list__'
  40. /usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:596:
  41. parse error
  42. before `__va_list__'
  43. /usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:664:
  44. parse error
  45. before `__va_list__'
  46. /usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:665:
  47. parse error
  48. before `__va_list__'
  49. /usr/local/lib/gcc-lib/m88k-dg-dgux5.4.1/2.3.1/include/stdio.h:667:
  50. parse error
  51. before `__va_list__'
  52. *** Error code 1
  53.  
  54. Stop.
  55. *** Error code 1
  56.  
  57. Stop.
  58.  
  59.  
  60. If the offending stdio.h is removed from the 2.3.1 include directory (I
  61. assume this means that the 1.96 stdio.h is used) then the following
  62. error comes up when compiling my own stuff (I did not test libg++).
  63. (My own stuff compiles fine on the sparc version of 2.3.1 created from
  64. the same sources.)
  65.  
  66. undefined                       first referenced
  67.  symbol                             in file
  68. ___iob                              /usr/tmp/cca213801.o
  69. ld fatal: Symbol referencing errors. No output written to a.out
  70.  
  71.  
  72. I have been using 
  73. /usr1/local/bin/gcc -D_M88KBCS_TARGET to compile and test.
  74.  
  75. Any fixes, suggestions, obvious ommissions or even flames for missing
  76. the relevent parts somewhere in the documentation, greatfully received.
  77.  
  78. Dave
  79. -- 
  80. _______________________________________________________________________
  81. |David A. Greenberg                    email dgreenbe@sable.bio.dfo.ca|
  82. |Bedford Institute of Oceanography     OMNET c/o J.LODER              | 
  83. |P.O. Box 1006                         phone (902) 426-2431           | 
  84. |Dartmouth, Nova Scotia                fax   (902) 426-7827           | 
  85. |CANADA B2Y-4A2                        home  (902) 865-7511           |
  86. _______________________________________________________________________
  87.  
  88.