home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / mail / elm / 3863 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  2.9 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!mcsun!sunic!corax.udac.uu.se!irfu.se!bt
  2. From: bt@irfu.se (Bo Thide')
  3. Newsgroups: comp.mail.elm
  4. Subject: Re: Problem compiling elm2.4.pl17
  5. Message-ID: <1992Dec24.173009.9257@irfu.se>
  6. Date: 24 Dec 92 17:30:09 GMT
  7. References: <BzMqGs.4un@fang.att.com> <1h7lguINN84d@dsinc.dsi.com>
  8. Organization: Swedish Institute of Space Physics, Uppsala, Sweden
  9. Lines: 62
  10.  
  11. In article <1h7lguINN84d@dsinc.dsi.com> syd@DSI.COM writes:
  12. >ebd@fang.att.com (Elliot B Dierksen) writes:
  13. >
  14. >>I am trying to compile Elm 2.4 PL17 on an AT&T 3B2/600 running SVR3.2.3.
  15. >>I am getting the following error message:
  16. >>    cd lib; make -b all
  17. >>    cd src; make -b all
  18. >>    cc  -O -I../hdrs    -c alias.c
  19. >>../hdrs/s_aliases.h: 107: too much defining
  20. >>../hdrs/s_aliases.h: 108: too much defining
  21. >>../hdrs/s_aliases.h: 109: too much defining
  22. >>../hdrs/s_aliases.h: 110: too much defining
  23. >>../hdrs/s_aliases.h: 111: too much defining
  24. >>../hdrs/s_aliases.h: 112: too much defining
  25. >>../hdrs/s_aliases.h: 113: too much defining
  26. >>../hdrs/s_aliases.h: 114: too much defining
  27. >>../hdrs/s_aliases.h: 115: too much defining
  28. >>../hdrs/s_aliases.h: 116: too much defining
  29. >>../hdrs/s_aliases.h: 117: too much defining
  30. >>../hdrs/s_aliases.h: 118: too much defining
  31. >>alias.c: 137: no space
  32. >>*** Error code 1
  33. >
  34. >>Stop.
  35. >>*** Error code 1
  36. >
  37. >>Stop.
  38. >
  39. >>What can I do to correct this? I had the same problem with earlier versions.
  40. >>Just applied patches 14-17 today.
  41. >
  42. >run a real compiler :-)
  43. >
  44. >I suggest you bag the limited origianl C compiler and see if you
  45. >can find one that can allow a large number of defines.  
  46. >
  47. >I don't think gcc has a 3b2 port, so you might be stuck.
  48. >-- 
  49. >========================================================================
  50. >Sydney S. Weinstein, CDP, CCP          Elm Coordinator - Current 2.4PL17
  51. >Datacomp Systems, Inc.                 Projected 3.0 Release: ??? ?,1994
  52. >syd@DSI.COM or dsinc!syd      Voice: (215) 947-9900, FAX: (215) 938-0235
  53.  
  54. Most likely this is not a compiler problem.  Or a problem/limitation at
  55. all.  It's in the cpp where the default define table size is exceeded.
  56. To see how to set it to something bigger, do:  "man cpp".  Fixed size cpp
  57. tables are often used to make cpp run faster on small/medum sized
  58. codes.  It's quite common and the prize you have to pay is to
  59. increase the size manually in cases of code with many #define's. 
  60. Typically yo use a 'cc' option such as '-Wp,-d,10000' (meaning:
  61. "Write to the preprocessor to increase the define table size to 10000").
  62.  
  63. I think this comes from the old 'pcc' from AT&T and the ancestor of many UNIX
  64. 'cc's
  65.  
  66. Bo
  67. -- 
  68.    ^   Bo Thide'----------------------------------------------Science Director
  69.   |I|        Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden
  70.   |R|    Phone: (+46) 18-303671.  Fax: (+46) 18-403100.  IP: 130.238.30.23
  71.  /|F|\          INTERNET: bt@irfu.se      UUCP: ...!mcvax!sunic!irfu!bt  
  72.  ~~U~~ ----------------------------------------------------------------sm5dfw-
  73.