xfs
[Top] [All Lists]

Re: TAKE - Remove generated scsi files

To: Keith Owens <kaos@xxxxxxxxxxxxxxxxx>
Subject: Re: TAKE - Remove generated scsi files
From: Eyal Lebedinsky <eyal@xxxxxxxxxxxxxx>
Date: Thu, 11 Oct 2001 09:11:53 +1000
Cc: linux-xfs list <linux-xfs@xxxxxxxxxxx>
Organization: Eyal at Home
References: <13546.1002722413@xxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
Keith Owens wrote:
> 
> On Wed, 10 Oct 2001 23:30:31 +1000,
> Eyal Lebedinsky <eyal@xxxxxxxxxxxxxx> wrote:
> >Keith Owens wrote:
> >>
> >> Some generated scsi files had crept into the XFS repository.
> >>
> >> Date:  Tue Oct  9 19:56:33 PDT 2001
> >> Workarea:  sherman.melbourne.sgi.com:/build/kaos/2.4.x-xfs
> >>
> >> The following file(s) were checked into:
> >>   bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
> >>
> >> Modid:  2.4.x-xfs:slinx:104250a
> >> linux/drivers/scsi/53c8xx_u.h - 1.3
> >> linux/drivers/scsi/53c8xx_d.h - 1.5
> >> linux/drivers/scsi/sim710_d.h - 1.4
> >> linux/drivers/scsi/sim710_u.h - 1.2
> >
> >You sure they "crept in"? I built 2.4.11 just fine but 2.4.11-xfs
> >fails due to these files missing. The two .configs are identical
> >apart from some new XFS items.
> 
> All drivers/scsi/*_[ud].h files are generated.
> How does 2.4.11-xfs fail to build?

I build everything possible as a module.

gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-xfs/linux/include 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4  -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-xfs/linux/include/linux/modversions.h  
-c -o 53c7,8xx.o 53c7,8xx.c
53c7,8xx.c:1579: 53c8xx_d.h: No such file or directory
53c7,8xx.c:3056: 53c8xx_u.h: No such file or directory

OK, the Makefile is missing this dependency:
53c7,8xx.o:     53c8xx_d.h

Also, a 'make mrproper' does not remove these generated files. I think
that 2.4.11 leaves these alone.

I am pretty sure the generated files are present in the 2.4.11 tars.

--
Eyal Lebedinsky (eyal@xxxxxxxxxxxxxx) <http://samba.anu.edu.au/eyal/>


<Prev in Thread] Current Thread [Next in Thread>