[comp.unix.xenix] Bash Porting

simon@ms.uky.edu (G. Simon Gales) (10/19/89)

I'm trying to get bash (bourne again shell) to compile under Xenix, and 
I've discovered something strange.

shell.c (past of bash) includes <sys/file.h>, but it's not so easy...
Error messages from cc say that 'struct inode' is undefined.  So I include
<sys/inode.h> before including <sys/file.h>.  Now the error messages say
that 'struct file' is undefined.  Sort of a recursive definition, but 
this is from gnu who's own name is recursively defined....do I need gcc?

<sys/file.h> needs 'struct inode' defined.  It is defined in <sys/inode.h>
<sys/inode.h> needs 'struct file' defined.  It is defined in <sys/file.h>

If anyone has run into this before, I'd like to hear from you!
	Thanks beforehand,
		simon.


-- 
Simon Gales@The University of Kentucky
   simon@ms.uky.edu             | 'Fate... protects fools, little children,
   simon@UKMA.BITNET            |  and ships named Enterprise.' 
   {rutgers, uunet}!ukma!simon  |                           - Riker, ST:TNG