Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!decwrl!ucbvax!THUMPER.BELLCORE.COM!nsb From: nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) Newsgroups: comp.soft-sys.andrew Subject: Puzzing 3100 Build problem Message-ID: Date: 9 Aug 90 16:10:24 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The Internet Lines: 29 Building Andrew on our 3100's has turned out to be much harder than on our Suns. The latest problem has me really stumped. in atk/basics/common, the compile dies trying to make region.o. The command it is using is: cc -Dvoid=int -G 0 "-Wl,-D,1000000" -c -I. -I/u/andrew/3100/include/atk -I/u/andrew/3100/include -I/usr/local/pkg/X11/include region.c The error mesage it produces, reliably, is: cpp: error region.c:219: missing endif Now, this doesn't make any sense at all. I've checked and all the if/endif pairs are balanced. In fact, all of the include files are IDENTICAL to what they were on the Sun, and yet the preprocessor thinks I've got a missing endif. Possibly there are some screwy #define's and #if's somewhere, but I can't find them. Oh, another piece of data: If I capture the preprocessor output with -E, on the sun4 it is 66 kilobytes, whereas on the 3100 it is only 17K. What turns out to be missing is everything from halfway though Xlib.h all the way through the end of region.eh. But the point at which stuff starts to be missing is NOT where there are any #ifdef's -- it's right after the definition of the XTimeCoord structure in Xlib.h. Has anyone else seen this problem? Can anyone tell me what's going on? I'm totally stumped. Thanks. -- Nathaniel