Missing headers shapj@us.ibm.com
Tue, 29 Dec 1998 14:53:09 -0500

I have seen this too, and I'm bewildered. It does not occur in the Linux build, and I'ld dearly love to know why these files are getting deleted on FreeBSD. To answer your question, yes, I have checked this out and built from the checked out image. The only gap in the continuity is that I check it out on linux and then move it to my FreeBSD platform using 'tar' (the FreeBSD machine isn't configured to dial out at the moment).

If you check that directory (and probably others -- run cvs update in the base/ tree to be sure you catch them all), you will find that the files are indeed missing. If you then run 'cvs update', you will get them back, after which make install will do the right thing.

As near as I can tell, if the build gets interrupted the files get deleted. I do not know why. Or perhaps the BSD install program removes the source file once it is copied to the destination?

This definitely does *not* occur under Linux, and if you are able to track down the reason I'ld be very appreciative.

FYI if you wish to do a purely clean build you need to cd to eros/src and type 'make targdir-clobber'. This blows away all of the output directories, which ensures that everything gets installed again.

Given that this is a header problem, it's probably a good idea to say 'make nodepend' from eros/src to ensure that all of the automatic dependency generation gets redone.

Finally, assuming all goes well the '-k' is indeed not required.

shap

Ben Laurie <ben@algroup.co.uk> on 12/29/98 01:56:07 PM

To: "Jonathan S. Shapiro" <shap@eros.cis.upenn.edu>, Jonathan S

Shapiro/Watson/IBM
cc:
Subject: Re: In case it is useful

Jonathan S. Shapiro wrote:
>
> Here is the output of a 'script' session for a successful build of the
build/
> and base/ subtrees. I skipped the 'doc' tree. It occurred to me that if
> you knew what a successful build looked like you'ld have a better chance
> of determining what went wrong.

I still think there's something badly wrong...

Python now works (though I had to change the define from /usr/bin/python to just plain python), but I still get _tons_ of missing headers, starting here:

gmake[3]: Entering directory `/usr/home/ben/work/eros/src/base/sys/eros'

../../../build/lib/make/erosinstall -d /usr/home/ben/work/eros/include
../../../build/lib/make/erosinstall -d
/usr/home/ben/work/eros/include/eros
../../../build/lib/make/erosinstall -m 0644 target.h target-asm.h
Invoke.h NodeKey.h PageKey.h NumberKey.h ReturnerKey.h DevCreKey.h DeviceKey.h CkptKey.h ConsKbdKey.h ConsCreKey.h SchedCreKey.h Device.h Reserve.h DeviceDef.h KeyBitsKey.h NetInterfaceKey.h StdKeyType.h Key.h SleepKey.h DiscrimKey.h SegmentKey.h SegKeeperInfo.h SysTraceKey.h RangeKey.h setjmp.h endian.h memory.h stdarg.h TimeOfDay.h TimePage.h DomainToolKey.h DomCtlInfo.h Registers.h ProcStats.h CharSrcProto.h TtyKey.h DomainKey.h DomainState.h /usr/home/ben/work/eros/include/eros
install: target.h: No such file or directory
install: target-asm.h: No such file or directory
install: Invoke.h: No such file or directory
install: NodeKey.h: No such file or directory
install: PageKey.h: No such file or directory
install: NumberKey.h: No such file or directory
install: ReturnerKey.h: No such file or directory
install: DevCreKey.h: No such file or directory

and so on...

This may be a silly question, but have you actually checked out and built a copy of EROS with CVS?

BTW, why do we need to do "make -k install" instead of "make install"?

Cheers,

Ben.

--
Ben Laurie            |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben@algroup.co.uk |
A.L. Digital Ltd,     |Apache-SSL author     http://www.apache-ssl.org/
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache/