[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-source-2.6.11



On Tue, 22 Mar 2005 17:02:36 -0500, Andres Salomon wrote:

> On Tue, 22 Mar 2005 08:12:37 -0800, Steven Ihde wrote:
[...]
>> 
>> Hi,
>> 
>> I'm not able to compile 2.6.11-1 on i386.  It fails with the following
>> error:
>> 
>>   LD      drivers/scsi/built-in.o
>> ld: drivers/scsi/qla2xxx/built-in.o: No such file: No such file or
>> directory make[3]: *** [drivers/scsi/built-in.o] Error 1 make[2]: ***
>> [drivers/scsi] Error 2
>> make[1]: *** [drivers] Error 2
>> make[1]: Leaving directory `/usr/src/kernel-source-2.6.11' make: ***
>> [stamp-build] Error 2
>> 
>> 
[...]
>> It
> doesn't seem to matter which way CONFIG_QLA2XXX is set, the compile
>> still fails with the same error.  For some reason, CONFIG_QLA2XXX
>> defaulted to "y" when I did a "make oldconfig" with my 2.6.10
>> configuration.
>> 
>> 
> Hm, odd, it built fine for me.  Try a 'make mrproper', then run 'make
> oldconfig', and then disable CONFIG_QLA2XXX before starting the build.
> You may have just had the old deps lying around after you reconfigured.
> 
> 

This didn't help -- I even tried starting with a fresh tarball, 'make
oldconfig', remove CONFIG_SCSI_QLA2XXX, 'make-kpkg ...' and it still
failed.  I think because drivers/scsi/qla2xxx/Makefile is included but
empty, the kernel make system is assuming that a built-in.o must exist.

This doesn't explain why it built for you and not me -- probably it's
related to my .config.  I can post or email it upon request.


>> Removing the reference to qla2xxx in drivers/scsi/Makefile allows the
>> compile to complete.
>> 
>> 
> Hm, I'll have to play w/ it and add something that deletes empty
> makefile inclusions from parent directories to prune-non-free.  Thanks
> for reporting this.


It's probably also worthwhile to prune the Kconfig inclusions.
drivers/scsi/qla2xxx/Kconfig is still getting included too.  That enables
CONFIG_SCSI_QLA2XXX to default to Y.

Thanks,

Steve




Reply to: