cc / cpp problem on 3B2 600G ( 3.2.2 ) -- too many defines

Richard Meesters ram at attcan.UUCP
Wed Aug 8 00:21:22 AEST 1990


In article <8953 at arctic.nprdc.arpa>, apple at nprdc.navy.mil (Jim Apple) writes:
> 
> 	I have run into a problem with cpp on a 600G ( 3.2.2 )
> 	"too many defines".   I created some test files and it appears
> 	that there is a hard limit on the number of defines.  The size of
> 	both the name and value affect the number of defines that I can
> 	get.  Simple names and a value of 1 gives me around 1980 defines
> 	if I change the value to a string I'm down to 1200.



I also ran into this problem compiling, of all things, nethack sources.  There
is, however a fix, which should be available to you by calling the AT&T Support
Hotline (NSSC) at 1-800-245-2480.  The cause/symptom is as follows:

Symptom: too many defines

Cause: the number of #defines exceed the symbol table size:
        STATIC  struct symtab stab[ symsiz ];

The fix is a new cpp which contains an increased symsiz to handle a larger 
number of defines.

Unfortunately, unless you have source, you can't change it yourself.

Hope this helps,

Regards,

------------------------------------------------------------------------------
     Richard A Meesters                |
     Technical Support Specialist      |     Insert std.logo here
     AT&T Canada                       |
                                       |     "Waste is a terrible thing
     ATTMAIL: ....attmail!rmeesters    |      to mind...clean up your act"
     UUCP:  ...att!attcan!ram          |
------------------------------------------------------------------------------



More information about the Comp.sys.att mailing list