[9652] in Athena Bugs
decmips 7.4G: C
daemon@ATHENA.MIT.EDU (Gilbert Leung)
Fri Jul 17 16:46:16 1992
To: bugs@Athena.MIT.EDU
Date: Fri, 17 Jul 92 16:46:05 EDT
From: Gilbert Leung <gleung@Athena.MIT.EDU>
System name: w20-575-85
Type and version: KN02ba 7.4G
Display type: PMAGB-BA
What were you trying to do?
I am trying to compile a library for the program XIM for
decmips architecture.
I am on the new 5000/133.
What's wrong:
[65] /mit/crldev/src/xim/decmipslib> make
cc -I/mit/x11/include -I/mit/visual/phils/include -O -DPPMLIB -c ppm_io.c
cpp: error ppm_io.c:177: index: macro recursion
cpp: error ppm_io.c:189: index: macro recursion
cpp: error ppm_io.c:190: index: macro recursion
cpp: error ppm_io.c:191: strchr: macro recursion
cpp: error ppm_io.c:192: index: macro recursion
cpp: error ppm_io.c:192: index: macro recursion
*** Error code 1
Stop.
Those lines don't contain any of the crab in the source code.
And I tried compiling it on a normal DEC 3100 and it compiled fine
there.....
What should have happened:
It should be compiled!!! like on a DEC 3100 :
[4] /mit/crldev/src/xim/decmipslib> make
cc -I/mit/x11/include -I/mit/visual/phils/include -O -DPPMLIB -c ppm_io.c
cc -I/mit/x11/include -I/mit/visual/phils/include -O -c ps_encode.c
.
.
.
(See no errors!!)
Please describe any relevant documentation references:
You can look at the source code yourself... but I don't know if it helps...
(the flag PPMLIB forces the compiler to
#include "ppm.h"
#include "ppmcmap.h"
from /mit/visual/phils/include
This must be related to the problem.. But I'm not sure why...