Path: utzoo!attcan!uunet!ns-mx!umaxc.weeg.uiowa.edu!williams From: williams@umaxc.weeg.uiowa.edu (Kent Williams) Newsgroups: comp.os.minix Subject: Re: Have you ever had this problem...? Message-ID: <918@ns-mx.uiowa.edu> Date: 13 Mar 90 15:55:10 GMT References: <4296@hub.UUCP> Sender: news@ns-mx.uiowa.edu Reply-To: williams@umaxc.weeg.uiowa.edu.UUCP (Kent Williams) Organization: U of Iowa, Iowa City, IA Lines: 39 In article <4296@hub.UUCP> mcm@peach.ucsb.edu (Marcelo C. Mourier) writes: >Hi there! Yo! > I'm having some trouble completing the 1.5.0 upgrade. I have success- > [stuff deleted] >>When make is processing kernel/system.c cpp complains with the following me- >ssage: > > "system.c", line 89: fatal error -- cannot find include file "protect.h" > "./proc.h", line 28: } missing > "./proc.h", line 28: ; missing > >However, file protect.h is indeed present and it has the correct crc. The >same thing happens while make is processing fs/misc.c, cpp complains with: > [more stuff deleted] This is a gotcha that I don't think anyone's posted a note about. The shar files try to include zero length proto.h files in a couple of directories. The shell misses the here-document-end line, and sucks up the rest of the next here-document into proto.h. If you look at proto.h in kernel and fs, you'll find that they contain other files (I don't remember which ones). Unpack them, do a rm proto.h ; touch proto.h to get the proper, zero length proto.h file in kernel and fs, and your problem goes away. Watch out for the binary files in the shell and make shars -- the 1.3 shell silently dies when you try to unpack them, and you need the patches that come after the binary files. I THINK you can edit out the binary files with elle. -- Kent Williams "We're One! All One! Exceptions Eternally? williams@umaxc.weeg.uiowa.edu None! Absolutely None!" - Dr. Bronner's Soap