Re: compiling select modules with kernel 2.6.x

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

 



Greg,

I got one error with the ld command.  However, by using "make
SUBDIRS=drivers/block" I was able to get the driver to compile.  However,
"make drivers/block/cciss.o" does not work.  This may be due to not having
some of the other block modules compile, I'm not sure.  I am going to do a
regular build as well so that I can compare the object files I get from each
method.  However, the size seems to match so I think this worked.  Thank you
very much for all your help.

Thanks,
Chase
----- Original Message ----- 
From: "Greg KH" <greg@kroah.com>
To: <chase.maupin@sbcglobal.net>
Cc: "kernelnewbies" <kernelnewbies@nl.linux.org>
Sent: Saturday, April 10, 2004 11:50 AM
Subject: Re: compiling select modules with kernel 2.6.x


> On Sat, Apr 10, 2004 at 11:03:26AM -0500, chase.maupin@sbcglobal.net
wrote:
> > Greg,
> >
> > Thank you for getting back to me.  Yes I have tried this and
unfortunately I
> > get the error that there is "No rule to make target
drivers/block/cciss.ko".
> > I looked at the drivers/block/Makefile and the targe is listed as
> > "obj-$(CONFIG_BLK_CPQ_CISS_DA) += cciss.o.
>
> Are you sure your .config file is set up properly so that you can build
> the driver normally?
>
> What about just doing 'make SUBDIRS=drivers/block' ?
> If the driver builds that way, the way I specified should also work.
>
> Good luck,
>
> greg k-h


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux