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