Path: utzoo!utgpu!cs.utexas.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!tuvie!iiasa!wnp From: wnp@iiasa.ac.at (wolf paul) Newsgroups: alt.sources.d Subject: Re: SPS Sun4-4.1 immediate compile failure Message-ID: <970@iiasa.UUCP> Date: 24 Nov 90 17:52:04 GMT References: <629@roo.UUCP> Sender: news@iiasa.AT Reply-To: wnp%iiasa@relay.eu.net (wolf paul) Organization: International Institute for Applied Systems Analysis, Laxenburg, Austria Lines: 27 In article <629@roo.UUCP> jukoff@parc.xerox.com () writes: >SPS Sun4-4.1 immediate compile failure. Has anyone made this work? > >% make -f Makefile.sun.4.1 >cc -DSUN -DBSD42 -DNFS -DVPRINTF -DKVM -DSUNOS40 -DSUNOS41 -Isys -c -O filecount >.c >"filecount.c", line 40: p_uarea undefined >"filecount.c", line 40: u_ofile_arr undefined >*** Error code 1 >make: Fatal error: Command failed for target `filecount.o' The first thing the Makefile does is to symlink /sys to ./sys, and this is shown in the (deleted) directory listing you posted. The two symbols you mention are defined in /sys/sys/proc.h and /sys/sys/user.h. The thing compiled and worked first try on our SparcStation 1+ running SunOS 4.1 -- just had to add vmstat.o to the list of objects -- for some reason it was missing. Thanks, Robert, for posting this. -- W.N.Paul, Int. Institute f. Applied Systems Analysis, A-2361 Laxenburg--Austria PHONE: +43-2236-71521-465 INTERNET: wnp%iiasa@relay.eu.net FAX: +43-2236-71313 UUCP: uunet!iiasa!wnp HOME: +43-2236-618514 BITNET: tuvie!iiasa!wnp@awiuni01.BITNET