Path: utzoo!attcan!uunet!decwrl!wuarchive!cs.utexas.edu!rutgers!rochester!cornell!ken From: ken@gvax.cs.cornell.edu (Ken Birman) Newsgroups: comp.sys.isis Subject: Compiling spread.h under SUN OS 4.1 Message-ID: <46192@cornell.UUCP> Date: 24 Sep 90 12:43:20 GMT Sender: nobody@cornell.UUCP Reply-To: ken@cs.cornell.edu (Ken Birman) Distribution: comp Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 19 On a Sun 4/260, SunOS 4.1, running Openwindows, you'll get the following message when building ISIS: Found X11 library--building spreadsheet demo for X Version 11 make -f make_grid MCHDEPCFLAGS=-DNOSUNLWP -DBYPASS OPLIBS= OPTIM=-O3 spread yacc -d ../../demos/spreadparse.y; mv -f y.tab.c spreadparse.c conflicts: 11 shift/reduce cc -DNOSUNLWP -DBYPASS -DSUN4 -I../../include -I../../demos -c -O3 spreadparse.c cc -DNOSUNLWP -DBYPASS -DSUN4 -I../../include -I../../demos -c -O3 ../../demos/s pread.c "../../demos/spread.h", line 224: redeclaration of sprintf *** Error code 1 make: Fatal error: Command failed for target `spread.o' This arises because we run SUN OS 4.0 at Cornell and it seems that SUN OS 4.1 includes a definition of sprintf, which was previously lacking. Just take sprintf out of the list in spread.h around line 244 and it should build and run without problems.