gjr@sys.uea.ac.uk (Graham Reynolds CMP RA) (03/02/90)
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. Can anyone suggest what I've got wrong for the build ? Thanks. ------------ rm -f sunCG3C.o 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: In function sunCG3CProbe: sunCG3C.c:463: `CG3AC_MONOLEN' undeclared (first use this function) sunCG3C.c:463: (Each undeclared identifier is reported only once sunCG3C.c:463: for each function it appears in.) sunCG3C.c:464: `CG3AC_ENBLEN' undeclared (first use this function) sunCG3C.c:480: `CG3BC_MONOLEN' undeclared (first use this function) sunCG3C.c:481: `CG3BC_ENBLEN' undeclared (first use this function) *** Error code 1 Stop. ------------ Graham Reynolds | JANET: gjr@uk.ac.uea.sys Modular Graphics | Internet: gjr%sys.uea.ac.uk@cunyvm.cuny.edu Systems Project | UUCP: gjr%sys.uea.ac.uk@ukc.uucp School of Information Systems, | BITNET: gjr%uk.ac.uea.sys@UKACRL UEA, Norwich, NR4 7TJ, UK. | Tel: +44-603-592319
narten@leah.Albany.Edu (Thomas Narten) (03/02/90)
-- Thomas Narten narten@cs.albany.edu
narten@leah.Albany.Edu (Thomas Narten) (03/02/90)
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