Subject: Re: error during make
To: None <firstname.lastname@example.org>
From: Milos Urbanek <email@example.com>
Date: 05/07/2003 09:57:07
On Tue, May 06, 2003 at 03:42:18PM +0100, David Laight wrote:
> > biosboot/../../../../lib/libsa/stand.h:252: conflicting types for `ioctl'
> > biosboot/../../../../sys/ioctl.h:95: previous declaration of `ioctl'
> ioctl should come from stand.h
> One way to find out where ioctl.h is included from is to add a definition
> of ioctl() to the file before it can possible be included - then gcc
> will tell why in included the file.
> So add:
> int ioctl(int, int, char *);
> to the top of stand/lib/libsa/lfsv1.c and see where ioctl.h comes from.
Thanks! It helped. (the error was mea culpa; I have a little bit modified
ucred.h (#include socketvar.h etc..)