Re: 5.10 build issue creating library for driver support.

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

 



Any ideas on a patch to fix it?

On Fri, Apr 30, 2021 at 10:04 PM David F. <df7729@xxxxxxxxx> wrote:
>
> The old 5.4 patch fixed the problem I had then which was linking with
> a library, this one is that it won't *create* the library.
>
> "No rule to make target '/path/to/sourcefile.o', needed by '/path/to/lib.a' Stop
>
> With 5.10 you get the above problem with 5.4 without the patch you can
> still create it, just can't link with it, with the patch it works
> perfectly.  So it's new in 5.10.
>
> Thanks!!
>
> On Sun, Apr 25, 2021 at 10:31 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
> >
> > On Sat, Apr 24, 2021 at 10:26 PM David F. <df7729@xxxxxxxxx> wrote:
> > >
> > > Hello,
> > >
> > > I moved to 5.10 from 5.4 now I have build problem:
> > >
> > > "No rule to make target '/path/to/sourcefile.o', needed by '/path/to/lib.a' Stop
> > >
> > > The build will build a small library file of shared driver support
> > > routines, but it doesn't appear the build will support a library
> > > anymore?  Is there a patch for that?
> > >
> > > There was a patch that fix a prior problem of linking to a lib.a file:
> > >
> > > Subject: Moving from 4.x to 5.4.22 breaks custom module build.
> > >
> > > Is there a fix for this new issue?
> > >
> > > Thanks.
> >
> >
> > I think you asked the same question before,
> > and you found a patch.
> >
> > https://patchwork.kernel.org/project/linux-kbuild/patch/20200106032324.3147-1-masahiroy@xxxxxxxxxx/#23088533
> > Doesn't this solve your problem?
> >
> > --
> > Best Regards
> > Masahiro Yamada



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux