Bash Porting
G. Simon Gales
simon at ms.uky.edu
Fri Oct 20 01:32:46 AEST 1989
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 at The University of Kentucky
simon at ms.uky.edu | 'Fate... protects fools, little children,
simon at UKMA.BITNET | and ships named Enterprise.'
{rutgers, uunet}!ukma!simon | - Riker, ST:TNG
More information about the Comp.unix.xenix
mailing list