[comp.sys.hp] Problem with HPUX 7.05 cc and Motif 1.1.1

jimt@bcsfse.boing.com (Jim Tollefson) (05/09/91)

I am trying to compile the motif 1.1.1 source on a 9000/400t running
HPUX version 7.05.  I have X11R4 completely installed (includes, libs,
binaries) The error follows:

junior src/motif1.1.1 <163> make
making all in ./config...
making all in ./util...
making all in ./util/checkfn...
making all in ./util/scripts...
making all in ./util/makedepend...
making all in ./util/soelim...
making all in ./lib...
making all in ./lib/Xm...
making all in ./lib/Mrm...
	rm -f Mrminit.o
	cc -c -O   -I../../. -I. -I../../. -I../.././lib/Xt -I../.././lib  \
	   -Wc,- Nd4000,-Ns5300,-Ne700,-Np200,-Nw4000 -DSYSV -D_NO_PROTO \
	   -DMALLOC_0_RETURNS_NULL Mrminit.c
Mrminit.c: 186: no space
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

I am still fairly new to HPUX. But I have compiled this code on an
Apollo machine with no problems.  I have tried compiling this with out
the -O and without the all the -Wc stuff.  I still get the same
error.  I have plenty of disk space (approx 49 Meg free). 
 Any Ideas

Thanks much
JimT

-- 
Jim Tollefson                                         (206) 865-5980 (wk)
jimt@bcsfse.boeing.com                        ..!uunet!bcstec!bcsfse!jimt 
"UNIX was never designed to keep people from doing stupid things, because
 that policy would also keep them from doing clever things."  (Doug Gwyn)

milburn@me10.lbl.gov (John Milburn) (05/10/91)

In article <668@bcsfse.boeing.com> jimt@bcsfse.boing.com (Jim Tollefson) writes:
>	cc -c -O   -I../../. -I. -I../../. -I../.././lib/Xt -I../.././lib  \
>	   -Wc,- Nd4000,-Ns5300,-Ne700,-Np200,-Nw4000 -DSYSV -D_NO_PROTO \
>	   -DMALLOC_0_RETURNS_NULL Mrminit.c
>Mrminit.c: 186: no space

Line 186 is:
#include <Xm/ToggleBGP.h>

The problem is with cpp. From the man page:

         -Hnnn          Change the internal macro definition table to
                        be nnn bytes in size.  The macro symbol table
                        will be increased proportionately.  The
                        default table size is at least 128,000 bytes.
                        This option serves to eliminate "too many
                        defines" and "too much defining" errors.

Try adding -Wp,-H150000 to you compiler flags, increasing the table size.


-jem
--
John Milburn             milburn@me10.lbl.gov     (415) 486-6969
"The part I think I'd like best is crushing people who get in my way."