Subject: Re: 19980623 build failure
To: Patrick Welche <prlw1@cam.ac.uk>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: current-users
Date: 06/24/1998 09:45:42
> > all ===> sbin/fsck_ext2fs
> > cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wpointer-arith  -
> > I/usr/src/sbin/fsck_ext2fs/../fsck -c /usr/src/sbin/fsck_ext2fs/inode.c
> > cc -O  -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
> > -Wpointer-arith  -
> > I/usr/src/sbin/fsck_ext2fs/../fsck -c /usr/src/sbin/fsck_ext2fs/pass5.c
> > In file included from /usr/src/sbin/fsck_ext2fs/pass5.c:51:
> > /usr/include/ufs/ext2fs/ext2fs_extern.h:40: opt_fifo.h: No such file or
> > director
> > y
> > *** Error code 1
> > 
> > Stop.
> 
> "me too" - though opt_fifo.h appears in the kernel compile directory,
> and copying it from there to /usr/include/ufs/ext2fs seems to work
> around the problem.

That's the "wrong answer".. 

I committed a fix to ext2fs_extern.h yesterday which wraps the include
of opt_fifo.h under #if defined(_KERNEL)&&!defined(_LKM)

You should delete the copy of opt_fifo.h from /usr/include/ufs/ext2fs
to prevent it from coming back later and biting you..

			      - Bill