On Thu, 11 Oct 2007 13:05:32 +0200 Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote: > On Thu, Oct 11 2007 at 11:52 +0200, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > davem won't be happy > > > > drivers/fc4/fc.c: In function `fcp_scsi_receive': > > drivers/fc4/fc.c:397: error: structure has no member named `done' > > drivers/fc4/fc.c:450: error: structure has no member named `done' > > drivers/fc4/fc.c: In function `fcp_scsi_queuecommand': > > drivers/fc4/fc.c:837: error: structure has no member named `done' > > drivers/fc4/fc.c:838: error: structure has no member named `done' > > drivers/fc4/fc.c:839: error: structure has no member named `done' > > - > > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > > the body of a message to majordomo@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > OK that was a nice lesson in Kconfig and Linux-Makefile for me :) > > So I can see that drivers/fc4/Kconfig is only "source"d from > arch/sparc64/Kconfig. Hence no one experienced the breakage. > > [ > If I add to, say, drivrs/Kconfig > +source drivers/fc4/Kconfig > Than everything compiles and I can see the breakage now > ] Well if fc4.c compiles OK on non-sparc64 then perhaps we should enable compilation on non-sparc64. It will increase maintainability and code quality and stuff. otoh people might end up shipping useless drivers in x86 distros. > Do you have a cross-compiling environment to compile all these > ARCHs, or you actually have these machines laying around for > compilation. (It's the cross-compiling I'm interested in) There are a number of precompiled (by me) cross-compilers at http://userweb.kernel.org/~akpm/cross-compilers/ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html