home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9546 < prev    next >
Encoding:
Text File  |  1992-08-21  |  2.1 KB  |  49 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!irfu.se!jhd
  3. From: jhd@irfu.se (Jan D.)
  4. Subject: Re: Compile problems (Motif 1.1.4 on HP730)
  5. Message-ID: <1992Aug22.090317.8108@irfu.se>
  6. Date: Sat, 22 Aug 1992 09:03:17 GMT
  7. References: <1992Aug22.050727.23493@ole.cdac.com>
  8. Organization: Swedish Institute of Space Physics, Uppsala, Sweden
  9. Keywords: motif, compile, errors
  10. Lines: 37
  11.  
  12. In article <1992Aug22.050727.23493@ole.cdac.com> yanagida@ole.cdac.com (Bruce A. Yanagida) writes:
  13. >I am having a little trouble building the stock OSF/Motif 1.1.4 distribution
  14. >on my new HP730 machine running HPUX 8.07 with the unbundled C compiler.  
  15. >Basically, it looks to me like the C preprocessor is choking on one of the
  16. >motif include files.  Possibly it is getting into a infinite loop on one of
  17. >the defines in the file.  Here's an excerpt from my make World log file:
  18. >
  19. >
  20. >    cc -c +O1   -I../../. -I. -I../../. -I../.././lib/Xt -I../.././lib  -DSYSV -D_NO_PROTO -DMALLOC_0_RETURNS_NULL    Mrmicon.c
  21. >    rm -f Mrminit.o
  22. >    cc -c +O1   -I../../. -I. -I../../. -I../.././lib/Xt -I../.././lib  -DSYSV -D_NO_PROTO -DMALLOC_0_RETURNS_NULL    Mrminit.c
  23. >../.././lib/Xm/MwmUtil.h: 162: too much defining
  24. >../.././lib/Xm/MwmUtil.h: 163: too much defining
  25. >../.././lib/Xm/MwmUtil.h: 169: too much defining
  26. >../.././lib/Xm/MwmUtil.h: 170: too much defining
  27. >../.././lib/Xm/MwmUtil.h: 173: too much defining
  28. >../.././lib/Xm/MwmUtil.h: 180: too much defining
  29. >../.././lib/Xm/MwmUtil.h: 181: too much defining
  30. >../.././lib/Xm/MwmUtil.h: 198: too much defining
  31. >../.././lib/Xm/MwmUtil.h: 199: too much defining
  32. >../.././lib/Xm/MwmUtil.h: 202: too much defining
  33. >../.././lib/Xm/MwmUtil.h: 203: too much defining
  34. >../.././lib/Xm/MwmUtil.h: 211: too much defining
  35. >../.././lib/Xm/VendorEP.h: 80: no space
  36. >*** Error code 1
  37. >
  38.  
  39. This also happens when compiling X11R5. The preprocessor has a limited space
  40. for the macro definition table. You can increase it's size with the -H
  41. option to cpp (see cpp(1)). Put something like this into your hp.cf:
  42.  
  43. #define DefaultCCOptions       -Wp,-H200000
  44.  
  45. and your problem should go away (you may have to increase the number).
  46.  
  47.     Jan D.
  48.  
  49.