Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!leah!narten From: narten@leah.Albany.Edu (Thomas Narten) Newsgroups: comp.windows.x Subject: Re: Building X11r4 on Sun OS 3.5 Message-ID: <2636@leah.Albany.Edu> Date: 2 Mar 90 12:21:19 GMT Organization: The University at Albany, Computer Services Center Lines: 16 In article <1338@sys.uea.ac.uk> gjr@sys.uea.ac.uk (Graham Reynolds CMP RA) writes: >I'm trying to build X11r4 (including fixes 1,2) for a Sun 3/60C on Sun OS 3.5 >and get this error during the make in mit/server/ddx/sun. >gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -c -O -I../../../. -I. >-I../mfb -I../mi -I../../include -I../../.././X11 -DXDMCP -DSHAPE -DMITSHM -DM >ULTIBUFFER -DMITMISC sunCG3C.c >sunCG3C.c:463: `CG3AC_MONOLEN' undeclared (first use this function) >*** Error code 1 We had the same problem and got around it by compiling sunCG3C.c (by hand) with -D_MAP_NEW. I don't know whether this is a "correct" fix, but since we don't have any CG3 devices on our sun3s, it didn't matter for us. The problem only exists in Sun OS 3.x; Sun OS 4.0 defines _MAP_NEW in one of the system header files. -- Thomas Narten narten@cs.albany.edu