home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!irfu.se!jhd
- From: jhd@irfu.se (Jan D.)
- Subject: Re: Compile problems (Motif 1.1.4 on HP730)
- Message-ID: <1992Aug22.090317.8108@irfu.se>
- Date: Sat, 22 Aug 1992 09:03:17 GMT
- References: <1992Aug22.050727.23493@ole.cdac.com>
- Organization: Swedish Institute of Space Physics, Uppsala, Sweden
- Keywords: motif, compile, errors
- Lines: 37
-
- In article <1992Aug22.050727.23493@ole.cdac.com> yanagida@ole.cdac.com (Bruce A. Yanagida) writes:
- >I am having a little trouble building the stock OSF/Motif 1.1.4 distribution
- >on my new HP730 machine running HPUX 8.07 with the unbundled C compiler.
- >Basically, it looks to me like the C preprocessor is choking on one of the
- >motif include files. Possibly it is getting into a infinite loop on one of
- >the defines in the file. Here's an excerpt from my make World log file:
- >
- >
- > cc -c +O1 -I../../. -I. -I../../. -I../.././lib/Xt -I../.././lib -DSYSV -D_NO_PROTO -DMALLOC_0_RETURNS_NULL Mrmicon.c
- > rm -f Mrminit.o
- > cc -c +O1 -I../../. -I. -I../../. -I../.././lib/Xt -I../.././lib -DSYSV -D_NO_PROTO -DMALLOC_0_RETURNS_NULL Mrminit.c
- >../.././lib/Xm/MwmUtil.h: 162: too much defining
- >../.././lib/Xm/MwmUtil.h: 163: too much defining
- >../.././lib/Xm/MwmUtil.h: 169: too much defining
- >../.././lib/Xm/MwmUtil.h: 170: too much defining
- >../.././lib/Xm/MwmUtil.h: 173: too much defining
- >../.././lib/Xm/MwmUtil.h: 180: too much defining
- >../.././lib/Xm/MwmUtil.h: 181: too much defining
- >../.././lib/Xm/MwmUtil.h: 198: too much defining
- >../.././lib/Xm/MwmUtil.h: 199: too much defining
- >../.././lib/Xm/MwmUtil.h: 202: too much defining
- >../.././lib/Xm/MwmUtil.h: 203: too much defining
- >../.././lib/Xm/MwmUtil.h: 211: too much defining
- >../.././lib/Xm/VendorEP.h: 80: no space
- >*** Error code 1
- >
-
- This also happens when compiling X11R5. The preprocessor has a limited space
- for the macro definition table. You can increase it's size with the -H
- option to cpp (see cpp(1)). Put something like this into your hp.cf:
-
- #define DefaultCCOptions -Wp,-H200000
-
- and your problem should go away (you may have to increase the number).
-
- Jan D.
-
-