Re: [yocto][meta-openembedded] How to properly build a lib package

2024-09-04 Thread Ola x Nilsson
On Thu, Aug 29 2024, Mikko Rapeli wrote: > Hi, > > On Wed, Aug 28, 2024 at 11:50:03AM +0200, Yann CARDAILLAC Pro wrote: >> Hi Mikko, >> >> Well without the RPROVIDES I get the following error when a package DEPENDS >> on it : >> >> ERROR: rj2d-com-1.1-r0 do_package_qa: QA Issue: /usr/bin/rj2d- c

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-29 Thread Mikko Rapeli
Hi, On Wed, Aug 28, 2024 at 11:50:03AM +0200, Yann CARDAILLAC Pro wrote: > Hi Mikko, > > Well without the RPROVIDES I get the following error when a package DEPENDS > on it : > > ERROR: rj2d-com-1.1-r0 do_package_qa: QA Issue: /usr/bin/rj2d- com > contained in package rj2d- com requires librj2d.

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-28 Thread Yann CARDAILLAC
Hi Mikko, Well without the RPROVIDES I get the following error when a package DEPENDS on it : ERROR: rj2d-com-1.1-r0 do_package_qa: QA Issue: /usr/bin/rj2d- com contained in package rj2d- com requires librj2d.so()(64bit), but no providers found in RDEPENDS:rj2d-com? [file-rdeps] The only solutio

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-07 Thread Mikko Rapeli
Hi, On Wed, Aug 07, 2024 at 04:14:29PM +0200, Yann CARDAILLAC Pro wrote: > Thanks Mikko, that was it indeed! I didn't test on target yet but it seems > ok so far! > > I'm still not sure about the librj2d.so()(64bit) though any idea? I would leave all RPROVIDES for bitbake etc automation to set.

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-07 Thread Yann CARDAILLAC
Thanks Mikko, that was it indeed! I didn't test on target yet but it seems ok so far! I'm still not sure about the librj2d.so()(64bit) though any idea? Yann CARDAILLAC, On Wed, Aug 7, 2024 at 3:19 PM Mikko Rapeli wrote: > Hi, > > On Wed, Aug 07, 2024 at 03:13:31PM +0200, Yann CARDAILLAC Pro w

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-07 Thread Mikko Rapeli
Hi, On Wed, Aug 07, 2024 at 03:13:31PM +0200, Yann CARDAILLAC Pro wrote: > Thanks for the fast reply! > > - The library is *not* pre-compiled, here's the makefile rule that produce > it : > > CFLAGS ?= -std=gnu99 -Wall -Wextra -Wno-parentheses -Wno-switch > > shared-lib: > $(CC) -fPIC -

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-07 Thread Yann CARDAILLAC
Thanks for the fast reply! - The library is *not* pre-compiled, here's the makefile rule that produce it : CFLAGS ?= -std=gnu99 -Wall -Wextra -Wno-parentheses -Wno-switch shared-lib: $(CC) -fPIC -c $(LDFLAGS) $(CFLAGS) rj2d.c $(CC) $(LDFLAGS) -shared -o librj2d.so.1 rj2d.o

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-07 Thread Mikko Rapeli
Hi, On Wed, Aug 07, 2024 at 10:47:57AM +0200, Yann CARDAILLAC via lists.yoctoproject.org wrote: > Hi all, > > I'm working on upgrading different yocto BSPs to scarthgap, I'm having an > error that I haven't seen. It's the one described here on stack overflow by > someone else: > > https://stack

Re: [yocto][meta-openembedded] How to properly build a lib package

2024-08-07 Thread Alexander Kanavin
Just about any recipe for libsomething in or-core. You need to find out what is happening that is special. Is it a prebuilt binary? Alex On Wed 7. Aug 2024 at 11.48, Yann CARDAILLAC via lists.yoctoproject.org wrote: > Hi all, > > I'm working on upgrading different yocto BSPs to scarthgap, I'm h